Commit Graph

201 Commits

Author SHA1 Message Date
Patrick Brosset
f1d01a44f9 Bug 1032801 - Avoid unhandled promise chain rejection in browser_inspector_pseudoClass_menu.js. r=jwalker 2014-07-01 06:32:00 +02:00
Michael Ratcliffe
ef15dad7fb Bug 1028609 - Disable browser/devtools/inspector/test/browser_inspector_infobar.js due to oranges r=me 2014-06-30 09:55:45 +01:00
Sami Jaktholm
ba9e7ff538 Bug 1024789 - Fix uncaught rejections in browser_toolbox_window_reload_target.js by cancelling asyncronous update of InspectorPanel._defaultNode if page navigates. r=pbrosset 2014-06-23 09:37:00 -04:00
Jim Blandy
4d6a633bba 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
Michael Ratcliffe
cbe5d2d41f Bug 1003569 - Hide node infobar when it is outside the viewport r=jwalker 2014-06-20 12:25:09 +01:00
Michael Ratcliffe
b64c6c1739 Bug 1020984 - Fix highlighter when transforms have width & height of 0 r=pbrosset 2014-06-20 13:32:32 +01:00
Birunthan Mohanathas
ec8396a564 Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin 2014-06-18 17:56:02 -07:00
Patrick Brosset
4b6956a7aa Bug 1025880 - Avoid highlighting the default selection when the page is reloaded or when the inspector is opened; r=miker 2014-06-17 13:50:41 +02:00
Vikneshwar
2f2adc483b Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Patrick Brosset
a77341d73c Bug 1014547 - Add a css transform highlighter to the style-inspector; r=bgrins 2014-06-13 16:27:10 +02:00
Patrick Brosset
e5a2798d4c Bug 1021571 - Stop sending mutations to the front when the walker is being destroyed. r=bgrins 2014-06-10 02:00:00 -04:00
Joe Walker
ea84d98c38 Bug 992309 - Don't leak gcli promise to other tests; r=mratcliffe 2014-06-09 15:16:26 +01:00
Michael Ratcliffe
3fd9bfb519 Bug 718250 - Add the dimensions of the node in the NodeInfobar r=jwalker 2014-06-04 16:38:41 +01:00
Michael Ratcliffe
21bb0cc62f Bug 969306 - Remove getQuads() polyfill now that getQuads has landed r=pbrosset 2014-06-03 13:12:55 +01:00
Patrick Brosset
7299945974 Backed out changeset 40f323c3c14e -- Style-editor completion broken 2014-05-22 10:44:35 +02:00
Patrick Brosset
cbde0ae529 Bug 835896 - First word in selector-search also matches classes and ids; r=harth 2014-05-16 14:06:12 +02:00
Brian Grinstead
57fe62ba5f Bug 1002280 - ID starting with numeric value crashes the devtools DOM inspector;r=jwalker,bholley 2014-05-09 09:58:26 -05:00
Gorman Ho
19ea92b182 Bug 993416 - Add "Paste Outer HTML" to the inspector context menu. r=bgrins 2014-04-26 21:59:43 -06:00
Paolo Amadini
60d8bb5bf9 Bug 995184 - Copy the legacy "promise.js" implementation from the Add-on SDK to devtools. r=past 2014-04-22 20:55:01 +01:00
Patrick Brosset
08b88e4cd1 Bug 988314 - Inspector test clean-up - Moved browser_inspector_changes.js to styleinspector; r=jwalker 2014-04-22 10:38:04 +02:00
Patrick Brosset
c459326f3a Bug 986284 - Intermittent browser_inspector_bug_952294_tooltips_dimensions.js; r=miker
--HG--
rename : browser/devtools/inspector/test/browser_inspector_bug_952294_tooltips_dimensions.js => browser/devtools/styleinspector/test/browser_styleinspector_tooltip-size.js
2014-04-18 10:17:22 +02:00
Patrick Brosset
0c2cc517a4 Bug 825410 - intermittent browser_inspector_pseudoclass_lock.js test failures; r=bgrins 2014-04-16 09:55:09 +02:00
Ryan VanderMeulen
5ccec8d240 Bug 996003 - Various devtools test manifest cleanups. r=miker 2014-04-15 08:03:53 -04:00
Paolo Amadini
5b838a54f7 Bug 995170 - Convert legacy uses of promise.js in devtools where this doesn't result in test failures. r=jwalker 2014-04-14 14:15:43 +01:00
Joe Walker
ffa9c6e99c Bug 984365 - Refactor and split out BuiltinCommands.jsm; r=mratcliffe,robcee,panos
BuiltinCommands.jsm was huge to avoid slowing things down by having many
modules loading.

To avoid splitting it up from slowing things down we want to delay loading
commands. Create [add|remove]ItemsByModule to allow us to lazily add modules,
and convert all command modules to use this.

Then break up BuiltinCommands into a set of files, for each command, and do
some refactoring to use JS files rather than JSMs and use "use strict".

