mirror of https://github.com/golang/go.git
Revert "misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support"
This reverts CL 131718, commit a0e7f12771.
Reason for revert: adds request overhead & dependency on third-party service for all users regardless of whether it's necessary.
Updates #27295
Change-Id: I4a8a9b0c8e4a3198c884dfbd90ba36734f70a9a9
Reviewed-on: https://go-review.googlesource.com/138937
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
9ec5d9c15b
commit
ed969a0c27
|
|
@ -12,11 +12,6 @@ license that can be found in the LICENSE file.
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<!--
|
||||
Polyfill for TextEncoder and TextDecoder for Microsoft Edge 17/18 support
|
||||
https://caniuse.com/#feat=textencoder
|
||||
-->
|
||||
<script src="https://cdn.jsdelivr.net/npm/text-encoding@0.7.0/lib/encoding.min.js"></script>
|
||||
<script src="wasm_exec.js"></script>
|
||||
<script>
|
||||
if (!WebAssembly.instantiateStreaming) { // polyfill
|
||||
|
|
|
|||
Loading…
Reference in New Issue