summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-01 10:17:38 (GMT)
committerGitHub <noreply@github.com>2022-07-01 10:17:38 (GMT)
commit9fa966136fd026ecb74a21b4d63b699d3d40b977 (patch)
tree01a7cb0923b9c21b938ea734f34db469e9f1eb9e
parentca58ca8641267c67dc6a7e67ee4009906b350bbb (diff)
downloadcpython-9fa966136fd026ecb74a21b4d63b699d3d40b977.zip
cpython-9fa966136fd026ecb74a21b4d63b699d3d40b977.tar.gz
cpython-9fa966136fd026ecb74a21b4d63b699d3d40b977.tar.bz2
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH-93953)
(cherry picked from commit 1df9449db24f16c9c96bdd7dc283a5062bca68e6) Co-authored-by: Petr Viktorin <encukou@gmail.com>
-rw-r--r--Tools/wasm/python.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/wasm/python.html b/Tools/wasm/python.html
index 41cf5fc..17ffa0e 100644
--- a/Tools/wasm/python.html
+++ b/Tools/wasm/python.html
@@ -7,7 +7,7 @@
<meta name="author" content="Katie Bell">
<meta name="description" content="Simple REPL for Python WASM">
<title>wasm-python terminal</title>
- <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin/>
+ <link rel="stylesheet" href="https://unpkg.com/xterm@4.18.0/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
<style>
body {
font-family: arial;
@@ -32,7 +32,7 @@
padding: 6px 18px;
}
</style>
- <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin></script>
+ <script src="https://unpkg.com/xterm@4.18.0/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
<script type="module">
class WorkerManager {
constructor(workerURL, standardIO, readyCallBack) {