summaryrefslogtreecommitdiffstats
path: root/dom/promise/Promise.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/promise/Promise.h
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/promise/Promise.h')
-rw-r--r--dom/promise/Promise.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/promise/Promise.h b/dom/promise/Promise.h
index 76c657d5a6..f2b70a95cd 100644
--- a/dom/promise/Promise.h
+++ b/dom/promise/Promise.h
@@ -255,13 +255,6 @@ class Promise : public SupportsWeakPtr {
PropagateUserInteraction aPropagateUserInteraction =
eDontPropagateUserInteraction);
- void Then(JSContext* aCx,
- // aCalleeGlobal may not be in the compartment of aCx, when called
- // over Xrays.
- JS::Handle<JSObject*> aCalleeGlobal, AnyCallback* aResolveCallback,
- AnyCallback* aRejectCallback, JS::MutableHandle<JS::Value> aRetval,
- ErrorResult& aRv);
-
template <typename Callback, typename... Args>
using IsHandlerCallback =
std::is_same<already_AddRefed<Promise>,