diff options
author | New Tobin Paradigm <email@mattatobin.com> | 2019-12-18 23:07:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-18 23:07:31 -0500 |
commit | 3332f584c829aaac455d688c6c073937442c4c7f (patch) | |
tree | 741e4325721d1d8d9970e075320262097d3cbeb1 /dom/bindings/ToJSValue.h | |
parent | 8220776c9b2e8291f0414f98ac20fbda30e00d2e (diff) | |
parent | c7ae364a887e9fb77196596d6e4345b455ab209f (diff) | |
download | UXP-3332f584c829aaac455d688c6c073937442c4c7f.tar UXP-3332f584c829aaac455d688c6c073937442c4c7f.tar.gz UXP-3332f584c829aaac455d688c6c073937442c4c7f.tar.lz UXP-3332f584c829aaac455d688c6c073937442c4c7f.tar.xz UXP-3332f584c829aaac455d688c6c073937442c4c7f.zip |
Merge pull request #1330 from MoonchildProductions/DOM-promise-removal
DOM `Promise` removal
Diffstat (limited to 'dom/bindings/ToJSValue.h')
-rw-r--r-- | dom/bindings/ToJSValue.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/bindings/ToJSValue.h b/dom/bindings/ToJSValue.h index 2021c0b4c..76e91c7bc 100644 --- a/dom/bindings/ToJSValue.h +++ b/dom/bindings/ToJSValue.h @@ -306,13 +306,11 @@ ToJSValue(JSContext* aCx, return ToJSValue(aCx, *aArgument, aValue); } -#ifdef SPIDERMONKEY_PROMISE // Accept Promise objects, which need special handling. MOZ_MUST_USE bool ToJSValue(JSContext* aCx, Promise& aArgument, JS::MutableHandle<JS::Value> aValue); -#endif // SPIDERMONKEY_PROMISE // Accept arrays of other things we accept template <typename T> |