summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-09 08:09:52 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-09 08:09:52 +0100
commita1a0b03046f68f4b0a22b9ec3086942551fbf469 (patch)
tree69920917667f18abc0ab55be34dff3811ac3fc10 /js
parentb61927d4cdb92636758c4c80d5050b3266486529 (diff)
downloadUXP-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 'js')
-rw-r--r--js/src/jsapi.h1
-rw-r--r--js/src/wasm/AsmJS.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index 9ad3e757f..de1425c9b 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -5999,7 +5999,6 @@ enum AsmJSCacheResult
AsmJSCache_Disabled_JitInspector,
AsmJSCache_InternalError,
AsmJSCache_Disabled_PrivateBrowsing,
- AsmJSCache_ESR52,
AsmJSCache_LIMIT
};
diff --git a/js/src/wasm/AsmJS.cpp b/js/src/wasm/AsmJS.cpp
index 6964c5d62..34f5a8c0d 100644
--- a/js/src/wasm/AsmJS.cpp
+++ b/js/src/wasm/AsmJS.cpp
@@ -8661,9 +8661,6 @@ BuildConsoleMessage(ExclusiveContext* cx, unsigned time, JS::AsmJSCacheResult ca
case JS::AsmJSCache_Disabled_PrivateBrowsing:
cacheString = "caching disabled by private browsing mode";
break;
- case JS::AsmJSCache_ESR52:
- cacheString = "caching disabled in Firefox ESR52";
- break;
case JS::AsmJSCache_LIMIT:
MOZ_CRASH("bad AsmJSCacheResult");
break;