Commit ed969a0c authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

Revert "misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support"

This reverts CL 131718, commit a0e7f127.

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/138937Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 9ec5d9c1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment