Commit Graph

56 Commits

Author SHA1 Message Date
Alexandre Poirot
f35301fe79 Bug 977043 - Fix inspector and add test for frame selection. r=pbrosset 2014-08-27 12:19:30 +02:00
Athena
af35f40c3b Bug 977199 - Add aria-label "Markup View". r=bgrins, f=marcoz 2014-07-07 19:59:00 -04:00
Brian Grinstead
0c81c44d27 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
60397322ad 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
7e20285e70 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
Vikneshwar
62897f47c5 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Gorman Ho
736ac388e6 Bug 993416 - Add "Paste Outer HTML" to the inspector context menu. r=bgrins 2014-04-26 21:59:43 -06:00
Paolo Amadini
5824bdf058 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
Alexandre Poirot
7612f1f051 Bug 985555 - Fix inspector loading when browsing a tab history r=bgrins 2014-03-24 11:53:00 +01:00
Alexandre Poirot
a827f413c9 Bug 985555 - Prevent creating multiple markup view iframes when browsing in history. r=bgrins 2014-03-20 09:33:18 -04:00
Brandon Benvie
bdb7518950 Bug 943510 - Convert to Promise.jsm in the devtools framework. r=pbrosset, r=rcampbell 2014-03-17 11:11:00 -07:00
J. Ryan Stinnett
8b18eca111 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
96dfb60024 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
Patrick Brosset
bafde8f3c5 Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert 2014-02-05 11:53:46 +01:00
Carsten "Tomcat" Book
3d38247bdb Backed out changeset 18d70a3136f5 (bug 932896) for mochitest-other bustage on a CLOSED TREE 2014-02-05 11:36:02 +01:00
Paul Rouget
49bd82559c Bug 932896 - Retrieves image data from server for image tooltips and makes tooltip size a pref, r=jwalker,ttaubert 2014-02-05 10:02:52 +01:00
Patrick Brosset
742d8c2b57 Bug 964014 - Adds copy-image-data-uri option to images in the markup-view, r=harth 2014-01-30 17:33:53 +01:00
Patrick Brosset
bf502a47dd Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Paul Rouget
0d0b379772 Bug 951658 - Kill the inspector front even if walker.release() failed. r=pbrosset 2013-12-18 12:41:28 -05:00
Brian Grinstead
2f75f5bc76 Bug 934487 - Fix "TypeError: this.markup is undefined" in devtools b-c runs; r=pbrosset 2013-11-05 07:37:55 -06:00
Panos Astithas
46c55c5c1c Bug 932880 - Make targets oblivious to inspectors. r=bgrins 2013-10-31 21:09:40 +02:00
Brian Grinstead
c52ddd0b8b Bug 932880 - Fix a bunch of devtools test leaks. r=past 2013-10-31 17:49:37 -05:00
Brian Grinstead
d0fd168866 Bug 932880: Developer tools leak many windows until shutdown in browser-chrome tests. r=anton CLOSED TREE 2013-10-30 20:29:06 -05:00
Brian Grinstead
802c833161 Bug 895561 - 'Edit As HTML' option in the markup view - browser changes, r=jwalker 2013-10-24 08:41:03 -05:00
Patrick Brosset
7bdc7d22de bug 926325 - Refactored test to avoid js errors in test run; r=mikeratcliffe 2013-10-15 17:32:00 +02:00
Brian Grinstead
736af05702 Bug 911678 - Inspector - inline style rules do not populate the CSSRuleView immediately. r=miker 2013-10-15 07:09:49 -05:00
Patrick Brosset
fd839e0c8e Bug 922125 - Destroy markup, rule and computed views on navigation and unload. r=miker 2013-10-11 11:50:33 -04:00
Patrick Brosset
a9bed50479 Bug 848731 - Deleting nodes or container frames now resets the markup, highlighter, css views accordingly, r=paul 2013-10-02 02:14:00 +02:00
Wes Kocher
1e02f948e4 Merge fx-team to m-c 2013-09-24 20:06:37 -07:00
Patrick Brosset
79570be84a Bug 917448 - Avoids dead-object exceptions in markup-view due to delete iframe during load. r=paul 2013-09-23 09:04:01 -05:00
Brian Grinstead
83a8964d37 Bug 911678 - Inspector - inline style rules do not populate the CSSRuleView immediately. r=miker 2013-09-23 09:58:29 -05:00
Carsten "Tomcat" Book
1fc20ea7ab Backed out changeset f9fd3a1b03ed (bug 911678) for suspicion of causing nearly perma-orange on OSX Mochi-Browser Chome Tests 2013-09-24 10:26:07 +02:00
J. Ryan Stinnett
7bdb0c2892 Bug 914403 - Part 3: Clear selection on remote inspector destuction. r=paul 2013-09-16 19:28:53 -05:00
Dave Camp
c79761d8c2 Bug 909121 - Inspector breaks when navigating backwards. r=bgrinstead 2013-09-09 08:11:22 -07:00
Paul Rouget
a280f4502a Bug 912915 - Implement a simple generic highlighter. r=jwalker 2013-09-07 11:39:50 +02:00
Patrick Brosset
c34bc71499 Bug 879578 - Re-select last selected node when page is reloaded; r=paul
Done at inspector-panel level, this module is not reloaded and is
therefore used now to record the last node (unique css selector)
that has been selected as well as the URL of the page where it has
been selected.
On page reload, an attempt is made to re-select it, otherwise, the
logic implemented previously is executed.
2013-09-06 10:19:35 +01:00
Dave Camp
3388edbad4 Bug 910243 - Disable font inspector on remote targets. r=paul
--HG--
extra : rebase_source : e923c9b112a7e64cc58796114a24ea8382b92ca1
2013-08-12 07:43:19 -07:00
Dave Camp
083c360416 Bug 903573 - Get a reference to the style actor in the inspector panel. r=mratcliffe 2013-08-08 08:44:56 -07:00
Brian Grinstead
6a6c8609e5 Bug 891556 - Add Ctrl-Shift-C (Cmd-Opt-C) shortcut to toggle highlighting; r=jwalker 2013-08-02 11:28:37 -07:00
Paul Rouget
ae62ca3544 Bug 898918 - many files have wrong mode-lines in comments. r=robcee 2013-08-01 10:53:31 +02:00
Dave Camp
0257b1904b Bug 896267 - Only create one walker actor per tab. r=harth 2013-07-19 11:21:40 -07:00
Dave Camp
b5fb0893c9 Bug 888527 - Delete nodes using the remote protocol. r=paul 2013-06-17 06:52:55 -07:00
Dave Camp
5fa1124809 Bug 879523 - Remote the SelectorSearch. r=paul 2013-06-10 21:18:46 -07:00
Dave Camp
53542234bf Bug 888486 - Use the remote protocol to copy innerHTML/outerHTML. r=paul 2013-06-17 06:52:55 -07:00
Dave Camp
7b496f774f Bug 888484 - Save the default inspection node. r=paul 2013-06-17 06:52:54 -07:00
Dave Camp
7cd2124b27 Bug 886032 - Port the markup view to the inspector actor (readonly). r=paul
--HG--
extra : rebase_source : f33acb5d1d70fa8c18410ede8c2ab73fc3482495
2013-06-10 21:18:46 -07:00
Panos Astithas
698b809ffe Rename Promise to promise to avoid collisions with the forthcoming DOM Promise implementation (bug 885318); r=jwalker 2013-07-11 10:12:20 +03:00
Dave Camp
201d4622da Bug 886036 - Port pseudoclass lock to the inspector actor. r=harth
--HG--
extra : rebase_source : c515e1a85da5d484686e1ae8b55c4dbfd90f214f
2013-06-10 21:18:46 -07:00
Dave Camp
ef61965785 Bug 879520 - Remote the inspector breadcrumbs. r=paul 2013-06-07 14:33:39 -07:00
Dave Camp
41f96a13b0 Bug 877320 - Expose a node front in the Selection object in addition to a raw node. r=paul 2013-06-07 14:32:32 -07:00