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
wasm_exec.js not working in Gnome3+ Extensions #41482
Comments
Working on that in abergmeier#1 |
Thanks for the report. Yet another environment to support :) /cc @neelance |
We can check for the existence of |
I have Now even though I might be able to fix all this (an then have to get through the horrible Gerrit process), how would we test, that this does not break with future GJS/Golang releases? |
Will take the more portable browser implementation now. And thus the current js implementation should be sufficient. |
Change https://golang.org/cl/261357 mentions this issue: |
wasm_exec.js expects that either "require" is available or that the globals "crypto", "TextEncoder" and "TextDecoder" are already defined. Report a better error message if this is not the case, suggesting the use of a polyfill. Updates #41482 Change-Id: I5473cae15c98ae42e39f5928245b7762e7a5a8bf Reviewed-on: https://go-review.googlesource.com/c/go/+/261357 Trust: Richard Musiol <neelance@gmail.com> Run-TryBot: Richard Musiol <neelance@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What did you do?
What did you expect to see?
Should load just fine.
What did you see instead?
Errors with:
Seems like the problem is with using
So probably there is the need to define a
require
.The text was updated successfully, but these errors were encountered: