Open
Bug 1376482
Opened 7 years ago
Updated 2 years ago
Some animations not detected in Browser Toolbox
Categories
(DevTools :: Inspector: Animations, defect, P2)
DevTools
Inspector: Animations
Tracking
(firefox57 fix-optional)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: sfoster, Unassigned)
Details
Attachments
(1 file)
224.33 KB,
image/png
|
Details |
The attached screenshot shows a rule on an element that has a CSS animation defined using a selector #downloads-notification-anchor[notification="start"] > #downloads-indicator-notification. The notification attribute is set by js, and then removed later. The inspector shows the rule correctly, including the animation properties, but the animation panel says no animations found for the current element. I'm not sure what the important variables are here - if this is a toolbox only bug, or specific to this kind of selector, or because the rule is only matched after "page" load?
Updated•7 years ago
|
Component: Developer Tools → Developer Tools: Animation Inspector
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Comment 1•7 years ago
|
||
I think I tracked it down to somewhere in the initialization of AnimationPlayerActor in /devtools/server/actors/animation.js. In there, this.walker may be null if AnimationsActor.setWalkerActor was never called. However, in the node getter in AnimationPlayerActor, we access this.walker without checking if it exists first.
Priority: -- → P2
Comment 2•7 years ago
|
||
First, we should make sure that this.walker is defined before trying to access it here: https://searchfox.org/mozilla-central/rev/8839daefd69087d7ac2655b72790d3a25b6a815c/devtools/server/actors/animation.js#105 Second, we should investigate why this.walker is undefined in this case (note that this only occurs with the browser toolbox). The walker is being set from the client-side here: https://searchfox.org/mozilla-central/rev/8839daefd69087d7ac2655b72790d3a25b6a815c/devtools/client/animationinspector/animation-controller.js#166 So, it means the trait hasSetWalkerActor method is falsy here for some reason.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•