dom/interfaces/events/nsIDOMPopupBlockedEvent.idl

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     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
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 #include "nsIDOMEvent.idl"
     8 interface nsIURI;
    10 /**
    11  * The nsIDOMPopupBlockedEvent interface is the datatype for events
    12  * posted when a popup window is blocked.
    13  */
    15 [scriptable, builtinclass, uuid(f6e77f79-d178-419d-8177-dfae4392d318)]
    16 interface nsIDOMPopupBlockedEvent : nsIDOMEvent
    17 {
    18   /**
    19    * The window object that attempted to open the blocked popup
    20    * (i.e. the window object on which open() was called).
    21    */
    22   readonly attribute nsIDOMWindow requestingWindow;
    25   /**
    26    * The URI of the window that was blocked.
    27    */
    28   readonly attribute nsIURI popupWindowURI;
    30   /**
    31    * The window name passed to the window.open() call
    32    * (as the second argument)
    33    */
    34   readonly attribute DOMString popupWindowName;
    36   /**
    37    * The string of features passed to the window.open() call
    38    * (as the third argument)
    39    */
    40   readonly attribute DOMString popupWindowFeatures;
    42   void initPopupBlockedEvent(in DOMString typeArg,
    43                              in boolean canBubbleArg,
    44                              in boolean cancelableArg,
    45                              in nsIDOMWindow requestingWindow,
    46                              in nsIURI popupWindowURI,
    47                              in DOMString popupWindowName,
    48                              in DOMString popupWindowFeatures);
    49 };

mercurial