[Webkit-unassigned] [Bug 231506] New: Investigate `JSGlobalObject == JSDOMGlobalObject` WebCore assumption in presence of Shadow Realms
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 11 03:10:02 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=231506
Bug ID: 231506
Summary: Investigate `JSGlobalObject == JSDOMGlobalObject`
WebCore assumption in presence of Shadow Realms
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore JavaScript
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pmates at igalia.com
A lot of WebCore code assumes that JSGlobalObject instances are the JSDOMGlobalObject subclass.
For example, when `incumbentDOMWindow` is traversing JSGlobalObjects in the callstack, and it assumes that these ones are JSDOMWindow.
After introducing Shadow Realms, via https://bugs.webkit.org/show_bug.cgi?id=230602, this won't necessarily be true. That is WebCore's assumption that `JSGlobalObject == JSDOMGlobalObject` might no longer be valid.
This ticket a is a reminder that we need to investigate this and properly adapt the code if needed
--
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/20211011/4d1e84a6/attachment.htm>
More information about the webkit-unassigned
mailing list