diff options
author | Moonchild <moonchild@palemoon.org> | 2023-04-09 13:38:38 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-04-09 13:38:38 +0000 |
commit | b62bf0c4b7e70f3bfcc1915526e158712aef1211 (patch) | |
tree | 4ed5780064051bd9b8c0d4be5d1bebfcb65d0f44 /dom/base/nsGlobalWindow.h | |
parent | c01fd8ec19ea7f170cf56241ce2ee803f4e2adc2 (diff) | |
parent | 78e4526d55adc049eacc6031fafd66fbe9a7e315 (diff) | |
download | uxp-b62bf0c4b7e70f3bfcc1915526e158712aef1211.tar.gz |
Merge pull request 'Implement window.event' (#2207) from FranklinDM/UXP-contrib:work_js-window-event into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2207
Diffstat (limited to 'dom/base/nsGlobalWindow.h')
-rw-r--r-- | dom/base/nsGlobalWindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h index e42835a0b2..e593890af0 100644 --- a/dom/base/nsGlobalWindow.h +++ b/dom/base/nsGlobalWindow.h @@ -845,6 +845,7 @@ public: already_AddRefed<nsPIDOMWindowOuter> GetOpener() override; void SetOpener(JSContext* aCx, JS::Handle<JS::Value> aOpener, mozilla::ErrorResult& aError); + void GetEvent(JSContext* aCx, JS::MutableHandle<JS::Value> aRetval); already_AddRefed<nsPIDOMWindowOuter> GetParentOuter(); already_AddRefed<nsPIDOMWindowOuter> GetParent(mozilla::ErrorResult& aError); already_AddRefed<nsPIDOMWindowOuter> GetParent() override; |