Commit Graph

80 Commits

Author SHA1 Message Date
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Patrick Brosset
b0fc02b334 Bug 1166189 - ESLint configuration files for devtools; r=tromey
Adds a global .eslintrc file for all source files in /browser/devtools.
This file defines a set of global variables that are commonly used in
/browser/devtools code.
The files that import modules with Cu.import will need to define their
own globals as /* globals ... */ comments.
This file also defines the configuration for all the rules we want to
use.

This also adds a set of .eslintrc files, one per test directory in
/browser/devtools. Each of these files extend from one of 2 parent config
files: .eslintrc.xpcshell or .eslintrc.mochitest.
The parent config define the set of globals these types of tests have
access to (test runner functions, assertion functions, etc.).

Finally, this also adds .eslintrc files in /toolkit/devtools for code and
tests, which just extend from their counterparts in /browser/devtools.
2015-05-28 09:30:03 +02:00
Patrick Brosset
0d849bdbc4 Bug 1168077 - Remove remaining spidermonkey js specific syntax from browser/devtools; r=miker 2015-05-25 14:42:51 +02:00
ziyunfei
649e7033e4 Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Wes Kocher
5a7a219b3b Backed out changeset b09423cfc86b (bug 1098374) for dt orange 2015-04-20 15:40:48 -07:00
Michael Ratcliffe
b3033ebd45 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=harth,bgrins 2015-04-16 10:17:26 +01:00
Jordan Santell
11a3e3a081 Bug 1077464 - Wire console.profile/profileEnd to the new performance tool. Move most of the recording-model logic from the front end into the PerformanceFront and PerformanceActorConnection so it can manage recordings without the front end being viewed. r=vp,jryans,pbrosset 2015-04-14 08:58:58 -07:00
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Jordan Santell
0a33b16e7b Bug 1134082 - Fix uncaught promise exceptions in shader editor. r=vp 2015-02-18 15:25:00 -05:00
Vikneshwar
e808175ef1 Bug 1027246 - replaced function with function* for generators. r=fitzgen 2015-02-08 00:48:43 +00:00
Carsten "Tomcat" Book
d2c37b02d1 Backed out changeset 46cfe0a6aa6c (bug 1027246) for suspicion of causing dt test bustage on a CLOSED TREE 2015-02-10 13:55:51 +01:00
Vikneshwar
8699460a3b Bug 1027246 - replaced function with function* for generators. r=fitzgen 2015-02-08 00:48:43 +00:00
Tim Nguyen
294cfdf228 Bug 1019186 - Use new throbbers for DevTools UI. r=bgrins 2015-01-23 17:10:18 -08:00
Jeff Gilbert
ff27d5e387 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-15 15:40:39 -08:00
Carsten "Tomcat" Book
2e0fe7d467 Backed out changeset b5c6dd9423cf (bug 1109945) for gl2 test failures on a CLOSED TREE 2015-01-13 09:07:26 +01:00
Jeff Gilbert
ec409b7f23 Bug 1109945 - Rewrite shader/program handling. - r=kamidphish 2015-01-12 19:51:20 -08:00
J. Ryan Stinnett
99df2107de Bug 1058997 - Part 3c: Remove always allow init calls from tests. r=past 2014-12-01 22:55:56 -08:00
Michael Ratcliffe
c0df7c569e Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
Michael Ratcliffe
6080cad3f4 Backed out changeset 3500854d791b for test log breakage 2014-11-07 13:32:09 +00:00
Michael Ratcliffe
8fd5514ff9 Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
David Rajchenbach-Teller
025aa7fc8e Bug 1016387 - Whitelisting tests that leak Promise rejections (devtools). r=paul 2014-10-04 14:21:00 +02:00
Carsten "Tomcat" Book
affd3afe16 Backed out changeset 746989e4c8d1 (bug 1016387) for bc1/bc3 test failures 2014-10-10 10:41:25 +02:00
David Rajchenbach-Teller
78bbf1666a Bug 1016387 - Whitelisting tests that leak Promise rejections (devtools). r=paul 2014-10-04 14:21:00 +02:00
J. Ryan Stinnett
5757a721ea Bug 979536 - Part 5: Fix reopening graphics tools. r=vporof 2014-09-24 08:49:00 +02:00
Mark Hammond
0a6475fe1a Bug 1065355 (part 2) - get shadereditor tests working in e10s. r=pbrosset 2014-09-22 09:07:49 +10:00
Shu-yu Guo
40c62f33a5 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Alexandre Poirot
17fdf7ba08 Bug 1053805 - Tweak webgl,canvas and webaudio actors for frames selection. r=vp,past 2014-09-01 03:20:00 +02:00
Jordan Santell
02716f058d Bug 1046305 - Wait a frame before checking canvases in getPixel tests. r=vp 2014-07-30 15:24:00 -04:00
Carsten "Tomcat" Book
4a93c0e22e Merge mozilla-central to mozilla-inbound 2014-07-30 14:10:53 +02:00
Nathan Froyd
cedbc07ce0 Bug 1044162 - part 1 - make EXTRA_{PP_,}JS_MODULES communicate their installation path; r=mshal
This patch makes EXTRA_{PP_,}JS_MODULES similar in functionality to
TESTING_JS_MODULES: we indicate the path relative to
$(FINAL_TARGET)/modules with an appropriate hierarchy of paths.
2014-07-25 13:40:07 -04:00
Jordan Santell
44e0512aee Bug 1034295 - Add e10s support to shader editor. r=vp, r=jryans 2014-07-29 13:57:00 +02:00
Panos Astithas
a91c7de7b1 Replace mouseenter/leave events with mouseover/out in devtools for performance (bug 971203). r=vporof,pbrosset 2014-07-09 17:47:53 +03:00
Brian Grinstead
3a52fe6376 Bug 1031472 - Automatically reload all preferences in source editor. r=vporof,harth 2014-07-07 13:52:00 +02:00
Jim Blandy
39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Jordan Santell
93831ed512 Bug 1025950 - Add hooks into telemetry for the shader editor. r=vp, r=miker 2014-06-16 15:41:00 -04:00
Brian Grinstead
f68c98d5d6 Bug 942292 - DevTools themes - make the toolbars thinner. r=vporof
CLOSED TREE
2014-06-13 09:11:32 -05:00
Ed Morley
5bce7ed98c Backed out changeset 9fd9c035a76a (bug 942292) for making browser_canvas-frontend-slider-02.js fail 30-40% of the time 2014-06-13 18:45:27 +01:00
Brian Grinstead
07065a4833 Bug 942292 - DevTools themes - make the toolbars thinner;r=vporof 2014-06-13 09:11:32 -05:00
Ryan VanderMeulen
66b14f4f7d Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Michael Ratcliffe
4cc10271fe Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Panos Astithas
bcc3035268 Bug 991112 - Disable RDP logging for faster tests. r=vporof 2014-04-03 18:22:49 +03:00
Mark Hammond
d5b24aae08 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Victor Porof
44be8a9e11 Bug 917226 - Build a canvas inspection tool, r=rcampbell, jryans 2014-03-29 13:01:37 -04:00
Ed Morley
7b7e69675a Backed out changeset 894e40121370 (bug 917226) for browser-chrome failures; DONTBUILD since fixing commit message
CLOSED TREE
2014-03-27 19:09:29 +00:00
Ed Morley
94fd0585ad Backed out changeset 7b9fab28c591 (bug 917226) for incorrect commit message generated by qbackout; DONTBUILD 2014-03-27 19:07:31 +00:00
Victor Porof
1e99cd89c2 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 18:57:16 +00:00
Victor Porof
edb8b333ef Backed out changeset 882b91ce5a9f, as a relanding of Bug 917226, r=me 2014-03-27 12:24:00 -04:00
Ed Morley
773b2fdd6c Backed out changeset 894e40121370 (bug 917226) for mochitest-chrome failures 2014-03-27 16:11:59 +00:00
Victor Porof
8f4d59d943 Bug 917226 - Build a canvas inspection tool, r=rcampbell 2014-03-27 10:21:37 -04:00
J. Ryan Stinnett
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00