Commit Graph

86 Commits

Author SHA1 Message Date
John Pavlicek
bbe9a64f87 Bug 1159725 - Links in markup-view attributes should open with middle-click; r=pbro 2015-07-07 13:40:00 +02:00
David Bryant
d986822259 Bug 1180314 - Screenshot parameter as single string. r=jryans
Developer Tools: Inspector -- screenshot command takes a CSS Selector as the target
object to be captured, but CSS Selectors can contain whitespace.  Added quotes
to make sure CSS Selector is treated as a single argument to the screenshot command.
2015-07-16 12:10:00 -04:00
Julian Descottes
eb82d20c8b Bug 968241 - Copy outerHTML using keyboard shortcut. r=pbrosset
Copy outerHTML of the currently selected node of the inspector.
Works for ELEMENT, DOCUMENT_TYPE and COMMENT node types.

- bound "copy" event in markup-view to copy outerHTML
- added doctypeString property to NodeFront in actors/inspector.js
- markup-view.js is also using this property now
- added mochitest with dedicated html
2015-07-02 22:43:19 +02:00
Avik Pal
16e5374381 Bug 1157789 - Add context menu items Expand All / Collapse to markup view. r=janx 2015-06-29 00:16:47 -07:00
Léon McGregor
71bd380801 Bug 1163332 - Add a 'screenshot this node' button to the inspector popup menu. r=pbrosset 2015-06-09 03:58:00 -04:00
Patrick Brosset
03753b11fd Bug 1122605 - Focus selected inspector node after user selection. r=bgrins 2015-05-21 15:41:53 +02:00
Patrick Brosset
1a28040232 Bug 1160972 - Minor code cleanup in inspector-panel.js for better consistency; r=miker 2015-05-04 14:11:26 +02:00
Patrick Brosset
0016a8a5bb Bug 1158822 - Link css url attributes to style-editor and js url attributes to debugger; r=jsantell
The node-attribute-parser now marks uris to css and js files as cssresource and jsresource.
Thanks to this, the inspector can open the corresponding files in the style-editor and
debugger rather than just opening a new tab with the source.
This makes use of 2 new toolbox methods: viewSourceInStyleEditor and viewSourceInDebugger.
2015-05-04 09:23:04 +02:00
Patrick Brosset
679fd5573c Bug 921102 - 4 - Tests for the open/copy links on markup-view attributes; r=bgrins 2015-05-02 23:00:13 +02:00
Patrick Brosset
42e723179f Bug 921102 - 3 - Open/copy markup-view attribute links; r=bgrins
This part adds contextual menu items that become enabled when
the user right clicks on an attribute that has a link.
Depending on the nature of the link, a new tab will be opened or a node
selected.
The user can also choose to copy the link in the clipboard.
2015-05-02 22:37:45 +02: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
Patrick Brosset
8aa34dd66d Bug 1152279 - Give the inspector sidebar a default size so it can be collapsed; r=miker 2015-04-21 15:29:49 +02:00
Jennifer Fong
7e45320712 Bug 901250 - Add scroll into view menu item for the inspector. r=bgrins 2015-04-17 11:03:24 -07:00
Patrick Brosset
6db45a36e4 Bug 1121528 - Avoid the inspector going blank when quickly navigating; r=bgrins
This prevents the WalkerActor from failing at handling various requests when
those requests are about DeaedNodes. Indeed, the async nature of the devtools
protocol means that the client could be asking for information about a node that
doesn't exist anymore because it was part of a page that was navigated away from.
The WalkerActor should know how to deal with such cases, so the patch adds a
number of early returns and a new test for them.
This helps avoiding the inspector-panel from going blank in some edge cases.
2015-04-17 12:09:58 +02:00
Brian Grinstead
8216c7e38f Bug 1153903 - Get rid of logspam during devtools talos test runs;r=pbrosset 2015-04-16 09:54:04 -07:00
Patrick Brosset
98cf1b0357 Bug 994055 - Part 1: Add a toggle sidebar panel button to the inspector. r=miker
This adds a new icon, next to the searchbox (like in the debugger) to expand
or collapse the sidebar panel in the inspector.
The state is *not* persisted yet when the toolbox is closed.
The button is hidden when the toolbox host switches to 'side'.
2015-04-03 16:39:33 +02:00
Sami Jaktholm
1a7bf533c3 Bug 1035140 - Split browser_inspector_menu-0?.js into multiple tests. r=pbrosset 2015-03-14 13:53:32 +02:00
Patrick Brosset
060620dc4d Bug 1101569 - Use the new allTabs menu sidebar in the inspector and netmonitor; r=vporof 2015-01-16 11:58:02 +01:00
Patrick Brosset
60c1284bc8 Bug 1101569 - Adds an allTabs menu to the sidebar widget; r=dcamp 2015-01-15 10:47:12 +01:00
Patrick Brosset
2aab49fd92 Bug 1105825 - 4 - Adds a simple animation inspector panel to the inspector sidebar; r=bgrins r=vporof 2015-01-10 19:51:46 +01:00
Patrick Brosset
07bb84f97c Bug 1105825 - Fix the toolbox/inspector/sidebar destroy sequence; r=past 2014-12-22 14:54:09 +01:00
Sami Jaktholm
eb638365c2 Bug 940542 - Use Promise.jsm instead of deprecated-sync-thenables in Inspector. r=pbrosset 2014-12-16 10:06:00 -05:00
Patrick Brosset
099ac63474 Bug 1104908 - 1 - Fix e10s intermittent browser_computedview_original-source-link.js; r=harth 2014-12-15 12:24:47 +01:00
Patrick Brosset
b53c7a05e7 Bug 1103993 - 3 - Only refresh the rule/computed views when active; r=bgrins r=ochameau 2014-12-10 09:09:19 +01:00
Heather Arthur
daf196bce6 Bug 886041 - Make the font inspector remotable; r=bgrins 2014-11-25 07:36:44 -08:00
fayolle-florent@orange.fr
1b02acfe41 Bug 1095521 - Implement more paste commands for the inspector panel. r=pbrosset 2014-11-22 08:48:00 +01:00
Heather Arthur
cc64e21eb1 Bug 1036409 - re-select last selected node after reload under e10s; r=pbrosset 2014-10-22 14:05:32 +02:00
Heather Arthur
6146c82d8d Bug 967201 - "Copy Unique Selector" doesn't place anything in the clipboard in e10s windows and Browser Toolbox". r=pbrosset 2014-10-16 16:31:00 +02:00
Brian Grinstead
8cb3638a5d Bug 920141 - Add support for inspecting anonymous content. r=pbrosset 2014-09-29 09:29:00 +02:00
Willian Gustavo Veiga
fde4193083 Bug 992679 - Context item to open split console and log element. r=harth 2014-09-05 15:50:00 +02:00
Alexandre Poirot
3748dbcf0f Bug 977043 - Fix inspector and add test for frame selection. r=pbrosset 2014-08-27 12:19:30 +02:00
Athena
4583b4edc7 Bug 977199 - Add aria-label "Markup View". r=bgrins, f=marcoz 2014-07-07 19:59:00 -04:00
Brian Grinstead
22ea0e46ac Bug 1038651 - Prevent inspector from breaking when reloading an SVG file;r=mratcliffe 2014-07-16 08:40:07 -05:00
Sami Jaktholm
1e130a282e 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
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
Vikneshwar
ee78456672 Bug 1003546 - Use Arrow function instead of bind(). r=fitzgen 2014-06-14 06:49:00 -04:00
Gorman Ho
33e009c412 Bug 993416 - Add "Paste Outer HTML" to the inspector context menu. r=bgrins 2014-04-26 21:59:43 -06:00
Paolo Amadini
6d99e32a9f 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
0445235b25 Bug 985555 - Fix inspector loading when browsing a tab history r=bgrins 2014-03-24 11:53:00 +01:00
Alexandre Poirot
d6dbbbdfe5 Bug 985555 - Prevent creating multiple markup view iframes when browsing in history. r=bgrins 2014-03-20 09:33:18 -04:00
Brandon Benvie
4520a9d6f2 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
26967f4282 Bug 976679 - Move event-emitter to toolkit. r=paul 2014-02-25 22:22:05 -06:00
Patrick Brosset
f2f2876836 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
4e80a68183 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
3112df3f5d Backed out changeset 18d70a3136f5 (bug 932896) for mochitest-other bustage on a CLOSED TREE 2014-02-05 11:36:02 +01:00
Paul Rouget
b0677e5fd5 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
dd27ff1d92 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
6c50b3a034 Bug 916443 - part 1 - Toolbox level remote highlighter [Australis], r=paul 2014-01-09 12:36:01 +01:00
Paul Rouget
c6a128e5f1 Bug 951658 - Kill the inspector front even if walker.release() failed. r=pbrosset 2013-12-18 12:41:28 -05:00
Brian Grinstead
a3ffa31ec7 Bug 934487 - Fix "TypeError: this.markup is undefined" in devtools b-c runs; r=pbrosset 2013-11-05 07:37:55 -06:00