diff options
author | Imanol Fernandez <mortimergoro@gmail.com> | 2017-05-26 14:22:02 +0200 |
---|---|---|
committer | Imanol Fernandez <mortimergoro@gmail.com> | 2017-07-05 22:38:29 +0200 |
commit | fe4ee6de2efe60948bb5cadaabd53e326209ca07 (patch) | |
tree | bf5281e560fe3d1953d9bf985786dfc3abdb5260 /components/script/dom/webidls/EventHandler.webidl | |
parent | 296a215e5404eb0fd0c0a34cc1283cd0b84aaea9 (diff) | |
download | servo-fe4ee6de2efe60948bb5cadaabd53e326209ca07.tar.gz servo-fe4ee6de2efe60948bb5cadaabd53e326209ca07.zip |
WebVR 1.1 spec compatibility
Diffstat (limited to 'components/script/dom/webidls/EventHandler.webidl')
-rw-r--r-- | components/script/dom/webidls/EventHandler.webidl | 11 |
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 { |