[Webkit-unassigned] [Bug 202433] New: Accessing WebAssembly.Module creates a global Module function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 1 14:10:38 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202433
Bug ID: 202433
Summary: Accessing WebAssembly.Module creates a global Module
function
Product: WebKit
Version: Other
Hardware: All
OS: macOS 10.14
Status: NEW
Severity: Critical
Priority: P2
Component: WebAssembly
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wfurr at google.com
Emscripten by default creates a global "Module" object that has all of its exported functions for interacting with the WebAssembly instance from JavaScript (e.g. embind functions, the Emscripten C API, etc.). When I run in Safari, Emscripten's Module object is stomped on by a global Module function that is the same as WebAssembly.Module.
Here's a minimal example showing that Module is undefined until WebAssembly.Module is accessed: https://jsfiddle.net/vbo4zugk/
Safari 13.0.1 (14608.2.11.11)
MacOS Mojave 10.14.6
This used to work, and I suspect the bug is new in Safari 13. I don't have Safari 12 to test on, and I'm not sure how to get older versions of Safari.
This bug is breaking any website that uses WebAssembly and the default Emscripten settings. e.g. https://keep.google.com and https://canvas.apps.chrome.
--
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/20191001/74d8f3bb/attachment.html>
More information about the webkit-unassigned
mailing list