From: Jake B Date: Sat, 29 Sep 2018 04:06:00 +0000 (+0000) Subject: misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support X-Git-Tag: go1.12beta1~968 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a0e7f12771c2e84e626dcf5e30da5d62a3b1adf6;p=gostls13.git 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: a587edae2806e1ca9b6be1c5dfd8824568373bdb GitHub-Pull-Request: golang/go#27296 Reviewed-on: https://go-review.googlesource.com/131718 Reviewed-by: Agniva De Sarker Reviewed-by: Richard Musiol --- diff --git a/misc/wasm/wasm_exec.html b/misc/wasm/wasm_exec.html index f5e21e40f3..7ccdf0abd2 100644 --- a/misc/wasm/wasm_exec.html +++ b/misc/wasm/wasm_exec.html @@ -12,6 +12,11 @@ license that can be found in the LICENSE file. + +