Context:
Code Snippet
(async function () {
const response = await fetch(url)
const bytes = await response.arrayBuffer()
const module = await WebAssembly.compile(bytes)
return module
})()
Describe the bug
Throws an Error with the message Can't find variable: WebAssembly. Code works on Linux WebKit and macOS WebKit – WebAssembly is found.
@myobie Yes, there's no webassembly indeed. We have a summary table on what's in there and what's not for every platform:
https://github.com/microsoft/playwright/blob/master/docs/development/webkit.md
I don't think this is something that'll change in near future. +cc @yury-s to make sure I understand it right.
WebAssembly is currently disabled in WebKit Windows port upstream. I don't think anyone is actively working on enabling it there so it will likely be missing in WebKit Windows in the near future.
Gah, I missed that feature table. Thanks for the link and info. 🙇
Most helpful comment
@myobie Yes, there's no webassembly indeed. We have a summary table on what's in there and what's not for every platform:
https://github.com/microsoft/playwright/blob/master/docs/development/webkit.md
I don't think this is something that'll change in near future. +cc @yury-s to make sure I understand it right.