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.
Created attachment 366279 [details]
Created attachment 366305 [details]
Comment on attachment 366305 [details]
Looks like WebKitDOMDOMWindow.cpp needs to change to use globalThis too.
Created attachment 366307 [details]
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
Comment on attachment 366307 [details]
Clearing flags on attachment: 366307
Committed r243669: <https://trac.webkit.org/changeset/243669>
All reviewed patches have been landed. Closing bug.