mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add XRLayerEvent
This commit is contained in:
parent
611c57bfdf
commit
c4dd171dfb
6 changed files with 112 additions and 6 deletions
|
@ -3,12 +3,11 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://immersive-web.github.io/layers/#xrlayerevent-interface
|
||||
|
||||
// [SecureContext, Exposed=Window]
|
||||
// interface XRLayerEvent : Event {
|
||||
// constructor(DOMString type, XRLayerEventInit eventInitDict);
|
||||
// [SameObject] readonly attribute XRLayer layer;
|
||||
// };
|
||||
[SecureContext, Exposed=Window, Pref="dom.webxr.layers.enabled"]
|
||||
interface XRLayerEvent : Event {
|
||||
constructor(DOMString type, XRLayerEventInit eventInitDict);
|
||||
[SameObject] readonly attribute XRLayer layer;
|
||||
};
|
||||
|
||||
dictionary XRLayerEventInit : EventInit {
|
||||
required XRLayer layer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue