Commit Graph

219 Commits

Author SHA1 Message Date
Willian Gustavo Veiga
1f43d27f2a Bug 992679 - Context item to open split console and log element. r=harth 2014-09-05 15:50:00 +02:00
Alexandre Poirot
90522f63bd Bug 977043 - Fix inspector and add test for frame selection. r=pbrosset 2014-08-27 12:19:30 +02:00
Gijs Kruitbosch
a44fae6d32 Bug 991757 - add telemetry for the context menu, r=mconley,bgrins,f=bwinton 2014-08-14 20:44:59 +02:00
Sami Jaktholm
8a0c23b116 Bug 1054732 - MarkupView tests: Use head.js once method instead of calling inspector.walker.once. Walker uses SDK-events that, unlike EventEmitter, require listener and do not support promises. r=pbrosset 2014-08-17 06:07:00 -04:00
Pierre de La Morinerie
75fa1f3ac5 Bug 971959 - Fix z-ordering of DevTools toolbar buttons. r=bgrins 2014-08-03 03:44:00 -04:00
Jayesh Choudhari
db748e586e Bug 993445 - Highlight nodes on hover of breadcrumbs. r=pbrosset, r=bgrins 2014-07-30 15:46:00 -04:00
Nathan Froyd
4246e6b6ea 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
Trevor Saunders
0cdb19dabd bug 1036694 - merge nsIMarkupDocumentViewer into nsIContentViewer r=smaug 2014-07-09 17:27:49 -04:00
Athena
b9bc6fbe9d Bug 977199 - Add aria-label "Markup View". r=bgrins, f=marcoz 2014-07-07 19:59:00 -04:00
Michael Ratcliffe
1f3e49f334 Bug 994732 - Make "Disable Cache" in Devtools persist (only when the toolbox is open) r=jwalker, r=pbrosset 2014-07-17 10:39:56 +01:00
Patrick Brosset
0d71b8765b bug 1034601 - Enable devtools/markupview tests with e10s; r=bgrins 2014-07-16 22:17:30 +02:00
Brian Grinstead
096b7d0f20 Bug 1038651 - Prevent inspector from breaking when reloading an SVG file;r=mratcliffe
--HG--
rename : browser/devtools/inspector/test/browser_inspector_reload.js => browser/devtools/inspector/test/browser_inspector_reload-01.js
2014-07-16 08:40:07 -05:00
Sami Jaktholm
d7c2bb1939 Bug 1037280 - Inspector: Wait for toolbox to be destroyed before ending test run. r=pbrosset 2014-07-11 00:54:00 -04:00
Michael Ratcliffe
cf7da6026b Bug 1032721 - Re-enable browser_inspector_infobar.js when oranges are fixed r=pbrosset
--HG--
rename : browser/devtools/inspector/test/browser_inspector_infobar.js => browser/devtools/inspector/test/browser_inspector_infobar_01.js
2014-07-12 20:20:28 +01:00
Sami Jaktholm
93d31fcec7 Bug 851349 - Fix intermittent failures in disabled test browser_inspector_search-navigation.js and re-enable it. r=pbrosset 2014-07-10 22:00:00 +02:00
Sami Jaktholm
0c47a62798 Bug 988314 - Rename Inspector tests and supporting documents. r=pbrosset
--HG--
rename : browser/devtools/inspector/test/browser_inspector_bug_817558_delete_node.js => browser/devtools/inspector/test/browser_inspector_delete-selected-node-01.js
rename : browser/devtools/inspector/test/browser_inspector_bug_848731_reset_selection_on_delete.js => browser/devtools/inspector/test/browser_inspector_delete-selected-node-02.js
rename : browser/devtools/inspector/test/browser_inspector_destroyselection.js => browser/devtools/inspector/test/browser_inspector_delete-selected-node-03.js
rename : browser/devtools/inspector/test/browser_inspector_bug_840156_destroy_after_navigation.js => browser/devtools/inspector/test/browser_inspector_destroy-after-navigation.js
rename : browser/devtools/inspector/test/browser_inspector_cmd_inspect.js => browser/devtools/inspector/test/browser_inspector_gcli-inspect-command.js
rename : browser/devtools/inspector/test/browser_inspector_basic_highlighter.js => browser/devtools/inspector/test/browser_inspector_highlighter-01.js
rename : browser/devtools/inspector/test/browser_inspector_highlighter.js => browser/devtools/inspector/test/browser_inspector_highlighter-02.js
rename : browser/devtools/inspector/test/browser_inspector_bug_674871.js => browser/devtools/inspector/test/browser_inspector_highlighter-03.js
rename : browser/devtools/inspector/test/browser_inspector_bug_958456_highlight_comments.js => browser/devtools/inspector/test/browser_inspector_highlighter-comments.js
rename : browser/devtools/inspector/test/browser_inspector_iframeTest.js => browser/devtools/inspector/test/browser_inspector_highlighter-iframes.js
rename : browser/devtools/inspector/test/browser_inspector_bug_699308_iframe_navigation.js => browser/devtools/inspector/test/browser_inspector_iframe-navigation.js
rename : browser/devtools/inspector/test/browser_inspector_bug_665880.js => browser/devtools/inspector/test/browser_inspector_inspect-object-element.js
rename : browser/devtools/inspector/test/browser_inspector_bug_672902_keyboard_shortcuts.js => browser/devtools/inspector/test/browser_inspector_keyboard-shortcuts.js
rename : browser/devtools/inspector/test/browser_inspector_bug_962478_picker_stops_on_destroy.js => browser/devtools/inspector/test/browser_inspector_picker-stop-on-destroy.js
rename : browser/devtools/inspector/test/browser_inspector_bug_961771_picker_stops_on_tool_select.js => browser/devtools/inspector/test/browser_inspector_picker-stop-on-tool-change.js
rename : browser/devtools/inspector/test/browser_inspector_pseudoclass_lock.js => browser/devtools/inspector/test/browser_inspector_pseudoclass-lock.js
rename : browser/devtools/inspector/test/browser_inspector_pseudoClass_menu.js => browser/devtools/inspector/test/browser_inspector_pseudoclass-menu.js
rename : browser/devtools/inspector/test/browser_inspector_dead_node_exception.js => browser/devtools/inspector/test/browser_inspector_remove-iframe-during-load.js
rename : browser/devtools/inspector/test/browser_inspector_bug_650804_search.js => browser/devtools/inspector/test/browser_inspector_search-01.js
rename : browser/devtools/inspector/test/browser_inspector_bug_831693_combinator_suggestions.js => browser/devtools/inspector/test/browser_inspector_search-02.js
rename : browser/devtools/inspector/test/browser_inspector_bug_831693_input_suggestion.js => browser/devtools/inspector/test/browser_inspector_search-03.js
rename : browser/devtools/inspector/test/browser_inspector_bug_831693_searchbox_panel_navigation.js => browser/devtools/inspector/test/browser_inspector_search-navigation.js
rename : browser/devtools/inspector/test/browser_inspector_select_last_selected.js => browser/devtools/inspector/test/browser_inspector_select-last-selected.js
rename : browser/devtools/inspector/test/browser_inspector_bug_958169_switch_to_inspector_on_pick.js => browser/devtools/inspector/test/browser_inspector_switch-to-inspector-on-pick.js
rename : browser/devtools/inspector/test/browser_inspector_bug_922125_destroy_on_navigate.js => browser/devtools/inspector/test/browser_inspector_update-on-navigation.js
rename : browser/devtools/inspector/test/browser_inspector_breadcrumbs.html => browser/devtools/inspector/test/doc_inspector_breadcrumbs.html
rename : browser/devtools/inspector/test/browser_inspector_destroyselection.html => browser/devtools/inspector/test/doc_inspector_delete-selected-node-01.html
rename : browser/devtools/inspector/test/browser_inspector_bug_848731_reset_selection_on_delete.html => browser/devtools/inspector/test/doc_inspector_delete-selected-node-02.html
rename : browser/devtools/inspector/test/browser_inspector_cmd_inspect.html => browser/devtools/inspector/test/doc_inspector_gcli-inspect-command.html
rename : browser/devtools/inspector/test/browser_inspector_bug_958456_highlight_comments.html => browser/devtools/inspector/test/doc_inspector_highlighter-comments.html
rename : browser/devtools/inspector/test/browser_inspector_highlighter.html => browser/devtools/inspector/test/doc_inspector_highlighter.html
rename : browser/devtools/inspector/test/browser_inspector_infobar.html => browser/devtools/inspector/test/doc_inspector_infobar.html
rename : browser/devtools/inspector/test/browser_inspector_menu.html => browser/devtools/inspector/test/doc_inspector_menu.html
rename : browser/devtools/inspector/test/browser_inspector_dead_node_exception.html => browser/devtools/inspector/test/doc_inspector_remove-iframe-during-load.html
rename : browser/devtools/inspector/test/browser_inspector_bug_831693_search_suggestions.html => browser/devtools/inspector/test/doc_inspector_search-suggestions.html
rename : browser/devtools/inspector/test/browser_inspector_bug_650804_search.html => browser/devtools/inspector/test/doc_inspector_search.html
rename : browser/devtools/inspector/test/browser_inspector_select_last_selected.html => browser/devtools/inspector/test/doc_inspector_select-last-selected-01.html
rename : browser/devtools/inspector/test/browser_inspector_select_last_selected2.html => browser/devtools/inspector/test/doc_inspector_select-last-selected-02.html
2014-07-09 06:21:00 +02:00
Sami Jaktholm
e7c4eec569 Bug 988314 - Clean up and rewrite Inspector tests to use Task.jsm and generators. r=pbrosset 2014-07-08 02:29:00 +02:00
Sami Jaktholm
67c9ba7640 Bug 1035126 - Remove a legacy inspector test browser_inspector_tree_height.js. r=pbrosset 2014-07-07 04:06:00 +02:00
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