[Webkit-unassigned] [Bug 252228] New: constructFunctionSkippingEvalEnabledCheck() should use structureGlobalObject.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 21:56:10 PST 2023


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

            Bug ID: 252228
           Summary: constructFunctionSkippingEvalEnabledCheck() should use
                    structureGlobalObject.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

constructFunctionSkippingEvalEnabledCheck() is instantiating JSFunction, JSGeneratorFunction, JSAsyncFunction, and JSAsyncGeneratorFunction with a structure from potentially another realm.  Hence, it should use the scope object from that realm as well.

-- 
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/20230214/727f55b9/attachment.htm>


More information about the webkit-unassigned mailing list