Bug 204491

Summary: Associate each microtask with a task group and remove ActiveDOMCallbackMicrotask
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, dbates, esprehn+autocc, ews-watchlist, ggaren, hi, joepeck, kangil.han, koivisto, sam, webkit-bug-importer, ysuzuki
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 204042    
Attachments:
Description Flags
Cleanup koivisto: review+

Ryosuke Niwa
Reported 2019-11-21 22:32:52 PST
We should associate each microtask with a EventLoopTaskGroup like we do with a regular task. This will allow suspension & stopping of each microtask when the task group's script execution context is suspend or stopped, and eliminates the need for ActiveDOMCallbackMicrotask.
Attachments
Cleanup (23.89 KB, patch)
2019-11-21 22:44 PST, Ryosuke Niwa
koivisto: review+
Ryosuke Niwa
Comment 1 2019-11-21 22:44:16 PST
Radar WebKit Bug Importer
Comment 2 2019-11-21 22:45:15 PST
Ryosuke Niwa
Comment 3 2019-11-22 10:12:10 PST
Ping reviewers.
Antti Koivisto
Comment 4 2019-11-22 11:31:07 PST
Comment on attachment 384125 [details] Cleanup View in context: https://bugs.webkit.org/attachment.cgi?id=384125&action=review nice! > Source/WebCore/ChangeLog:12 > + suspsned or stopped along with the script execution context without having to wrap each typo suspended
Ryosuke Niwa
Comment 5 2019-11-22 17:53:21 PST
Note You need to log in before you can comment on or make changes to this bug.