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/.
9 interface FrameCrashedEvent : Event
11 constructor(DOMString type,
12 optional FrameCrashedEventInit eventInitDict = {});
15 * The browsingContextId of the frame that crashed.
17 readonly attribute unsigned long long browsingContextId;
20 * True if the top-most frame crashed.
22 readonly attribute boolean isTopFrame;
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
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;