Commit Graph

2031 Commits

Author SHA1 Message Date
Patrick Brosset
a53d2ad7da 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.

--HG--
extra : rebase_source : 06fb4699438939efb42b363cbfabd0430a15d8c3
extra : histedit_source : 8d4ea42715c50be4138289613a6b7fda0a69e3c6
2015-04-16 10:20:21 +02:00
Patrick Brosset
292adfbff7 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.

--HG--
extra : rebase_source : 26ef72eee71334f6fe467d46a486768296035b8a
extra : histedit_source : 697ddbd179ec2992706f20ca7baccbd4f90f9175%2C6e1130e38ed538809f3ee16fd9a5291fe60a85c1
2015-04-17 12:09:58 +02:00
Brian Grinstead
964f9f6d53 Bug 1153903 - Get rid of logspam during devtools talos test runs;r=pbrosset 2015-04-16 09:54:04 -07:00
Carsten "Tomcat" Book
bad3cd3153 Backed out changeset 998c4e53c1f8 (bug 1137285)
--HG--
extra : rebase_source : 9bad5a7e2d54257b22e290a4d3a354454d9002ea
2015-04-15 17:23:14 +02:00
Patrick Brosset
4ae0fca079 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
65261e28f3 Backed out changeset fb97412bef73 (bug 1145049) for dt3 test failures 2015-04-15 16:13:14 +02:00
Carsten "Tomcat" Book
d7e56703cd Backed out changeset 69819d44541f (bug 1145049) 2015-04-15 16:12:37 +02:00
Carsten "Tomcat" Book
5a319b89d1 Backed out changeset 4cf74e040c0a (bug 1145049) 2015-04-15 16:12:17 +02:00
Carsten "Tomcat" Book
7f5236111a Merge mozilla-central to fx-team 2015-04-15 15:03:01 +02:00
Alexandre Poirot
f4996a4243 Bug 1137285 - Allow ressource uri for dynamically registered actors. r=honza 2015-04-15 13:55:29 +02:00
Alexandre Poirot
432cb32f77 Bug 1145049 - Stop leaking tab actors and root actor on disconnect. r=jryans 2015-04-15 00:35:33 +02:00
Alexandre Poirot
c9b1eec447 Bug 1145049 - Prevent caching tab actors in child processes. r=jryans 2015-04-15 00:35:33 +02:00
Alexandre Poirot
92b14220cf Bug 1145049 - Clean inspector on detach/disconnect. r=pbrosset 2015-04-15 00:35:32 +02:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Brian Birtles
b49cd21bfa 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
2d26fd38cb 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
d5b5205359 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.

--HG--
rename : dom/animation/test/css-animations/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-name.html
rename : dom/animation/test/css-transitions/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-name.html
2015-04-15 08:48:20 +09:00
Shu-yu Guo
e51ee547ef 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
fcf455a317 Backed out changeset 881ef048e290 (bug 1147945) for causing spammy TypeErrors that make sheriffing real failures difficult. 2015-04-10 13:58:28 -04:00
J. Ryan Stinnett
8bc30326f3 Bug 1152836 - QR Decoder: Inline getPixel: 235ms -> 225ms r=past 2015-04-10 11:09:56 -05:00
J. Ryan Stinnett
d89d789d7e Bug 1152836 - QR Decoder: Grayscale clamped array: 256ms -> 235ms r=past 2015-04-10 11:09:56 -05:00
J. Ryan Stinnett
5e684416c8 Bug 1152836 - QR Decoder: Add 32bit buffer: 335ms -> 256ms r=past 2015-04-10 11:09:56 -05:00
J. Ryan Stinnett
9d5ffcbf12 Bug 1152836 - QR Decoder: Remove getPixel bounds check: 400ms -> 335ms r=past 2015-04-10 11:09:55 -05:00
J. Ryan Stinnett
de8bc0d619 Bug 1152836 - QR Decoder: Let everywhere, style nits: 580ms -> 400ms r=past 2015-04-10 11:09:55 -05:00
J. Ryan Stinnett
76a4c22418 Bug 1152836 - QR Decoder: Remove QR namespace (image, h/w): 750ms -> 580ms r=past 2015-04-10 11:09:55 -05:00
J. Ryan Stinnett
f5f90a0f8f Bug 1152836 - QR Decoder: Cache imagedata.data: 915ms -> 750ms r=past 2015-04-10 11:09:55 -05:00
J. Ryan Stinnett
a9370c031a Bug 1149350 - Force reload for apps. r=ochameau 2015-03-30 16:42:00 +02:00
Jordan Santell
86593b6b51 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
Mahdi Dibaiee
43193dfe3b Bug 1055181 - CSS Filter Tooltip; r=pbrosset
Adds a new devtools tooltip type in the inspector used to edit
css filters. The widget displayed in the tooltip allows to add,
edit, remove, and re-order filters.
Changes made inside the tooltip are applied to the filter
property in the rule-view.

