Commit Graph

37 Commits

Author SHA1 Message Date
Daisuke Akatsuka
a723d357d8 Bug 1210796 - Part 2: Visualize each properties. r=pbro
MozReview-Commit-ID: Hjb1QyOMNZR
2017-04-18 12:15:54 +09:00
Florian Quèze
a19e007056 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Dalimil Hajek
b4e6cbd057 Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
J. Ryan Stinnett
ca28966f00 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2
2016-11-11 18:24:58 -06:00
Daisuke Akatsuka
f239e33b1e Bug 1210795 - Part 7: Change setCurrentTimeAll behavior. r=pbro
MozReview-Commit-ID: 298b7TfBVXu
2016-10-26 16:37:20 +09:00
Daisuke Akatsuka
ad6f248b82 Bug 1210795 - Part 1: Display animations' timing-functions in the animation-inspector. r=pbro
MozReview-Commit-ID: CO5tVZ31RrL
2016-10-25 17:35:56 +09:00
fbdb0dae94 Bug 1295171 - Reintroduce the old Actor/FrontClass constructors. r=jryans
Heintroduce the old Actor/FrontClass constructors.
2016-08-22 16:25:57 +02:00
b0fa44c98a Bug 1288423 - Rename Actor/FrontClassWithSpec to Actor/FrontClass. r=fitzgen 2016-08-10 17:36:04 +02:00
7da99e3425 Bug 1288423 - Remove the old Actor/FrontClass constructors. r=fitzgen 2016-08-10 17:35:50 +02:00
Eddy Bruel
47088b082e Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-26 15:47:52 +02:00
Carsten "Tomcat" Book
ce217fc28c Backed out changeset 3c599aa289d8 (bug 1265718) for timeouts in test_animation_actor-lifetime.html 2016-05-25 13:25:59 +02:00
Eddy Bruel
deb0e4acfe Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-25 10:18:27 +02:00
Carsten "Tomcat" Book
bfced16d02 Backed out changeset 25a5ae2711f3 (bug 1265718) for test failures in browser_animation_emitMutations.js 2016-05-24 14:17:34 +02:00
Eddy Bruel
f23705afb0 Bug 1265718 - Decouple AnimationsFront from AnimationsActor;r=jryans 2016-05-24 11:33:25 +02:00
Eddy Bruel
80c68f8658 Bug 1265718 - Decouple AnimationPlayerFront from AnimationPlayerActor;r=jryans 2016-05-24 11:27:38 +02:00
Tom Tromey
86974842a1 Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Brian Birtles
43944667cb Bug 1271904 - Rename KeyframeEffectReadOnly.getFrames() and KeyframeEffect.setFrames() to getKeyframes()/setKeyframes(); r=hiro, r=smaug
MozReview-Commit-ID: GwLLY39l1KE
2016-05-13 09:40:52 +09:00
Jennifer Fong
bb0e5b8001 Bug 1270173 - Move protocol.js from devtools/server to devtools/shared. r=ejpbruel 2016-05-06 09:19:00 +02:00
Ryo Motozawa
502d56ffe6 Bug 1254408 - Part 1 - Expose animation performance information in DevTools. r=pbro
MozReview-Commit-ID: FHC41UoFEUl
2016-04-22 20:17:58 +09:00
Patrick Brosset
849daec464 Bug 1260680 - Filter out unwanted data in getProperties to reduce protocol traffic; r=miker
MozReview-Commit-ID: 9Gybp724gja
2016-03-30 12:12:36 +02:00
Patrick Brosset
447aa7b4c6 Bug 1206420 - Display animated pseudo-elements in the animation-inspector; r=tromey
MozReview-Commit-ID: 5bMOxKG6pMm
2016-03-24 10:56:51 +01:00
Ryo Motozawa
ea91ba2245 Bug 1253494 part 1 - Implement endDelay representation in the animation inspector r=pbro
MozReview-Commit-ID: CxUvQRu6Yrn
2016-03-23 10:39:49 +09:00
Nicolas Chevobbe
8dedca4020 Bug 1257874 - Use getProperties instead of getFrames in animation-detail. r=pbro
Add a getProperties function to the animation actor to map KeyframeEffectReadOnly.getProperties
Call this new function in animation-detail and adapt the code as the structure
of the returned object structure is different from what getFrames returns.
Adapt a couple tests to the new object structure client-side, and a test server-side
to check getProperties returns what it should.

MozReview-Commit-ID: 2zKPEknukEK
2016-03-18 20:26:01 +01:00
Daisuke Akatsuka
6f5e7958b1 Bug 1253493 - Part1: Show iterationStart to the tooltip. r=pbro 2016-03-23 12:56:32 +09:00
Boris Chiou
61c69081ac Bug 1249219 - Part 8: Avoid adding animations on pseudo elements for Inspector temporary. r=pbro 2016-03-21 16:49:51 +08:00
Nicolas Chevobbe
6a37f750da Bug 1247243 - Animations are shown only every 2 reloads. r=pbrosset
MozReview-Commit-ID: 71XsHc9WXHw
2016-02-23 00:15:04 +01:00
Nicolas Chevobbe
74dd01943a Bug 1232681 - Display script-generated animations correctly. r=pbro
MozReview-Commit-ID: 2pk7sxVTHTk
2016-02-03 23:21:44 +01:00
Patrick Brosset
6cf8510222 Bug 1245849 - Remove mochitest browser_animation_name.js and add a xpcshell test instead; r=ochameau 2016-02-08 16:14:11 +01:00
Patrick Brosset
87f311aa02 Bug 1231945 - Display animation.id when it exists; r=tromey 2016-02-02 11:49:22 +01:00
Patrick Brosset
2bb00fba97 Bug 1213651 - Avoid server round-trips when displaying animated dom nodes; r=tromey
The main change here is that nodeFronts that have already been displayed
in the timeline are stored in a WeakMap so they can be retrieved from it
next time they're displayed and avoid a server-side round trip which, in
turn, causes the UI to flicker.

The other change is that now, it is possible to tell the animations actor
what is the current walker actor, which allows animation player actors to
directly send the NodeActor ID as part of their forms. Which, in most cases,
completely eliminates the server round-trip, because the corresponding
NodeFronts are already known on the client, so we get them from there.

The last change done here is that AnimationTargetNode now becomes a thin
wrapper on top of the new DomNodePreview component that was extracted so
it can be reused in other places.
2016-01-21 13:19:58 +01:00
Patrick Brosset
803034c48f Bug 1231688 - Use waapi computed timing in devtools animation actors; r=tromey 2015-12-21 11:07:58 +01:00
Patrick Brosset
a43122b265 Bug 1211801 - Add a playback rate selector to the animation panel. r=miker 2015-11-02 12:54:07 +01:00
Patrick Brosset
fbcf8fbf2a Bug 1194639 part 0 - Filter out changed animation mutations in devtools; r=mratcliffe 2015-10-19 15:51:24 +02:00
Patrick Brosset
5ecca66d77 Bug 1197100 - 1 - Add getFrames method to the AnimationPlayerActor; r=miker 2015-09-29 14:53:15 +02:00
J. Ryan Stinnett
b17c143421 Bug 912121 - Update misc. DevTools paths and comments. rs=devtools 2015-09-21 12:07:31 -05:00
J. Ryan Stinnett
a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00