summaryrefslogtreecommitdiff
path: root/dom/base/nsGlobalWindow.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-08-15 11:45:53 +0000
committerMoonchild <moonchild@palemoon.org>2021-08-15 11:45:53 +0000
commita5a14974a1c47e9359927e2c80926f689f7bf9c6 (patch)
tree8cf24927ca044ba2c278fe540ef096186a62b40b /dom/base/nsGlobalWindow.h
parent9baa17379ea6281bb47c66b7932d80e8d3362406 (diff)
downloaduxp-a5a14974a1c47e9359927e2c80926f689f7bf9c6.tar.gz
Issue #1797 - Implement WindowOrWorkerGlobalScope.origin
Resolves #1797
Diffstat (limited to 'dom/base/nsGlobalWindow.h')
-rw-r--r--dom/base/nsGlobalWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h
index c9c661dd53..00ac023fce 100644
--- a/dom/base/nsGlobalWindow.h
+++ b/dom/base/nsGlobalWindow.h
@@ -958,6 +958,7 @@ public:
mozilla::ErrorResult& aError);
void Btoa(const nsAString& aBinaryData, nsAString& aAsciiBase64String,
mozilla::ErrorResult& aError);
+ void GetOrigin(nsAString& aOrigin);
mozilla::dom::DOMStorage* GetSessionStorage(mozilla::ErrorResult& aError);
mozilla::dom::DOMStorage*
GetLocalStorage(mozilla::ErrorResult& aError);