Bug 260667
Summary: | WindowEventLoop can infinite loop trying to run idle callback in suspended pages | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 164193 |
Ryosuke Niwa
WindowEventLoop::didReachTimeToRun schedules itself again when an idle callback is scheduled but we didn't have enough time to run it.
This logic can infinite loop when the timer never fires because the document has been suspended.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
<rdar://114384740>
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/17027
EWS
Committed 267246@main (5033809fcf70): <https://commits.webkit.org/267246@main>
Reviewed commits have been landed. Closing PR #17027 and removing active labels.