Commit Graph

4869 Commits

Author SHA1 Message Date
Brian Grinstead
2504216bac Bug 1145784 - Use testX/testY for coordinates during tests for the Graph and FlameGraph;r=vporof 2015-05-05 11:47:33 -07:00
Brian Grinstead
c287573c66 Bug 1145784 - Bind graph mouse movement to the top level window;r=vporof 2015-05-05 11:47:29 -07:00
Jordan Santell
8593e43ebd Bug 1159052 - Performance recording should stop rendering and recording as soon as the recording stops. r=vp 2015-05-02 16:47:41 -07:00
Gabriel Luong
6b46f2c695 Bug 1158506 - [rule view] Filter styles should handle escape keycode correctly r=bgrins 2015-05-04 14:11:07 -07:00
Patrick Brosset
92856897c5 Bug 1155653 - Preview animation target nodes in animationinspector panel; r=bgrins
This adds a generic walker method that cna be used to retrieve AnimationPlayerActor's
target DOM nodes in a way that they can be highlighted/selected later in the inspector.
Making the AnimationPlayerActor return the nodeActor directly wouldn't fully work, as
the walker would have missed the missing parent nodeFronts updates.
On the UI, this adds a new component in each PlayerWidget that displays a preview of the
target DOM nodes, highlight them on hover, and select them on click.

--HG--
extra : rebase_source : dfbf459d9de14233f125d028cf81f6b934941ea2
2015-05-04 13:55:51 +02:00
Jordan Santell
9a66a38e46 Bug 1145187 - Add a Poller utility object for togglign on polling functions. r=jryans 2015-05-04 11:46:30 -07:00
Brian Grinstead
0f28ad5f92 Bug 1046803 - Use normal whitespace in editor pre tags. r=pbrosset 2015-04-28 16:15:00 -04:00
juliandescottes
685e912029 Bug 999568 - Bring devtools window to front on F12. r=pbrosset
Two keyboard shortcuts can toggle the devtools : F12 and CTRL+SHIFT+I/CMD+ALT+I.

Currently, with detached devtools, pressing a toggle key from the main window
closes the devtools window. Pressing a toggle key from the devtools window
itself has no effect.

The goal of this changeset is to :
- focus devtools window when pressing a toggle key in the main window
- close devtools window when pressing a toggle key in the devtools window

Modified toggleToolboxCommand in browser/devtools/framework/gDevTools.jsm to
destroy the toolbox only if it is "docked" (exists and the hostType is not
WINDOW).

Modified browser/devtools/framework/toolbox-window.xul and
browser/locales/en-US/chrome/browser/devtools/toolbox.dtd so that F12 and
CTRL+SHIFT+I/CMD+SHIFT+I also close the devtools window when used inside the
devtools window

Added mochitest browser_toolbox_toggle.js
2015-04-30 22:51:07 +02:00
Florent Fayolle
51fab772f2 Bug 922212 - Add console.dirxml. r=bgrins, r=mrbkap 2015-04-29 11:34:00 -04:00
Patrick Brosset
eb37c89c88 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.

--HG--
extra : rebase_source : fcca4fe73c147381c1fcccda4f7956c8d41b4c2b
extra : histedit_source : 84cda2275b42bd6196243a83e9f129f3c66faa6b%2C0ee06929ac85dfeafdd5ee66d842e32fc5395578
2015-05-04 09:23:04 +02:00
Patrick Brosset
7337cb49cd Bug 921102 - 4 - Tests for the open/copy links on markup-view attributes; r=bgrins
--HG--
extra : rebase_source : 7b27344f7a10816649f0a22e3fd3dd111e5d573f
extra : histedit_source : d03061e861ce17e73c9bbca15b9e62fbeed11e9e
2015-05-02 23:00:13 +02:00
Patrick Brosset
3a5e7d4a71 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.

--HG--
extra : rebase_source : 00128a076003ebac34096d81d9e326bee6631259
extra : histedit_source : c1d67e84e9d57280040e5831233df523fff904e2
2015-05-02 22:37:45 +02:00
Patrick Brosset
10665e2af7 Bug 921102 - 2 - Markup-view tests for attribute links; r=miker
--HG--
extra : rebase_source : 79226c5f6ef41713afaaff2621f6c817acca7cc3
extra : histedit_source : 3dc761cd2a6c29ad90305e8d0063c16666eea078
2015-04-28 15:04:19 +02:00
Patrick Brosset
1c419b6fdf Bug 921102 - 1 - Linkify URIs in the inspector; r=tromey, miker
This first part adds a parser for node attributes which, given some node
information and an attribute name, generates a small AST-like array of
objects that tells which parts of the attribute (if any) are links, and
what they link to.
Using this, the markup-view generates the right HTML structure to display
these parts as links.
This part 1 doesn't yet allow users to follow these links.

--HG--
extra : rebase_source : 2db11afb148ece3918adbf908536a29b7867882a
extra : histedit_source : 3aac6ec878e2e57f2a1f06ab4a322db95eb5b3be
2015-04-30 10:43:04 +02:00
Jordan Santell
d7d4d70a86 Bug 1159480 - Pull out actor-specific logic from Performance Front. r=vp 2015-04-28 17:19:15 -07:00
Brian Grinstead
109f1ff513 Bug 1160345 - Set toolbox button visibility before consulting with the GCLI actor (which may not be available on old servers);r=jryans 2015-05-01 13:01:38 -07:00
Mike Conley
8d4c817e24 Bug 1160217 - Wait for resize to complete in browser_responsiveuiaddcustompreset.js before sampling inner dimensions of content. r=jryans.
--HG--
extra : rebase_source : 4b4428a2cbd7b60fbc0c0fdffb34cadf0e8d7fb0
2015-04-30 13:35:14 -04:00
Jordan Santell
da1e3f37c0 Bug 1160332 - Correctly check that the mouse is active in graphs to clean up rerender jank, a rebase error from 1157914. r=vp 2015-04-30 20:33:00 -04:00
Patrick Brosset
ec1a68ea7b Bug 1158781 - Make sure attributes gets focused when clicked in the inspector. r=bgrins
This used to work fine, but regressed when bug 1153635 got fixed.
This fixes the issue and introduces a new test to prevent further regressions.

