Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html draft
authorKearwood (Kip) Gilbert <kgilbert@mozilla.com>
Tue, 29 Nov 2016 15:34:00 -0800
changeset 469232 c49b867fbf7c214d6e46e1472fa5c79fda6e19b2
parent 469231 ce13e897e1bc06ee375987711b9a3c6cc4a6a3ae
child 469233 e0b45426e5a2933e4e673dd76920b2d7097de3c7
push id43661
push userbmo:kgilbert@mozilla.com
push dateWed, 01 Feb 2017 22:54:31 +0000
bugs1293333
milestone54.0a1
Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html 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);
                                                        },
                                              },