Closed Bug 1447870 Opened 6 years ago Closed 6 years ago

Stop flushing throttled animations in nsDOMWindowUtils::UpdateLayerTree()

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(2 files)

As far as I can tell the UpdateLayerTree() is only called from reftest harness, and to sync decode images (only for plugin process?) after 'reftest-wait' has been already removed.  So, we don't need to flush throttled animations there throttled animations in reftest should have already being restyled on the main-thread or don't need to be restyled because they run on the compositor.
  
I am not sure 'DOM' is the right component for this, by the way.
Here is a patch that I have locally, I am confident the fix is the right thing to do, but IIRC I haven't finished writing the commit message.
I did recall what I had trouble with.  That's writing a reftest for this which fails without this fix.  I am going to land the fix without any test cases.
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
Priority: -- → P2
Comment on attachment 8961249 [details]
Bug 1447870 - Don't flush throttled animations in nsIDOMWindowUtils.updateLayerTree.

https://reviewboard.mozilla.org/r/230022/#review236444
Attachment #8961249 - Flags: review?(matt.woodrow) → review+
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/68d08d45977a
Don't flush throttled animations in nsIDOMWindowUtils.updateLayerTree. r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/68d08d45977a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: