mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Issue #1322 - Part 1: Remove the DOM Promise guts.
This removes all the parts guarded by SPIDERMONKEY_PROMISE
This commit is contained in:
parent
ad9793b896
commit
40f99b202a
27 changed files with 66 additions and 4009 deletions
|
|
@ -7,9 +7,7 @@
|
|||
#include "mozilla/dom/ToJSValue.h"
|
||||
#include "mozilla/dom/DOMException.h"
|
||||
#include "mozilla/dom/Exceptions.h"
|
||||
#ifdef SPIDERMONKEY_PROMISE
|
||||
#include "mozilla/dom/Promise.h"
|
||||
#endif // SPIDERMONKEY_PROMISE
|
||||
#include "nsAString.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsStringBuffer.h"
|
||||
|
|
@ -66,7 +64,6 @@ ToJSValue(JSContext* aCx,
|
|||
return true;
|
||||
}
|
||||
|
||||
#ifdef SPIDERMONKEY_PROMISE
|
||||
bool
|
||||
ToJSValue(JSContext* aCx, Promise& aArgument,
|
||||
JS::MutableHandle<JS::Value> aValue)
|
||||
|
|
@ -74,7 +71,6 @@ ToJSValue(JSContext* aCx, Promise& aArgument,
|
|||
aValue.setObject(*aArgument.PromiseObj());
|
||||
return true;
|
||||
}
|
||||
#endif // SPIDERMONKEY_PROMISE
|
||||
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue