Commit Graph

1271 Commits

Author SHA1 Message Date
John Kang
445bdbe679 Bug 1143074 - "Inspector search box can't find nodes with IDs/classes that include CSS reserved characters" [r=pbrosset] 2015-04-21 02:56:00 +02:00
Alexandre Poirot
657c267f82 Bug 1145049 - Stop leaking tab actors and root actor on disconnect. r=jryans 2015-04-18 09:39:07 +02:00
Alexandre Poirot
fc4c75e19c Bug 1145049 - Prevent caching tab actors in child processes. r=jryans 2015-04-18 09:39:07 +02:00
Panos Astithas
dfeafaeca4 Avoid infinite recursion when lazy-loading devtools modules and stepping into promise code in chrome debugging (bug 1149910). r=jlongster,fitzgen 2015-04-21 09:15:30 +03:00
Brian Grinstead
afd78d14c1 Bug 1036324 - Adds option to walker.parents() to not traverse DocShellTreeItems of different types
This option helps avoiding blank inspector situations when trying to use the right-click ctx
menu in the browser to inspect an element *while* the page is reloading.
2015-04-15 13:49:00 +02:00
Michael Ratcliffe
b5fafbd31b Bug 1136155 - Alpha-sort events in the events popup r=pbrosset 2015-04-17 16:08:11 +01:00
Jennifer Fong
b236aeb132 Bug 901250 - Add scroll into view menu item for the inspector. r=bgrins 2015-04-17 11:03:24 -07:00
Patrick Brosset
0848c837ea Bug 1149999 - 2 - Send animation removed events to the animation-panel for re-starting transitions; r=past
When transitions re-start (when a css class is toggled for instance), new AnimationPlayer objects
are created everytime. But now (since bug 1122414) names are given for AnimationPlayers that
correspond to transitions, and so we can use that to know when a transition re-starts on a node
and therefore send the correct events to the animation-panel.
2015-04-16 10:20:21 +02:00
Patrick Brosset
c86ddb64b9 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
a0b97f8631 Bug 1153903 - Get rid of logspam during devtools talos test runs;r=pbrosset 2015-04-16 09:54:04 -07:00
Carsten "Tomcat" Book
8bb50439d1 Backed out changeset 998c4e53c1f8 (bug 1137285) 2015-04-15 17:23:14 +02:00
Patrick Brosset
f2e91a1d1f Bug 1149346 - First word in selector-search also matches classes and ids; r=harth 2015-04-15 08:15:20 -07:00
Carsten "Tomcat" Book
a5f36929b4 Backed out changeset fb97412bef73 (bug 1145049) for dt3 test failures 2015-04-15 16:13:14 +02:00
Carsten "Tomcat" Book
6000db8835 Backed out changeset 69819d44541f (bug 1145049) 2015-04-15 16:12:37 +02:00
Carsten "Tomcat" Book
f114bbaa15 Backed out changeset 4cf74e040c0a (bug 1145049) 2015-04-15 16:12:17 +02:00
Carsten "Tomcat" Book
5195e2afb0 Merge mozilla-central to fx-team 2015-04-15 15:03:01 +02:00
Alexandre Poirot
9e5255db44 Bug 1137285 - Allow ressource uri for dynamically registered actors. r=honza 2015-04-15 13:55:29 +02:00
Alexandre Poirot
138a9cf76a Bug 1145049 - Stop leaking tab actors and root actor on disconnect. r=jryans 2015-04-15 00:35:33 +02:00
Alexandre Poirot
e79effcb01 Bug 1145049 - Prevent caching tab actors in child processes. r=jryans 2015-04-15 00:35:33 +02:00
Alexandre Poirot
049bdf9f0f Bug 1145049 - Clean inspector on detach/disconnect. r=pbrosset 2015-04-15 00:35:32 +02:00
Brian Birtles
6fcd27a1f3 Bug 1122414 part 3 - Update DevTools tests to expect a name for transitions; r=pbrosset 2015-04-14 09:15:09 +09:00
Brian Birtles
717246367d Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
c1f3da8da4 Bug 1153734 part 1 - Remove AnimationEffect; r=smaug
Most of this is fairly obvious. However, the addition of 'override' to
ElementPropertyTransition::Name() is not strictly necessary. It was simply added
because while making these changes I accidentally dropped the 'virtual' keyword
from the method in the superclass and the compiler didn't complain. Adding this
will hopefully make it harder to create the same bug in the future.
2015-04-15 08:48:20 +09:00
Shu-yu Guo
10c578dbe4 Bug 1151154 - Don't fake resumption packets on tab navigation events in the frontend debugger. (r=past) 2015-04-14 13:35:49 -07:00
Ryan VanderMeulen
0f1787deaf Backed out changeset 881ef048e290 (bug 1147945) for causing spammy TypeErrors that make sheriffing real failures difficult. 2015-04-10 13:58:28 -04:00
Jordan Santell
a8d87e2eb0 Bug 1147945 - Let the profiler's buffer size and sample rate be configurable via prefs. r=vp 2015-04-08 00:16:00 +02:00
Patrick Brosset
4240855873 Bug 873443 - Make the inspector search suggest and select elements in frames; r=bgrins
This makes the inspector search input show suggestions for nodes in all documents in
the content page. Selecting a suggestion also now selects the corresponding nodes
even when they are inside nested frames.
2015-04-09 17:11:06 +02:00
Christoph Kerschbaumer
2debe423e6 Bug 1147562 - Update remaining callsites of newChannel before landing the shim in toolkit/ (r=gijs) 2015-04-09 10:10:45 -07:00
Nick Fitzgerald
fdb112a3a6 Bug 1151703 - Part 2: Show XML and HTML parsing markers in the performance tool; r=jsantell 2015-04-08 11:25:56 -07:00
Ryan VanderMeulen
a1ed0f0476 Backed out changeset f937e8d943d8 (bug 1147945) for xpcshell failures. 2015-04-07 13:44:58 -04:00
Jordan Santell
50423bb7e0 Bug 1147945 - Let the profiler's buffer size and sample rate be configurable via prefs. r=vporof 2015-04-04 20:32:00 -04:00
Florent Fayolle
eec50eb484 Bug 1143497 - Offer a way to extend WebConsole commands. r=bgrins 2015-04-06 09:41:00 -04:00
Patrick Brosset
84737b3f2a Bug 1139937 - Don't try accessing the computedStyle of pseudo elements on reflow; r=miker
In some situations the WalkerActor tries to access the computed-style (via css-logic.css)
of pseudo (after or before) elements in the DOM. It does this on reflows to update the
visibility indicator on nodes in the inspector-panel.
This fixes early checks in the reflows event handler to avoid trying to get the style
if the node isn't an element.
2015-04-07 12:01:47 +02:00
Patrick Brosset
0c9336dbb9 Bug 1150090 - Intermittent browser_animation_actors_11.js; r=bgrins 2015-04-02 10:37:53 +02:00
Patrick Brosset
3049a2bae2 Bug 1120833 - 3 - Refresh the list of animation widgets when new animations are added; r=miker
(Re-land after backout)
The animation-controler was in charge of getting new animation players and refreshing
the UI when done. This is still the case, but it now listens for mutation events from
the actor too, and when they happen, it simply asks the ui to refresh again.
Also, animations with playState "finished" that remain in the animation inspector panel
can now be played again.
2015-04-01 10:16:40 +02:00
Ryan VanderMeulen
3006ba124a Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
Eddy Bruël
df2142eff4 Bug 1147972 - Test setting a breakpoint on a column;r=jlong 2015-04-03 14:46:27 +02:00
Ryan VanderMeulen
9f4ef1073d Backed out 3 changesets (bug 1120833, bug 1149711) for causing bug 1150615.
Backed out changeset 527c548ff03c (bug 1149711)
Backed out changeset 2fe22ffef154 (bug 1120833)
Backed out changeset 501fa7c170ed (bug 1120833)

CLOSED TREE
2015-04-02 14:42:05 -04:00
Patrick Brosset
8a3627576b Bug 1120833 - 3 - Refresh the list of animation widgets when new animations are added; r=miker
The animation-controler was in charge of getting new animation players and refreshing
the UI when done. This is still the case, but it now listens for mutation events from
the actor too, and when they happen, it simply asks the ui to refresh again.
Also, animations with playState "finished" that remain in the animation inspector panel
can now be played again.
2015-04-01 10:16:40 +02:00
Patrick Brosset
e01d437121 Bug 1120833 - 2 - Fire events about changed animations in the AnimationsActor; r=past
This makes the AnimationsActor listen for animation mutations after each
call to getAnimationPlayersForNode on the code that was passed in.
Whenever animations are added or removed, an event is sent to the front
with the list of changes.
The server doesn't know when the client doesn't require updates for the
current node anymore, so it exposes a new method for this.
Note that removed events for finished aniations are skipped, because the
corresponding animations can still be seeked/resumed, so we want the
AnimationPlayerActor to be preserved.
2015-04-02 12:47:34 +02:00
Patrick Brosset
f81ba94616 Bug 1120833 - 1 - Remove EventEmitter usage in AnimationPlayerFront
The AnimationPlayerFront needs to emit events when its auto-refresh
mode is enabled, whenever the state changes. Until now, it was doing
so with EventEmitter.
But because decorating the class with EventEmitter adds on/once/off
functions to the instance, it ends up hiding the on/once/off functions
that were already there because the class extends addon sdk EventTarget.
2015-03-30 11:59:46 +02:00
Matteo Ferretti
e0196255b3 Bug 1144163 - Add a rulers highlighter; added highlighter. r=pbrosset 2015-03-31 14:13:24 +02:00
Wasiur Rahman
b3b8f81edd Bug 1132208 - "Remove dead code from framerate actor now in GraphsWorker.js". r=jsantell 2015-03-31 21:00:00 +02:00
Eddy Bruël
40feed6b30 Bug 1129784 - Implement column sliding for non-sourcemapped sources;r=jlong 2015-04-01 15:54:53 +02:00
Panos Astithas
121dd7d1d3 Add a devtools tag to all devtools tests (bug 1149907). r=pbrosset 2015-04-01 14:09:33 +03:00
Eddy Bruël
be0e27c784 Bug 1129784 - Implement column sliding for source mapped sources;r=jlong 2015-04-01 11:03:57 +02:00
Ryan VanderMeulen
3374c51fa4 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-03-31 14:41:03 -04:00
James Long
ab96b15185 Bug 1148753 - Update browser content toolbox to create a TabSources instance. r=jryans 2015-03-30 09:29:00 -04:00
Eddy Bruël
ae70a583ba Bug 1147972 - Test setting a breakpoint on a line with multiple statements;r=jlong 2015-03-31 16:28:41 +02:00
Eddy Bruël
c810aa0723 Bug 1147972 - Test setting a breakpoint on a line with multiple offsets;r=jlong 2015-03-31 16:28:35 +02:00