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 */ 6interface URI; 7 8[Exposed=Window] 9interface PopupBlockedEvent : Event 10{ 11 constructor(DOMString type, 12 optional PopupBlockedEventInit eventInitDict = {}); 13 14 readonly attribute Window? requestingWindow; 15 readonly attribute URI? popupWindowURI; 16 readonly attribute DOMString? popupWindowName; 17 readonly attribute DOMString? popupWindowFeatures; 18}; 19 20dictionary PopupBlockedEventInit : EventInit 21{ 22 Window? requestingWindow = null; 23 URI? popupWindowURI = null; 24 DOMString popupWindowName = ""; 25 DOMString popupWindowFeatures = ""; 26}; 27