Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OriginTrial enablement for 'WebAssembly JSPI' seems to fail in ServiceWorker #32

Open
rentallect opened this issue Apr 18, 2024 · 0 comments

Comments

@rentallect
Copy link

Although setting the meta http-equiv="origin-trial" content="<MYTOKEN>" does succeed in turning on the JSPI flag in the page...

...If I attempt to load WASM that requires JSPI in the ServiceWorker my page registers, I get the familiar WebAssembly.Function is not a constructor error (as though the JSPI flag wasn't enabled).

Is there something additional that needs to be done during SW registration to inform that side that JSPI is indeed supposed to be enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant