Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html r=Ehsan
authorKearwood (Kip) Gilbert <kgilbert@mozilla.com>
Tue, 29 Nov 2016 15:34:00 -0800
changeset 469915 5b7d202e8797d5d6436e496317c391e538f62cd5
parent 469914 c4b622322122600f22e40ff7cae3014fbb7e1a6b
child 469916 c3e3c6983068d951928a8c0693334209a07f8c12
push id43881
push userbmo:gps@mozilla.com
push dateThu, 02 Feb 2017 23:49:03 +0000
reviewersEhsan
bugs1293333
milestone54.0a1
Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html r=Ehsan MozReview-Commit-ID: 6t5xHUZ96G8
dom/events/test/test_all_synthetic_events.html
--- a/dom/events/test/test_all_synthetic_events.html
+++ b/dom/events/test/test_all_synthetic_events.html
@@ -445,16 +445,22 @@ const kEventConstructors = {
   UserProximityEvent:                        { create: function (aName, aProps) {
                                                          return new UserProximityEvent(aName, aProps);
                                                        },
                                              },
   USSDReceivedEvent:                         { create: function (aName, aProps) {
                                                           return new USSDReceivedEvent(aName, aProps);
                                                        },
                                              },
+  VRDisplayEvent:                            { create: null,
+                                               // Required argument expects a VRDisplay that can not
+                                               // be created from Javascript without physical VR hardware
+                                               // connected.  When Bug 1229480 lands, this test can be
+                                               // updated to use the puppet VR device.
+                                             },
   WheelEvent:                                { create: function (aName, aProps) {
                                                          return new WheelEvent(aName, aProps);
                                                        },
                                              },
   WebGLContextEvent:                         { create: function (aName, aProps) {
                                                          return new WebGLContextEvent(aName, aProps);
                                                        },
                                              },