--HG--
extra : rebase_source : a38ce7108bfa4e035892c3c3d89098dc1b2b0052
extra : histedit_source : ff309c03f920359df61e139731f8f57cf55a1545
2015-04-09 13:30:42 +04:30
Patrick Brosset
4aa03199c3 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.

--HG--
extra : rebase_source : e7d3ac809ea8f223acfb5d04dd72a9e6a292796d
2015-04-09 17:11:06 +02:00
Ryan VanderMeulen
23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Dragana Damjanovic
9441d5b1f1 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-04-08 15:35:00 -04:00
Nick Fitzgerald
8d460f9783 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
522a492ff4 Backed out changeset f937e8d943d8 (bug 1147945) for xpcshell failures. 2015-04-07 13:44:58 -04:00
Jordan Santell
2fe2590674 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
Christoph Kerschbaumer
94d55409cf Bug 1147562 - Update remaining callsites of newChannel before landing the shim in toolkit/ (r=gijs) 2015-04-09 10:10:45 -07:00
Florent Fayolle
5337ffc494 Bug 1143497 - Offer a way to extend WebConsole commands. r=bgrins 2015-04-06 09:41:00 -04:00
Patrick Brosset
ec3c0d84c1 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
ae986380e6 Bug 1150090 - Intermittent browser_animation_actors_11.js; r=bgrins
--HG--
extra : rebase_source : 816c24dccf3bd6781a346839750c7f0273dbc72b
2015-04-02 10:37:53 +02:00
Patrick Brosset
28523c6d69 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.

--HG--
extra : rebase_source : 309a167b2218c6fc586c64977896a4715bd5a1d5
2015-04-01 10:16:40 +02:00
Ryan VanderMeulen
37f3daf0c7 Merge m-c to fx-team. a=merge
CLOSED TREE
2015-04-03 10:52:46 -04:00
Eddy Bruël
318d2572e3 Bug 1147972 - Test setting a breakpoint on a column;r=jlong 2015-04-03 14:46:27 +02:00
Ryan VanderMeulen
769f798614 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
f365dad1b9 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.

--HG--
extra : rebase_source : 8fe6e245ec04bfe399166e343b888b6ce3ca0ef1
2015-04-01 10:16:40 +02:00
Patrick Brosset
ad0a7a714a 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.

--HG--
extra : rebase_source : 4a9be4695261d65a2f032117af9fce985f5c0378
2015-04-02 12:47:34 +02:00
Patrick Brosset
3ce53fe10e 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.

--HG--
extra : rebase_source : 16c097df7b579b980f710ffbd98fe3d01a6fbc76
2015-03-30 11:59:46 +02:00
Matteo Ferretti
91aca3f385 Bug 1144163 - Add a rulers highlighter; added gcli command and button. r=pbrosset 2015-04-01 19:28:57 +02:00
Matteo Ferretti
6ea5e67589 Bug 1144163 - Add a rulers highlighter; added highlighter. r=pbrosset 2015-03-31 14:13:24 +02:00
Wasiur Rahman
cea42670ff 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
58916da40e Bug 1129784 - Implement column sliding for non-sourcemapped sources;r=jlong 2015-04-01 15:54:53 +02:00