summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-12-19 01:36:07 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-12-19 01:36:07 +0100
commit19ca30d1895f03e489972873a54417abf0476556 (patch)
tree5ddb309f406b6b8fcc9932739b31017941ab4150 /js
parent27862bdb9fc821b3e3195875152bc286421496ab (diff)
downloaduxp-19ca30d1895f03e489972873a54417abf0476556.tar.gz
Issue mcp-graveyard/UXP#1322 - Part 2: Remove --enable-sm-promise buildconfig switch.
Diffstat (limited to 'js')
-rw-r--r--js/moz.configure13
1 files changed, 0 insertions, 13 deletions
diff --git a/js/moz.configure b/js/moz.configure
index eadd0e9ab3..33bac0017b 100644
--- a/js/moz.configure
+++ b/js/moz.configure
@@ -37,19 +37,6 @@ def js_disable_shell(value):
set_config('JS_DISABLE_SHELL', js_disable_shell)
-# Use SpiderMonkey Promise implementation if it's enabled
-# =======================================================
-js_option('--enable-sm-promise', default=True,
- help='Enable SpiderMonkey promises')
-
-@depends('--enable-sm-promise')
-def sm_promise(value):
- if value:
- return True
-
-set_config('SPIDERMONKEY_PROMISE', sm_promise)
-set_define('SPIDERMONKEY_PROMISE', sm_promise)
-
# SpiderMonkey as a shared library, and how its symbols are exported
# ==================================================================
js_option('--disable-shared-js', default=building_js,