]> Cypherpunks repositories - gostls13.git/commitdiff
Revert "misc/wasm: add polyfill for TextEncoder/TextDecoder for Edge support"
authorBrad Fitzpatrick <bradfitz@golang.org>
Mon, 1 Oct 2018 22:59:11 +0000 (22:59 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Oct 2018 17:25:00 +0000 (17:25 +0000)
This reverts CL 131718, commit a0e7f12771c2e84e626dcf5e30da5d62a3b1adf6.

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>
misc/wasm/wasm_exec.html

index 7ccdf0abd24f3075413f99d610832c6d8d6dbe23..f5e21e40f335b1e180c69999cde5868c35bfe260 100644 (file)
@@ -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