[Webkit-unassigned] [Bug 202433] REGRESSION (Safari 13): Accessing WebAssembly.Module creates a global Module function

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 2 09:05:53 PDT 2019


--- Comment #9 from Keith Miller <keith_miller at apple.com> ---
(In reply to Alon Zakai from comment #8)
> I'm not sure which js file to look at on the canvas web site, but in general
> emscripten output would start with
>   var Module=typeof Module!=="undefined"?Module:{};
> When minified by closure, that might become
>   var b;b||(b=typeof Module !== 'undefined' ? Module : {});
> Other minifiers may do slightly different things.
> Users can define the Module object before the script, passing in arguments
> that way, which is why we check if it exists. In that case I'd expect the
> user code to have "var Module = ".

I just did a regex search across all the js files for /var(.*)[^\w]Module[^\w]/ and didn't see anything. Maybe I missed the var declaration though?

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/20191002/4404b1aa/attachment.html>

More information about the webkit-unassigned mailing list