Closed Bug 1229913 Opened 9 years ago Closed 8 years ago

Empty class and id displayed in animation inspector

Categories

(DevTools :: Inspector: Animations, defect)

defect
Not set
normal

Tracking

(firefox45 affected, firefox47 fixed)

RESOLVED FIXED
Firefox 47
Tracking Status
firefox45 --- affected
firefox47 --- fixed

People

(Reporter: ntim, Assigned: pbro)

References

Details

Attachments

(2 files, 1 obsolete file)

STR:
Go to https://twitter.com/cssanimation
Hover around the page (notably in the tweet section)
Thanks for filing Tim. I've seen this in the past too. I think there's a race somewhere in the code that makes the UI refresh mechanism fail in all sorts of ways when you quickly trigger new animations on a page.
Another way to do this is:
- go to about:home
- quickly move your mouse over the launch icons at the bottom
Blocks: 1201278
Component: Developer Tools: Inspector → Developer Tools: Animation Inspector
Assignee: nobody → pbrosset
Status: NEW → ASSIGNED
We want to handle animation mutation events synchronously to avoid race conditions when there are many rapid mutations.
So when a mutation occurs and animations are removed, we don't release the corresponding actors in a blocking way, we just release asynchronously and don't wait for completion, but instead store the promise in an array.
The array is then passed to 'promise.all' in the panel's destroy method.
Attachment #8701094 - Attachment is obsolete: true
I've been investigating a seemingly unrelated test failure on try, and filed bug 1245420 as a result.
Depends on: 1245420
Comment on attachment 8714314 [details]
MozReview Request: Bug 1229913 - Prevent race conditions when there are many animation mutations; r=miker

https://reviewboard.mozilla.org/r/33009/#review30093
Attachment #8714314 - Flags: review?(mratcliffe) → review+
had to back this out in https://treeherder.mozilla.org/#/jobs?repo=fx-team&revision=073aa15f8ea4 - seems one of this 2 pushes caused test failures like https://treeherder.mozilla.org/logviewer.html#?job_id=7041768&repo=fx-team
Flags: needinfo?(pbrosset)
This got backed out because pushed together with bug 1245420 as it depends on it.
I have pushed a new fix for bug 1245420 to fx-team. So I'll be able to push this patch again soon.
Flags: needinfo?(pbrosset)
https://hg.mozilla.org/mozilla-central/rev/3c02ec7bd6b8
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Depends on: 1249719
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: