summaryrefslogtreecommitdiffstats
path: root/Tools/wasm
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2022-07-01 09:54:30 (GMT)
committerGitHub <noreply@github.com>2022-07-01 09:54:30 (GMT)
commit1df9449db24f16c9c96bdd7dc283a5062bca68e6 (patch)
tree86c55f8486f29e1a80e33686a890592610f60a76 /Tools/wasm
parenta8e333d79aa639417e496181bcbad2cb801a7a56 (diff)
downloadcpython-1df9449db24f16c9c96bdd7dc283a5062bca68e6.zip
cpython-1df9449db24f16c9c96bdd7dc283a5062bca68e6.tar.gz
cpython-1df9449db24f16c9c96bdd7dc283a5062bca68e6.tar.bz2
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (#93953)
Diffstat (limited to 'Tools/wasm')
-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) {