Summary: | WindowEventLoop should be shared among similar origin documents | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||||
Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cdumez, dbates, esprehn+autocc, ews-watchlist, kangil.han, koivisto, simon.fraser, webkit-bug-importer, wenson_hsieh | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=204510 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 202843 | ||||||||
Attachments: |
|
Description
Ryosuke Niwa
2019-11-06 01:02:53 PST
Created attachment 382902 [details]
WIP
Created attachment 382985 [details]
Patch
Ping reviewers Comment on attachment 382985 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=382985&action=review > Source/WebCore/dom/WindowEventLoop.cpp:58 > + ASSERT(windowEventLoopMap().contains(m_domain)); Do we need both this debug assert and the release assert below? > LayoutTests/http/tests/eventloop/queue-task-across-cross-site-frames.html:22 > + setTimeout(() => finishJSTest(), 3000); I don’t think you meant to include this. (In reply to Wenson Hsieh from comment #5) > Comment on attachment 382985 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=382985&action=review > > > Source/WebCore/dom/WindowEventLoop.cpp:58 > > + ASSERT(windowEventLoopMap().contains(m_domain)); > > Do we need both this debug assert and the release assert below? > > > LayoutTests/http/tests/eventloop/queue-task-across-cross-site-frames.html:22 > > + setTimeout(() => finishJSTest(), 3000); > > I don’t think you meant to include this. Oops these are added for debugging. Removed both. Committed r252221: <https://trac.webkit.org/changeset/252221> |