-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Description
When I specify the lowest Safari version allowed
-s MIN_SAFARI_VERSION=101000
and I add --closure 1, I get warnings like
WARNING - [JSC_TYPE_MISMATCH] actual parameter 2 of XMLHttpRequest.prototype.open does not match formal parameter
found : (Request|URL|string)
required: (URL|string)
69| request.open(options.method || "get", url, true);
^^^
or
/var/folders/mh/vg4fw0d57pgf9n3qwzwqts0c0000gn/T/emscripten_temp_ywbuzjuq/eqcrypt.jso1.js:81:19: WARNING - [JSC_TYPE_MISMATCH] actual parameter 1 of XMLHttpRequest.prototype.send does not match formal parameter
found : (ArrayBuffer|ArrayBufferView|Blob|FormData|ReadableStream|URLSearchParams|null|string)
required: (ArrayBuffer|ArrayBufferView|Blob|Document|FormData|null|string|undefined)
81| request.send(options.body || null);
^^^^^^^^^^^^^^^^^^^^
This only happens with lowest Safari version. Lowest Firefox or lowest Chrome version will not cause any such warnings to appear.
Version of emscripten/emsdk:
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.71 (4171ae200b77a6c266b0e1ebb507d61d1ade3501)
clang version 20.0.0git (https:/github.com/llvm/llvm-project d6344c1cd0d099f8d99ee320f33fc9254dbe8288)
Target: wasm32-unknown-emscripten
eThread model: posix
InstalledDir: /Library/Automount/Internal/Applications/DevTools/emsdk/upstream/bin
ee
Metadata
Metadata
Assignees
Labels
No labels