1
0
mirror of https://github.com/golang/go synced 2024-11-18 06:04:53 -07:00
go/misc/wasm
Agniva De Sarker e2e44a5d16 misc/wasm: handle error during instantiateStreaming
The same catch block is there in wasm_exec.js for node processes.
Added it in browser invocations too, to prevent uncaught exceptions.

Change-Id: Icab577ec585fa86df3c76db508b49401bcdb52ae
Reviewed-on: https://go-review.googlesource.com/132916
Reviewed-by: Richard Musiol <neelance@gmail.com>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-09-04 07:02:45 +00:00
..
go_js_wasm_exec
wasm_exec.html misc/wasm: handle error during instantiateStreaming 2018-09-04 07:02:45 +00:00
wasm_exec.js syscall/js: move callback helper code to misc/wasm to avoid using eval() 2018-08-01 21:45:11 +00:00