diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-09 08:09:52 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-09 08:09:52 +0100 |
commit | a1a0b03046f68f4b0a22b9ec3086942551fbf469 (patch) | |
tree | 69920917667f18abc0ab55be34dff3811ac3fc10 /dom/asmjscache/test/test_cachingMulti.html | |
parent | b61927d4cdb92636758c4c80d5050b3266486529 (diff) | |
download | UXP-a1a0b03046f68f4b0a22b9ec3086942551fbf469.tar UXP-a1a0b03046f68f4b0a22b9ec3086942551fbf469.tar.gz UXP-a1a0b03046f68f4b0a22b9ec3086942551fbf469.tar.lz UXP-a1a0b03046f68f4b0a22b9ec3086942551fbf469.tar.xz UXP-a1a0b03046f68f4b0a22b9ec3086942551fbf469.zip |
Re-enable asm.js caching
Diffstat (limited to 'dom/asmjscache/test/test_cachingMulti.html')
-rw-r--r-- | dom/asmjscache/test/test_cachingMulti.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/asmjscache/test/test_cachingMulti.html b/dom/asmjscache/test/test_cachingMulti.html index ca092fda0..ceaf75812 100644 --- a/dom/asmjscache/test/test_cachingMulti.html +++ b/dom/asmjscache/test/test_cachingMulti.html @@ -36,7 +36,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=944821 code2 += "return g" + i + ";\n"; code2 += "}\n"; code2 += "ok(jsFuns.isAsmJSModule(f), 'f is an asm.js module')\n"; - code2 += "if (assertCacheHit) ok(!jsFuns.isAsmJSModuleLoadedFromCache(f), 'cache disabled');\n"; + code2 += "if (assertCacheHit) ok(jsFuns.isAsmJSModuleLoadedFromCache(f), 'cache hit');\n"; code2 += "var gX = f();\n"; code2 += "ok(jsFuns.isAsmJSFunction(gX), 'gX is an asm.js function')\n"; code2 += "ok(gX() === " + i + ", 'gX returns the correct result')\n"; |