commit | 9e5fe6baf1dfd8ea7ba1456845a7e1f7256eeeaa | [log] [tgz] |
---|---|---|
author | John Leidegren <john.leidegren@gmail.com> | Tue Jul 03 12:08:37 2018 +0200 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Jul 05 01:42:17 2018 +0000 |
tree | 8a18505de2a9f095d4bf6a45a8827953c347bbd4 | |
parent | 7145f1c7c7dcd4506f2819166f073e92f57afbb7 [diff] |
misc/wasm: use "self" instead of "window" in web worker contexts There is no "window" global in a web worker context. Use "self" instead. Fixes #26192 Change-Id: I6c6f3db6c3d3d9ca00a473f8c18b849bc07a0017 Reviewed-on: https://go-review.googlesource.com/122055 Run-TryBot: Richard Musiol <neelance@gmail.com> Reviewed-by: Richard Musiol <neelance@gmail.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.