NEW 199714
evaluateJSScript calls into the moduleLoaderDelegate for the argument script's id
https://bugs.webkit.org/show_bug.cgi?id=199714
Summary evaluateJSScript calls into the moduleLoaderDelegate for the argument script'...
Keith Miller
Reported 2019-07-11 11:27:17 PDT
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.