--HG--
rename : browser/devtools/commandline/Commands.jsm => browser/devtools/commandline/commands-index.js
rename : browser/devtools/debugger/CmdDebugger.jsm => browser/devtools/debugger/debugger-commands.js
rename : browser/devtools/inspector/CmdInspect.jsm => browser/devtools/inspector/inspector-commands.js
rename : browser/devtools/responsivedesign/CmdResize.jsm => browser/devtools/responsivedesign/resize-commands.js
rename : browser/devtools/scratchpad/CmdScratchpad.jsm => browser/devtools/scratchpad/scratchpad-commands.js
rename : browser/devtools/styleeditor/CmdEdit.jsm => browser/devtools/styleeditor/styleeditor-commands.js
rename : browser/devtools/tilt/CmdTilt.jsm => browser/devtools/tilt/tilt-commands.js
2014-04-13 07:47:27 +01:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Alexandre Poirot
71d3f56a1f Bug 985555 - Fix inspector loading when browsing a tab history r=bgrins 2014-03-24 11:53:00 +01:00
Alexandre Poirot
d488948063 Bug 985555 - Prevent creating multiple markup view iframes when browsing in history. r=bgrins 2014-03-20 09:33:18 -04:00
Patrick Brosset
c14e98b58e Bug 966424 - Intermittent browser_bug765105_background_image_tooltip.js; r=jwalker 2014-03-19 10:11:34 +01:00
Brandon Benvie
e5e2242f22 Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell 2014-03-17 11:11:00 -07:00
Michael Ratcliffe
dabaac4db5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 21:27:10 +00:00
Michael Ratcliffe
43388cd236 Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
64701bba07 Bug 663778 - Tests: Charsets to utf-8 r=jwalker 2014-03-12 14:00:13 +00:00
Michael Ratcliffe
f07e0a7b5b Bug 663778 - Misc fixes r=pbrosset 2014-03-09 17:03:00 +00:00
Ryan VanderMeulen
991e5c8bc3 Backed out 6 changesets (bug 663778) for browser_dbg_listtabs-02.js leaks on a CLOSED TREE.
Backed out changeset cbd200206f9b (bug 663778)
Backed out changeset b0b74401e614 (bug 663778)
Backed out changeset df5255cffbfa (bug 663778)
Backed out changeset e6d0dd124356 (bug 663778)
Backed out changeset 134f77474941 (bug 663778)
Backed out changeset 456609873c5f (bug 663778)
2014-03-13 13:56:22 -04:00
Michael Ratcliffe
39a70a90a5 Bug 663778 - Use flag instead of pref for mozafterpaint switch and highlighter noautohide r=jwalker 2014-03-13 15:38:37 +00:00
Michael Ratcliffe
eb6c7c9e1d Bug 663778 - Changes to tests for box model highlighter r=jwalker 2014-03-12 14:01:31 +00:00
Michael Ratcliffe
ba611f6bd4 Bug 663778 - Tests: Charsets to utf-8 r=jwalker 2014-03-12 14:00:13 +00:00
Michael Ratcliffe
cb5ca97c1a Bug 663778 - Misc fixes r=pbrosset 2014-03-13 15:46:37 +00:00
Ryan VanderMeulen
207bbe9c63 Backed out changeset 20e22a0b38f6 (bug 966424) for mochitest-bc failures. 2014-03-12 15:23:21 -04:00
Patrick Brosset
f320ac7628 Bug 966424 - Fix intermittent failures in browser_bug765105_background_image_tooltip.js. r=jwalker 2014-03-12 13:14:18 -04:00
Michael Ratcliffe
8977fc22af Backing out bug 884796 HiDPI fix r=backout 2014-03-06 10:31:30 +00:00
Michael Ratcliffe
082d2b47aa Bug 884796 - Scale deltas in EventUtils.js::synthesizeWheel() on HiDPI screens r=robcee 2014-03-06 09:38:09 +00:00
Michael Ratcliffe
1b2b3fdef8 Bug 974056 - Add logging of devtools event emitter emit calls r=harth 2014-03-06 09:37:59 +00:00
Joe Walker
6fd91a613d Bug 933727 - Split gcli.jsm and use JS directly from gcli project; r=mratcliffe
* * *
Bug 933727 - Update Developer Toolbar to use promises and split out GCLI; r=mratcliffe
* * *
Bug 933727 - Update GCLI tests to use Task.spawn; r=mratcliffe
* * *
Bug 933727 - Update the Inspector to use split out GCLI; r=pbrosset
* * *
Bug 933727 - Update style editor to use split out GCLI; r=harth
* * *
Bug 933727 - Update Debugger to use split out GCLI; r=past
* * *
Bug 933727 - Update Profiler/Tilt/Scratchpad to use split out GCLI; r=valueof

--HG--
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref1.js
rename : browser/devtools/commandline/test/browser_cmd_pref.js => browser/devtools/commandline/test/browser_cmd_pref2.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli1.js
rename : browser/devtools/commandline/test/browser_gcli_cli.js => browser/devtools/commandline/test/browser_gcli_cli2.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion1.js
rename : browser/devtools/commandline/test/browser_gcli_completion.js => browser/devtools/commandline/test/browser_gcli_completion2.js
2013-09-03 12:20:27 +01:00
J. Ryan Stinnett
ca83343b85 Bug 976679 - Move event-emitter to toolkit. r=paul
--HG--
rename : browser/devtools/shared/event-emitter.js => toolkit/devtools/event-emitter.js
rename : browser/devtools/shared/test/browser_eventemitter_basic.js => toolkit/devtools/tests/mochitest/test_eventemitter_basic.html
2014-02-25 22:22:05 -06:00
Patrick Brosset
ac63b04c1c Bug 962647 - Nodes searched in the inspector selector-search box now appear correctly in the markup-view; r=harth 2014-02-25 16:33:57 +01:00
Masayuki Nakano
b3b19a9e2f Bug 969247 part.1 Remove or replace DOM_VK_ENTER and NS_VK_ENTER users r=smaug 2014-02-15 09:57:39 +09:00
Patrick Brosset
444c0bd823 Bug 962478 - Stop inspector's picker on devtools toolbox destroy, r=miker 2014-02-05 20:50:25 +01:00