Bug 203137

Summary: Integrate setTimeout and setInterval with HTML5 event loop
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, dbates, esprehn+autocc, ews-watchlist, ggaren, kangil.han, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=203586
Bug Depends on: 203016, 203136, 203526, 204447, 204975, 259857, 259997    
Bug Blocks: 202843, 164193    
Attachments:
Description Flags
WIP none

Ryosuke Niwa
Reported 2019-10-17 21:49:13 PDT
We need to integrate DOM timers with HTML5 event loop.
Attachments
WIP (19.92 KB, patch)
2019-10-18 21:08 PDT, Ryosuke Niwa
no flags
Radar WebKit Bug Importer
Comment 1 2019-10-17 21:50:24 PDT
Ryosuke Niwa
Comment 2 2019-10-18 21:08:45 PDT
Ryosuke Niwa
Comment 3 2019-11-20 23:42:22 PST
Hm... integrating SuspendableTimerBase with EventLoop is a bit tricky because at the time of Document creation, we don't know to which EventLoop we belong due to the security origin of the document not being initialized until later in the constructor yet DocumentEventQueue relies on SuspendableTimerBase. We may need to do more refactoring to make this work.
Ryosuke Niwa
Comment 4 2023-08-09 19:30:51 PDT
EWS
Comment 5 2023-08-11 13:27:54 PDT
Committed 266828@main (43d0b6dbeebf): <https://commits.webkit.org/266828@main> Reviewed commits have been landed. Closing PR #16550 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.