summaryrefslogtreecommitdiff
path: root/dom/events/Event.h
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-04 21:36:19 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-04 21:36:19 +0200
commitaea1fd640e01b5e36fb5e9f435681d8d4501d6f5 (patch)
treeb60e6c7937103afdd7cd158292c07ae2c7abbb95 /dom/events/Event.h
parent3968897fb4b227b1a634700cbeaea715e58ac543 (diff)
downloaduxp-aea1fd640e01b5e36fb5e9f435681d8d4501d6f5.tar.gz
Bug 1288768 - Better error reporting for network errors in workers
Diffstat (limited to 'dom/events/Event.h')
-rwxr-xr-xdom/events/Event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/events/Event.h b/dom/events/Event.h
index c28226e8af..0817aa809e 100755
--- a/dom/events/Event.h
+++ b/dom/events/Event.h
@@ -142,6 +142,10 @@ public:
LayoutDeviceIntPoint aPoint,
CSSIntPoint aDefaultPoint);
+ static already_AddRefed<Event> Constructor(EventTarget* aEventTarget,
+ const nsAString& aType,
+ const EventInit& aParam);
+
static already_AddRefed<Event> Constructor(const GlobalObject& aGlobal,
const nsAString& aType,
const EventInit& aParam,