Bug 1892041 - Part 1: Update test262 features. r=spidermonkey-reviewers,dminor
[gecko.git] / dom / webidl / FrameCrashedEvent.webidl
blobb6d88f275763fcf4995f1583018b3da06a42bba7
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  */
7 [ChromeOnly,
8  Exposed=Window]
9 interface FrameCrashedEvent : Event
11   constructor(DOMString type,
12               optional FrameCrashedEventInit eventInitDict = {});
14   /**
15    * The browsingContextId of the frame that crashed.
16    */
17   readonly attribute unsigned long long browsingContextId;
19   /**
20    * True if the top-most frame crashed.
21    */
22   readonly attribute boolean isTopFrame;
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;
32 dictionary FrameCrashedEventInit : EventInit
34   unsigned long long browsingContextId = 0;
35   boolean isTopFrame = true;
36   unsigned long long childID = 0;