1
0
mirror of https://github.com/golang/go synced 2024-09-23 23:20:14 -06:00
go/misc/wasm
John Leidegren 9e5fe6baf1 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>
2018-07-05 01:42:17 +00:00
..
go_js_wasm_exec
wasm_exec.html misc/wasm: make wasm_exec.js more flexible 2018-05-18 18:16:50 +00:00
wasm_exec.js misc/wasm: use "self" instead of "window" in web worker contexts 2018-07-05 01:42:17 +00:00