dom/apps/tests/asmjs/index.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/apps/tests/asmjs/index.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <meta charset="utf-8">
     1.8 +  <title>Asm.js test helper</title>
     1.9 +</head>
    1.10 +<body>
    1.11 +<script src="asmjsmodule.js" async></script>
    1.12 +<script>
    1.13 +
    1.14 +function ok(aCondition, aMessage) {
    1.15 +  if (aCondition) {
    1.16 +    alert("OK: " + aMessage);
    1.17 +  } else {
    1.18 +    alert("ERROR: " + aMessage);
    1.19 +  }
    1.20 +}
    1.21 +
    1.22 +</script>
    1.23 +</body>
    1.24 +</html>

mercurial