Backed out changeset 2a94e8bad21e (bug 1874716) for causing CXX related build bustage...
[gecko.git] / dom / webidl / PopupBlockedEvent.webidl
blob888dc3899d4a7fe2ba6084444c974429c4802ac4
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
6 interface URI;
8 [Exposed=Window]
9 interface PopupBlockedEvent : Event
11   constructor(DOMString type,
12               optional PopupBlockedEventInit eventInitDict = {});
14   readonly attribute Window? requestingWindow;
15   readonly attribute URI? popupWindowURI;
16   readonly attribute DOMString? popupWindowName;
17   readonly attribute DOMString? popupWindowFeatures;
20 dictionary PopupBlockedEventInit : EventInit
22   Window? requestingWindow = null;
23   URI? popupWindowURI = null;
24   DOMString popupWindowName = "";
25   DOMString popupWindowFeatures = "";