--HG--
extra : transplant_source : %A5Y%B5%9B%11u%F5p%9B%DA%FA%99%3F%D9%E5%3C%5Ex%AF.
2015-04-29 17:05:37 +02:00
Nick Fitzgerald
d77e5da60e Bug 1147604 - Inverted call trees should list (root) as leaves. r=jsantell 2015-04-28 11:59:00 -04:00
Jennifer Fong
341e5e185b Bug 971967 - Clear sidebar on console refresh. r=bgrins 2015-04-30 09:49:00 -04:00
Jordan Santell
66deded1e3 Bug 1150696 - Move all timeline tests that are still relevent into the performance tools tests. r=vp
--HG--
rename : browser/devtools/performance/test/browser_timeline_blueprint.js => browser/devtools/performance/test/browser_timeline-blueprint.js
rename : browser/devtools/performance/test/browser_timeline_filters.js => browser/devtools/performance/test/browser_timeline-filters.js
rename : browser/devtools/timeline/test/browser_timeline_waterfall-generic.js => browser/devtools/performance/test/browser_timeline-waterfall-generic.js
2015-04-30 12:23:11 -07:00
Jordan Santell
dfad5f9db9 Bug 1157523 - Fix intermittent where markers are selected in the waterfall views when there is no recording selected. r=vp 2015-04-30 16:03:43 -07:00
Jordan Santell
1402297ff2 Bug 1156499 - Disable all non-profiler/fps components in the performance tools when in aurora, for 40.0 release. r=vp 2015-04-30 15:13:49 -07:00
J. Ryan Stinnett
37939734bc Bug 1159083 - Pass XAUTHORITY to Linux simulators. r=janx 2015-04-30 15:37:05 -07:00
Nick Fitzgerald
180120e392 Bug 1157914 - Don't re-render the graphs until selection is done; r=jsantell 2015-04-30 15:21:11 -07:00
Ryan VanderMeulen
5e083ec726 Merge fx-team to m-c. a=merge 2015-04-30 13:45:40 -04:00
Jordan Santell
6066e36c67 Bug 1158645 - Calculate FPS in performance tool by counting frames over duration, rather than averaging values of reported framerate timestamps. r=vp 2015-04-29 13:53:19 -07:00
Fabrice Desré
5c9a3c2266 Bug 1114676 - Enable web components for all apps when toggling developer mode r=ochameau 2015-04-29 17:12:20 -07:00
Wes Kocher
10fec54e1c Merge fx-team to m-c a=merge CLOSED TREE 2015-04-29 16:46:00 -07:00
Wes Kocher
1e2b02f650 Merge inbound to m-c a=merge CLOSED TREE 2015-04-29 16:43:32 -07:00
Tooru Fujisawa
0edbeb71c8 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
e1db0f779e 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
Ryan VanderMeulen
659b2a4f94 Merge m-c to b2g-inbound. a=merge 2015-04-28 15:40:15 -04:00
Ryan VanderMeulen
dc34386c9f Merge inbound to m-c. a=merge 2015-04-28 15:27:26 -04:00
Fabrice Desré
6ec37a4c83 Bug 1157893 - Create a toggle for developer mode r=ochameau 2015-04-28 10:28:36 -07:00
Gabor Krizsanits
05e8ecba11 Bug 982319 - Unzipping response boddies in network monitor when needed. r=ochameau 2015-04-29 10:18:27 +02:00
Brian Grinstead
6b0d5ba3f0 Bug 1159276 - Prevent showing the source context menu if the breakpoint context menu is also going to be shown;r=jlongster 2015-04-28 14:10:08 -07:00
Jan Keromnes
fbaf1d4482 Bug 1150715 - Implement "Copy Request/Response Headers" context menu items. r=jsantell 2015-04-28 07:58:00 -04:00
Tim Nguyen
42a52b8b3d Bug 1023546 - DevTools - Support HDPI resolutions for Windows. r=bgrins 2015-04-28 07:30:00 -04:00
Jennifer Fong
3e0ad865ca Bug 1135191 - Add runtime panel with toggle. r=jryans 2015-04-27 14:19:00 -04:00
Nick Fitzgerald
d3d505bee3 Bug 1069910 - Add tooltips explaining what each column in the profiler's tree view represents; r=jsantell 2015-04-27 13:50:41 -07:00
Patrick Brosset
5aebb401b0 Bug 1153463 - Intermittent browser_animation_setting_currentTime_works_and_pauses.js. r=miker
The failing test was rewinding a player and expecting it to pause at 0.
But rewing first pauses (async) and then sets the time (async), and the test
was only waiting for the player to pause.
With this change, we now also wait until the time is the expected one.

--HG--
extra : transplant_source : %23BU%CB%F3%3A%A8%226hWIw%E8VI%3A%94%A4V
2015-04-27 11:01:47 +02:00
Sami Jaktholm
210b181f29 Bug 1148086 - Style Editor: Don't jump to the first line unconditionally when an editor is shown. r=bgrins
This overrides the jump-to-line other tools might have requested if the editor
was not already active. The idea was to restore the scroll position after the
editor was hidden and then shown again but the functionality regressed when bug
816967 was fixed.

Now that Style Editor uses CodeMirror the scroll position can be restored by
calling refresh on the CodeMirror instance. If a specific line to focus was
specified, refreshing the editor is a no-op as it was done when the line was
selected. However, if the editor was not refreshed after the editor became
visible again (i.e. a line to jump to was not specified), refreshing it will
restore the previous scroll position.
2015-04-25 06:54:25 +03:00
James Long
7968b594cc Bug 1145262 - Modularize the toolbar views in the debugger. r=fitzgen 2015-04-24 15:21:00 -04:00
James Long
ca2d6d3dcb Bug 1145262 - Modularize the pane views in the debugger. r=fitzgen 2015-04-24 15:21:00 -04:00
James Long
cc0aeb3f6e Bug 764958 - Show cached network requests in the net monitor. r=jsantell 2015-04-24 14:57:00 -04:00
Brian Grinstead
d4cf2e0950 Bug 1150780 - Refactor ruleview tests and add 'empty value' inplace editor test;r=pbrosset 2015-04-27 07:03:41 -07:00
Brian Grinstead
2bdee2c470 Bug 1150780 - Don't create a new inplace editor for an element if one already exists;r=pbrosset 2015-04-27 07:03:34 -07:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00