summaryrefslogtreecommitdiff
path: root/dom/base/nsGlobalWindow.h
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-04-07 12:04:38 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-04-07 23:41:54 +0800
commit0206e87a2ef3ba0769de3589d4a99ba5959918f5 (patch)
treea13c21c7ca686427b01b66bc8f856056388ccd9a /dom/base/nsGlobalWindow.h
parent253c711a922193c41a151e12dd81179624921841 (diff)
downloaduxp-0206e87a2ef3ba0769de3589d4a99ba5959918f5.tar.gz
Issue #2197 - Part 1b: Transferables should be arrays of objects
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1336020
Diffstat (limited to 'dom/base/nsGlobalWindow.h')
-rw-r--r--dom/base/nsGlobalWindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h
index f4829ccac8..8c961e2014 100644
--- a/dom/base/nsGlobalWindow.h
+++ b/dom/base/nsGlobalWindow.h
@@ -933,9 +933,9 @@ public:
void Print(mozilla::ErrorResult& aError);
void PostMessageMoz(JSContext* aCx, JS::Handle<JS::Value> aMessage,
const nsAString& aTargetOrigin,
- const mozilla::dom::Sequence<JS::Value>& aTransfer,
+ const mozilla::dom::Sequence<JSObject*>& aTransfer,
nsIPrincipal& aSubjectPrincipal,
- mozilla::ErrorResult& aError);
+ mozilla::ErrorResult& aRv);
int32_t SetTimeout(JSContext* aCx, mozilla::dom::Function& aFunction,
int32_t aTimeout,
const mozilla::dom::Sequence<JS::Value>& aArguments,