mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b6a2088f23
--HG-- extra : rebase_source : 61f561551b225697fe16b084d9b30577a3ff46b2
37 lines
1.0 KiB
HTML
37 lines
1.0 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=854209
|
|
-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>asm.js browser tests</title>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
</head>
|
|
<body>
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=854209">asm.js browser tests</a>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none"></div>
|
|
<pre id="test"></pre>
|
|
|
|
<script>
|
|
var jsFuns = SpecialPowers.Cu.getJSTestingFunctions();
|
|
ok(jsFuns.isAsmJSCompilationAvailable());
|
|
</script>
|
|
|
|
<script src="http://mochi.test:8888/tests/js/xpconnect/tests/mochitest/file_asmjs.js"></script>
|
|
|
|
<script>
|
|
var w = new Worker('http://mochi.test:8888/tests/js/xpconnect/tests/mochitest/file_asmjs.js');
|
|
w.onmessage = function(e) {
|
|
ok(e.data === "ok", "Worker asm.js tests");
|
|
SimpleTest.finish();
|
|
}
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|