[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
Tue Oct 1 20:15:46 PDT 2019


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

--- Comment #5 from Keith Miller <keith_miller at apple.com> ---
(In reply to Alon Zakai from comment #4)
> > If you want a workaround, adding a ‘var Module’ before you emscripten code runs should fix the bug.
> 
> Oh, the emscripten code itself will have a "var Module" as the first line,
> typically. Or does the "var Module" need to be before or after something to
> do with using "WebAssembly.Module"?

As long as the emscripten module value is assigned to the var I think it should shadow the global property. I’m on my phone right now so I can’t confirm with JSfiddle... it doesn’t seem to work on mobile anyway.

-- 
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/573e1b7d/attachment.html>


More information about the webkit-unassigned mailing list