From aea1fd640e01b5e36fb5e9f435681d8d4501d6f5 Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Wed, 4 Apr 2018 21:36:19 +0200 Subject: Bug 1288768 - Better error reporting for network errors in workers --- dom/events/Event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dom/events/Event.h') diff --git a/dom/events/Event.h b/dom/events/Event.h index c28226e8a..0817aa809 100755 --- a/dom/events/Event.h +++ b/dom/events/Event.h @@ -142,6 +142,10 @@ public: LayoutDeviceIntPoint aPoint, CSSIntPoint aDefaultPoint); + static already_AddRefed Constructor(EventTarget* aEventTarget, + const nsAString& aType, + const EventInit& aParam); + static already_AddRefed Constructor(const GlobalObject& aGlobal, const nsAString& aType, const EventInit& aParam, -- cgit v1.2.3