]> Cypherpunks.ru repositories - gostls13.git/commit
misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support
authorJake B <doogie1012@gmail.com>
Sat, 29 Sep 2018 04:06:00 +0000 (04:06 +0000)
committerRichard Musiol <neelance@gmail.com>
Sat, 29 Sep 2018 10:07:58 +0000 (10:07 +0000)
commita0e7f12771c2e84e626dcf5e30da5d62a3b1adf6
treebdddfcc05a1a5da32b24db2d1e48935b22714bb3
parentd1f7470c217691dca4e339c77bf8c4175b8db168
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 <agniva.quicksilver@gmail.com>
Reviewed-by: Richard Musiol <neelance@gmail.com>
misc/wasm/wasm_exec.html