aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/EventHandler.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/EventHandler.webidl')
-rw-r--r--components/script/dom/webidls/EventHandler.webidl11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/webidls/EventHandler.webidl b/components/script/dom/webidls/EventHandler.webidl
index 7bd04bf9e89..7bd06db5a87 100644
--- a/components/script/dom/webidls/EventHandler.webidl
+++ b/components/script/dom/webidls/EventHandler.webidl
@@ -114,6 +114,17 @@ interface WindowEventHandlers {
attribute EventHandler onunload;
};
+// https://w3c.github.io/webvr/spec/1.1/#interface-window
+partial interface WindowEventHandlers {
+ attribute EventHandler onvrdisplayconnect;
+ attribute EventHandler onvrdisplaydisconnect;
+ attribute EventHandler onvrdisplayactivate;
+ attribute EventHandler onvrdisplaydeactivate;
+ attribute EventHandler onvrdisplayblur;
+ attribute EventHandler onvrdisplayfocus;
+ attribute EventHandler onvrdisplaypresentchange;
+};
+
// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers
[NoInterfaceObject, Exposed=Window]
interface DocumentAndElementEventHandlers {