-
Notifications
You must be signed in to change notification settings - Fork 18k
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
syscall/js: add Scope function #56867
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
This PR (HEAD: 0a56fea) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/452356 to see it. Tip: You can toggle comments from me using the |
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be During May-July and Nov-Jan the Go project is in a code freeze, during which Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
Message from Cherry Mui: Patch Set 1: Run-TryBot+1 Code-Review+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
Message from Gopher Robot: Patch Set 1: TryBot-Result+1 (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
Message from Richard Musiol: Patch Set 1: (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
Message from Romain Doumenc: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
This PR (HEAD: 37e3779) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/452356 to see it. Tip: You can toggle comments from me using the |
Message from Romain Doumenc: Patch Set 3: (6 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/452356. |
@neelance : just checking if the patch set in Gerrit is correctly attributed for review – first time there, I find it utterly confusing. |
This PR (HEAD: 6a3e019) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/go/+/452356 to see it. Tip: You can toggle comments from me using the |
This PR (HEAD: 10a01cd) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/452356. Important tips:
|
This PR (HEAD: 44a0f15) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/452356. Important tips:
|
Fixes golang#56084 This changes allow to pass an arbitrary object from the JS world to the WASM program. - if no object is provided, globalThis is returned instead. - the scope object is derive from internal jsGo object, avoiding a possible ID clash when the scope is unset (so left as globalThis) - test uses a dummy object to perform a simple get/set action. Change-Id: I71afd43f6b32d04b76c3760ac5b2cb6c0c9dbd73 GitHub-Last-Rev: 44a0f15 GitHub-Pull-Request: golang#56867
This PR (HEAD: 208ec4a) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/452356. Important tips:
|
This PR (HEAD: 9160fba) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/452356. Important tips:
|
Fixes #56084
This changes allow to pass an arbitrary object from the JS world to the WASM program.