emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.36k stars 3.25k forks source link

Replace XMLHttpRequest with fetch in library_trace.js. NFC #22068

Closed sbc100 closed 3 weeks ago

sbc100 commented 3 weeks ago

I think the existing code here might actually be broken/untested since the loadWorkerViaXHR call it's ready callback with 2 arguments but the callsite passed a function that expects a single argument.