Commit Graph

63 Commits

Author SHA1 Message Date
Alexandre Poirot
0939709730 Bug 1190452 - Always import toolkit/devtools/server/main.js as CommonJS module. r=jryans 2015-08-10 05:38:56 -07:00
Alexandre Poirot
8c0e5c90ec Bug 1188401 - Expose require out of Loader.jsm and use it. r=jryans 2015-08-06 05:38:10 -07:00
Alexandre Poirot
3abe243350 Bug 1182194 - Use DevToolsUtils module instead of JSM. r=jwalker 2015-07-28 08:03:17 -07:00
Tom Tromey
5acaf7f263 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-24 07:01:00 -04:00
Ryan VanderMeulen
99eb81305b Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
d5e041af26 Bug 1148593 - Create async stack in callback objects. r=bz, r=fitzgen 2015-07-17 07:48:00 -04:00
J. Ryan Stinnett
7e2158acc2 Bug 1178851 - Move testing flag to DevToolsUtils. r=ochameau 2015-07-02 04:56:57 -05:00
Jan Odvarko
3a645f68dc Bug 859058 - Export content of the Network panel as HAR; r=jsantell, r=jlongster 2015-06-03 17:31:35 +02: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
f88e9e52f2 Bug 1167945 - Remove spidermonkey specific JS from canvasdebugger; r=jryans 2015-05-24 14:44:02 +02:00
Christoph Kerschbaumer
4701bd2e1a Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Christoph Kerschbaumer
3c253c09de Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Tooru Fujisawa
22a3f8a30f Bug 1102219 - Part 5: Replace more String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09: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
Jordan Santell
d9a58344f8 Bug 1134778 - Consolidate usages of view sourcing in tools with a source-utils module. r=vp,jryans 2015-04-24 14:16:34 -07: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
Panos Astithas
a936ed870b Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Wes Kocher
cd434fb4d3 Bug 1135403 - Add files that apparently didn't get added when I imported the patch CLOSED TREE r=me 2015-02-25 15:42:27 -08:00
Jordan Santell
ab8418a9a6 Bug 1135403 - Test that canvas debugger handles scenario where there is an animation cycle, but no draw calls or canvas. r=vp 2015-02-25 15:22:29 -08:00
Jordan Santell
af3521aa85 Bug 1134876 - Clicking an in-progress recording snapshot will no longer throw an error. r=vp 2015-02-25 14:58:37 -08:00
Jordan Santell
d3d7e077d5 Bug 985488 - Allow canvas debugger to time out and stop recording frames. Canvas debugger 'wait' style now matches other media styles. Update labels in canvas debugger to explicitly state that it's waiting for rAF cycles, rather than appearing as if something went wrong. r=vporof 2015-02-23 18:46:00 +01:00
Jordan Santell
9b0141d724 Bug 978948 - Add animation generator support for setTimeout in the canvas debugger. r=vp 2015-02-23 17:26:56 -08:00
Jordan Santell
fc9ed1d0e5 Bug 1122766 - Fix canvas debugger to continue recording frames until one with a draw call. r=vp 2015-02-21 11:56:00 -05:00
Christoph Kerschbaumer
294558fe22 Bug 1115193 - Make JS callers of ios.newChannel call ios.newChannel2 in browser/devtools (r=vporof) 2015-02-10 20:48:36 -08:00
Brian Grinstead
78ac1b7e2c Bug 1121110 - Add a shared.properties file for localizing strings used across tools;r=vporof 2015-01-28 11:57:27 -08:00
Aaron Raimist
da5470f9f0 Bug 1042619 - Change 'width x height' letter x to a multiplication sign in devtools frontend. r=bgrins 2015-01-26 14:36:00 -05:00
Tim Nguyen
294cfdf228 Bug 1019186 - Use new throbbers for DevTools UI. r=bgrins 2015-01-23 17:10:18 -08:00
Joel Maher
f0d4c17c58 Bug 1041500 - Enable run-by-dir mode for mochitest-devtools. r=RyanVM
CLOSED TREE
2015-01-15 10:00:00 -05:00
Brian Grinstead
3d796bc0fb Backed out changeset 291e3a83a122 (bug 1042619) 2015-01-13 12:25:57 -08:00
Aaron Raimist
412c9b490e Bug 1042619 - Change 'width x height' letter x to × in devtools frontend;r=bgrins 2015-01-13 11:59:01 -08:00
Eddy Bruël
690563a8c8 Bug 1118801 - Handle uncaught promise rejections in the canvas debugger;r=vporof 2015-01-09 14:03:46 +01:00
Patrick Brosset
a0bed8de74 Bug 1099370 - Avoid toolbox shutdown hang when ending canvasdebugger tests. r=vporof 2014-12-23 01:43:00 -05:00
Victor Porof
4f59ec81b6 Bug 1106137 - Make canvas debugger faster by avoiding a double-copy operation when deserializing image data, r=pbrosset 2014-12-09 10:57:53 -05: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
James Long
edda82574b Bug 905700 - use Debugger.Source in the debugger backend and reference source actors instead of URLs in the frontend r=fitzgen 2014-11-25 15:02:39 -08:00
Jordan Santell
2bd91dfb92 Bug 1058879 - enable browser_canvas-actor-test-10.js for e10s. r=vp 2014-10-29 13:03:00 +01:00
Mark Hammond
b3d1b7f419 Bug 1058879 - enable most canvasdebugger tests in e10s. r=pbrosset 2014-09-25 17:54:54 +10:00
J. Ryan Stinnett
5757a721ea Bug 979536 - Part 5: Fix reopening graphics tools. r=vporof 2014-09-24 08:49:00 +02: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
Brian Grinstead
643991053d Bug 1058879 - Skip canvasdebugger tests for e10s. r=vporof 2014-08-26 13:25:00 -04:00
Pierre de La Morinerie
835d944f38 Bug 971959 - Fix z-ordering of DevTools toolbar buttons. r=bgrins 2014-08-03 03:44:00 -04: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
Victor Porof
fdab403e55 Bug 1041225 - Generating a screenshot is very slow when the content canvas has obnoxious dimensions, r=rcampbell 2014-07-22 12:43:24 -04:00
Victor Porof
c43010f1e1 Bug 1041158 - Properly cleanup the framebuffer binding after generating a screenshot from a webgl context, r=rcampbell 2014-07-22 12:43:24 -04:00
Victor Porof
5a57c6a2ae Bug 1041237 - The bitmask enums flags calculation for getBitToEnumValue is flawed, r=jsantell 2014-07-22 12:43:23 -04:00
Jordan Santell
081e564f08 Bug 1015665 - Do not store function calls in CallWatcherActor unless needed. r=vp 2014-07-01 14:25:00 +02:00
Jordan Santell
f934f57ad3 Bug 978964 - Display combined bitmask values in the canvas debugger. r=vp 2014-06-30 14:12:00 +02:00
Jordan Santell
9b67b97973 Bug 999687 - Only show enum names in canvas debugger for appropriate method and arguments. r=vp 2014-06-27 12:09: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