Closed
Bug 1319134
Opened 8 years ago
Closed 8 years ago
(intersection-observer) Switch from idle callback to post task.
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: tschneider, Assigned: tschneider)
References
Details
Attachments
(1 file)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → tschneider
Assignee | ||
Updated•8 years ago
|
Blocks: intersection-observer-impl
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8835193 -
Flags: review?(mstange)
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8835193 [details]
Bug 1319134 - (intersection-observer) Switch from idle callback to post task.
https://reviewboard.mozilla.org/r/110882/#review112514
So you now notify after one event loop trip after each refresh tick? Ok.
One problem here (which we might have had before) is that since refresh ticks have higher priority in the event loop, we might end up with two adjacent refresh ticks and then twe adjacent intersection observer notifications, instead of having them interleaved. I don't know if that's going to matter.
Attachment #8835193 -
Flags: review?(mstange) → review+
Assignee | ||
Comment 3•8 years ago
|
||
We should be fine since the spec removed any mentioning of exact timing. Simply scheduling an event to be executed at next event loop iteration should be fine.
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/98b6a20708cd
(intersection-observer) Switch from idle callback to post task. r=mstange
Keywords: checkin-needed
Comment 5•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•