Bug 203137 - Integrate setTimeout and setInterval with HTML5 event loop
Summary: Integrate setTimeout and setInterval with HTML5 event loop
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on: 203016 203136 203526 204447 204975 259857 259997
Blocks: 202843 164193
  Show dependency treegraph
 
Reported: 2019-10-17 21:49 PDT by Ryosuke Niwa
Modified: 2023-08-11 13:27 PDT (History)
8 users (show)

See Also:


Attachments
WIP (19.92 KB, patch)
2019-10-18 21:08 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2019-10-17 21:49:13 PDT
We need to integrate DOM timers with HTML5 event loop.
Comment 1 Radar WebKit Bug Importer 2019-10-17 21:50:24 PDT
<rdar://problem/56396746>
Comment 2 Ryosuke Niwa 2019-10-18 21:08:45 PDT
Created attachment 381366 [details]
WIP
Comment 3 Ryosuke Niwa 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.
Comment 4 Ryosuke Niwa 2023-08-09 19:30:51 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16550
Comment 5 EWS 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.