Bug 1886946: Remove incorrect assertion that buffer is not-pinned. r=sfink
[gecko.git] / dom / webidl / VRDisplayEvent.webidl
blob41407ec615079d7af78d56a6dd366de8f0e7dd1b
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 enum VRDisplayEventReason {
7   "mounted",
8   "navigation",
9   "requested",
10   "unmounted",
13 dictionary VRDisplayEventInit : EventInit {
14   required VRDisplay display;
15   VRDisplayEventReason reason;
18 [Pref="dom.vr.enabled",
19  SecureContext,
20  Exposed=Window]
21 interface VRDisplayEvent : Event {
22   constructor(DOMString type, VRDisplayEventInit eventInitDict);
24   readonly attribute VRDisplay display;
25   readonly attribute VRDisplayEventReason? reason;