[Webkit-unassigned] [Bug 234155] [Shadow Realms] Use WebCore module loaders for shadow realm importValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 16 08:54:21 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=234155

--- Comment #13 from Joseph Griego <jgriego at igalia.com> ---
> But what happens if,
> 
> 1. Create same domain iframe.
> 2. Create ShadowRealm thing for this iframe's JSDOMGlobalObject
> 3. Remove iframe while keep refereing ShadowRealm.
> 4. Then, run script inside ShadowRealm and that script keeps JSGlobalObject
> alive by setting it to somewhere
> 5. Then, miss the reference to ShadowRealmObject.
> 
> Then, while the ShadowRealm globalObject is alive, parent JSDOMGlobalObject
> and ShadowRealmObject are GC-ed.

Oof, you're absolutely right. I didn't realize it was possible to share objects directly between same-domain iframes; you learn something new every day I guess!

I'll re-work things and come back with a new test to this effect. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211216/619bc233/attachment.htm>


More information about the webkit-unassigned mailing list