Loading dom/chrome-webidl/RedirectBlockedEvent.webidl 0 → 100644 +23 −0 Original line number Diff line number Diff line /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ interface URI; [ChromeOnly, Exposed=Window] interface RedirectBlockedEvent : Event { constructor(DOMString type, optional RedirectBlockedEventInit eventInitDict = {}); readonly attribute Window? requestingWindow; readonly attribute URI? redirectURI; }; dictionary RedirectBlockedEventInit : EventInit { Window? requestingWindow = null; URI? redirectURI = null; }; dom/chrome-webidl/moz.build +1 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ GENERATED_EVENTS_WEBIDL_FILES = [ "CSSCustomPropertyRegisteredEvent.webidl", "PluginCrashedEvent.webidl", "PopupPositionedEvent.webidl", "RedirectBlockedEvent.webidl", "StyleSheetApplicableStateChangeEvent.webidl", "StyleSheetRemovedEvent.webidl", ] Loading Loading
dom/chrome-webidl/RedirectBlockedEvent.webidl 0 → 100644 +23 −0 Original line number Diff line number Diff line /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ interface URI; [ChromeOnly, Exposed=Window] interface RedirectBlockedEvent : Event { constructor(DOMString type, optional RedirectBlockedEventInit eventInitDict = {}); readonly attribute Window? requestingWindow; readonly attribute URI? redirectURI; }; dictionary RedirectBlockedEventInit : EventInit { Window? requestingWindow = null; URI? redirectURI = null; };
dom/chrome-webidl/moz.build +1 −0 Original line number Diff line number Diff line Loading @@ -115,6 +115,7 @@ GENERATED_EVENTS_WEBIDL_FILES = [ "CSSCustomPropertyRegisteredEvent.webidl", "PluginCrashedEvent.webidl", "PopupPositionedEvent.webidl", "RedirectBlockedEvent.webidl", "StyleSheetApplicableStateChangeEvent.webidl", "StyleSheetRemovedEvent.webidl", ] Loading