1
0
mirror of https://github.com/golang/go synced 2024-11-23 02:00:03 -07:00
go/misc/wasm
Jake B a0e7f12771 misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support
Edge supports WASM but not TextEncoder or TextDecoder.
This PR adds a polyfill to `misc/wasm/wasm_exec.js` to fix this.

Fixes #27295

Change-Id: Ie35ee5604529b170a5dc380eb286f71bdd691d3e
GitHub-Last-Rev: a587edae28
GitHub-Pull-Request: golang/go#27296
Reviewed-on: https://go-review.googlesource.com/131718
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: Richard Musiol <neelance@gmail.com>
2018-09-29 10:07:58 +00:00
..
go_js_wasm_exec misc/wasm: add scripts for running WebAssembly binaries 2018-03-30 05:13:31 +00:00
wasm_exec.html misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support 2018-09-29 10:07:58 +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