RESOLVED FIXED 204978
Unique origin's window must get its own event loop
https://bugs.webkit.org/show_bug.cgi?id=204978
Summary Unique origin's window must get its own event loop
Ryosuke Niwa
Reported 2019-12-06 23:37:45 PST
Right now, they share the same event loop, this is wrong.
Attachments
Fixes the bug (22.83 KB, patch)
2019-12-07 03:31 PST, Ryosuke Niwa
koivisto: review+
Ryosuke Niwa
Comment 1 2019-12-07 03:31:29 PST
Created attachment 385092 [details] Fixes the bug
Antti Koivisto
Comment 2 2019-12-07 06:26:55 PST
Comment on attachment 385092 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=385092&action=review > Source/WebCore/dom/WindowEventLoop.cpp:55 > + return String(); Could just say return { }; > Source/WebCore/dom/WindowEventLoop.cpp:63 > + return create(String()); Similarly return create({ });
Ryosuke Niwa
Comment 3 2019-12-07 16:35:20 PST
(In reply to Antti Koivisto from comment #2) > Comment on attachment 385092 [details] > Fixes the bug > > View in context: > https://bugs.webkit.org/attachment.cgi?id=385092&action=review > > > Source/WebCore/dom/WindowEventLoop.cpp:55 > > + return String(); > > Could just say > return { }; Fixed. > > Source/WebCore/dom/WindowEventLoop.cpp:63 > > + return create(String()); > > Similarly > return create({ }); Fixed.
Ryosuke Niwa
Comment 4 2019-12-07 16:35:28 PST
Thanks for the review!
Ryosuke Niwa
Comment 5 2019-12-07 16:41:05 PST
Radar WebKit Bug Importer
Comment 6 2019-12-07 16:42:23 PST
Note You need to log in before you can comment on or make changes to this bug.