[Webkit-unassigned] [Bug 199714] New: evaluateJSScript calls into the moduleLoaderDelegate for the argument script's id

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 11 11:27:17 PDT 2019


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

            Bug ID: 199714
           Summary: evaluateJSScript calls into the moduleLoaderDelegate
                    for the argument script's id
           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: keith_miller at apple.com

if you have some module JSScript, say script, with URL foo and you call evaluateJSScript on it. We will call into the moduleLoaderDelegate with the identifier foo, which could provide a totally different JSScript. Thus the script passed in will never run. Instead, we should have evaluateJSScript provide script for foo before entering the module loader. If there is already an entry for foo in the graph we should check the source matches script's source and error otherwise.

-- 
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/20190711/b1c85042/attachment.html>


More information about the webkit-unassigned mailing list