tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

FrameCrashedEvent.webidl (1057B)


      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 
      7 [ChromeOnly,
      8 Exposed=Window]
      9 interface FrameCrashedEvent : Event
     10 {
     11  constructor(DOMString type,
     12              optional FrameCrashedEventInit eventInitDict = {});
     13 
     14  /**
     15   * The browsingContextId of the frame that crashed.
     16   */
     17  readonly attribute unsigned long long browsingContextId;
     18 
     19  /**
     20   * True if the top-most frame crashed.
     21   */
     22  readonly attribute boolean isTopFrame;
     23 
     24  /**
     25   * Internal process identifier of the frame that crashed. This will be
     26   * 0 if this identifier is not known, for example a process that failed
     27   * to start.
     28   */
     29  readonly attribute unsigned long long childID;
     30 };
     31 
     32 dictionary FrameCrashedEventInit : EventInit
     33 {
     34  unsigned long long browsingContextId = 0;
     35  boolean isTopFrame = true;
     36  unsigned long long childID = 0;
     37 };