Skip to content

Commit

Permalink
gh-84461: Tool/wasm/python.html: Add subresource integrity hashes (GH…
Browse files Browse the repository at this point in the history
…-93953)

(cherry picked from commit 1df9449)

Co-authored-by: Petr Viktorin <[email protected]>
  • Loading branch information
miss-islington and encukou authored Jul 1, 2022
1 parent ca58ca8 commit 9fa9661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/wasm/python.html
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/css/xterm.css" crossorigin/>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/xterm.css" crossorigin integrity="sha384-4eEEn/eZgVHkElpKAzzPx/Kow/dTSgFk1BNe+uHdjHa+NkZJDh5Vqkq31+y7Eycd"/>
<style>
body {
font-family: arial;
Expand All @@ -32,7 +32,7 @@
padding: 6px 18px;
}
</style>
<script src="https://unpkg.com/[email protected]/lib/xterm.js" crossorigin></script>
<script src="https://unpkg.com/[email protected]/lib/xterm.js" crossorigin integrity="sha384-yYdNmem1ioP5Onm7RpXutin5A8TimLheLNQ6tnMi01/ZpxXdAwIm2t4fJMx1Djs+"/></script>
<script type="module">
class WorkerManager {
constructor(workerURL, standardIO, readyCallBack) {
Expand Down

0 comments on commit 9fa9661

Please sign in to comment.