github-pages: ensure wasm resources can be loaded with Firefox

This commit is contained in:
Raymond Hill 2018-11-04 22:12:21 -02:00
parent a42513aa2f
commit e18ec4357e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 5 additions and 3 deletions

View File

@ -14,9 +14,9 @@
<div id="results-5" style="white-space:pre;font-family:mono"></div>
<div id="results-6" style="white-space:pre;font-family:mono"></div>
<!-- <script src="https://rawgithub.com/gorhill/uBlock/master/src/js/hntrie.js"></script> -->
<script src="https://rawcdn.githack.com/gorhill/uBlock/e83ffde5af29bd44ae529c5a60e2506970e7af34/src/js/hntrie.js"></script>
<script src="https://raw.githack.com/gorhill/uBlock/master/src/js/hntrie.js"></script>
<!-- script src="../../src/js/hntrie.js"></script> -->
<script src="hostname-pool.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.17.2/lodash.min.js"></script>

View File

@ -9,6 +9,7 @@
<div id="stdout"></div>
<script src="https://rawcdn.githack.com/gorhill/uBlock/e83ffde5af29bd44ae529c5a60e2506970e7af34/src/js/hntrie.js"></script>
<script src="https://raw.githack.com/gorhill/uBlock/master/src/js/hntrie.js"></script>
<!-- script src="../../src/js/hntrie.js"></script> -->
<script src="hostname-pool.js"></script>
<script>
const createRandomLabel = function() {

View File

@ -6,9 +6,10 @@
</head>
<body>
<h1>uBlock Origin tests</h1>
<p>Some of the pages below are hosted on <a href="raw.githack.com">raw.githack.com</a> in order to ensure some of the secondary resources can be properly loaded (specifically, the WebAssembly modules, as they <a href="https://github.com/WebAssembly/design/blob/master/Web.md#webassemblyinstantiatestreaming">requires to be loaded using same-origin policy</a>).</p>
<ul>
<li><a href="hntrie-test.html">HNTrie: tests</a>
<li><a href="hnset-benchmark.html">HNTrie: benchmarks</a>
<li><a href="https://raw.githack.com/gorhill/uBlock/master/docs/tests/hntrie-test.html">HNTrie: tests</a>
<li><a href="https://raw.githack.com/gorhill/uBlock/master/docs/tests/hnset-benchmark.html">HNTrie: benchmarks</a>
</ul>
</body>
</html>