RESOLVED FIXED195406
Make someWindow.frames, .self, .window always return someWindow
https://bugs.webkit.org/show_bug.cgi?id=195406
Summary Make someWindow.frames, .self, .window always return someWindow
Anne van Kesteren
Reported 2019-03-07 05:18:34 PST
Currently they no longer do once the browsing context goes away. I was initially inclined to endorse that model as it'd be one less reference to store on the global/realm, but given globalThis already does that it now seems pointless. HTML: https://github.com/whatwg/html/pull/4410 wpt: https://github.com/web-platform-tests/wpt/pull/15720
Attachments
Patch (10.66 KB, patch)
2019-03-29 10:11 PDT, Chris Dumez
no flags
Patch (10.69 KB, patch)
2019-03-29 13:48 PDT, Chris Dumez
no flags
Patch (12.81 KB, patch)
2019-03-29 15:00 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-03-29 10:11:37 PDT
Chris Dumez
Comment 2 2019-03-29 13:48:11 PDT
Alex Christensen
Comment 3 2019-03-29 14:56:45 PDT
Comment on attachment 366305 [details] Patch Looks like WebKitDOMDOMWindow.cpp needs to change to use globalThis too.
Chris Dumez
Comment 4 2019-03-29 15:00:33 PDT
EWS Watchlist
Comment 5 2019-03-29 15:02:23 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
WebKit Commit Bot
Comment 6 2019-03-29 17:21:36 PDT
Comment on attachment 366307 [details] Patch Clearing flags on attachment: 366307 Committed r243669: <https://trac.webkit.org/changeset/243669>
WebKit Commit Bot
Comment 7 2019-03-29 17:21:38 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2019-03-29 17:22:18 PDT
Note You need to log in before you can comment on or make changes to this bug.