Bug 1660388 [wpt PR 25167] - Update interfaces/webxr.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 26 Aug 2020 08:54:14 +0000
changeset 546489 663b16ac9029d4225822fe50b54c6da531489afb
parent 546488 9e7232e5daa3dd547ddc3502ed01b27f1af0b541
child 546490 d5f1d4b71d0aea9a32ce4181d6114b5967f610d6
push id37735
push userabutkovits@mozilla.com
push dateThu, 27 Aug 2020 21:29:40 +0000
treeherdermozilla-central@109f3a4de567 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1660388, 25167
milestone82.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1660388 [wpt PR 25167] - Update interfaces/webxr.idl, a=testonly Automatic update from web-platform-tests Update interfaces/webxr.idl (#25167) Source: https://github.com/tidoust/reffy-reports/blob/4cba804/ed/idl/webxr.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/719138445 -- wpt-commits: ac2867238ffdddcec48e485dd101f70cbb98d745 wpt-pr: 25167
testing/web-platform/tests/interfaces/webxr.idl
--- a/testing/web-platform/tests/interfaces/webxr.idl
+++ b/testing/web-platform/tests/interfaces/webxr.idl
@@ -35,23 +35,23 @@ enum XRVisibilityState {
 
 [SecureContext, Exposed=Window] interface XRSession : EventTarget {
   // Attributes
   readonly attribute XRVisibilityState visibilityState;
   [SameObject] readonly attribute XRRenderState renderState;
   [SameObject] readonly attribute XRInputSourceArray inputSources;
 
   // Methods
-  void updateRenderState(optional XRRenderStateInit state = {});
+  undefined updateRenderState(optional XRRenderStateInit state = {});
   [NewObject] Promise<XRReferenceSpace> requestReferenceSpace(XRReferenceSpaceType type);
 
   unsigned long requestAnimationFrame(XRFrameRequestCallback callback);
-  void cancelAnimationFrame(unsigned long handle);
+  undefined cancelAnimationFrame(unsigned long handle);
 
-  Promise<void> end();
+  Promise<undefined> end();
 
   // Events
   attribute EventHandler onend;
   attribute EventHandler oninputsourceschange;
   attribute EventHandler onselect;
   attribute EventHandler onselectstart;
   attribute EventHandler onselectend;
   attribute EventHandler onsqueeze;
@@ -70,17 +70,17 @@ dictionary XRRenderStateInit {
 
 [SecureContext, Exposed=Window] interface XRRenderState {
   readonly attribute double depthNear;
   readonly attribute double depthFar;
   readonly attribute double? inlineVerticalFieldOfView;
   readonly attribute XRWebGLLayer? baseLayer;
 };
 
-callback XRFrameRequestCallback = void (DOMHighResTimeStamp time, XRFrame frame);
+callback XRFrameRequestCallback = undefined (DOMHighResTimeStamp time, XRFrame frame);
 
 [SecureContext, Exposed=Window] interface XRFrame {
   [SameObject] readonly attribute XRSession session;
 
   XRViewerPose? getViewerPose(XRReferenceSpace referenceSpace);
   XRPose? getPose(XRSpace space, XRSpace baseSpace);
 };
 
@@ -208,17 +208,17 @@ interface XRWebGLLayer: XRLayer {
   static double getNativeFramebufferScaleFactor(XRSession session);
 };
 
 partial dictionary WebGLContextAttributes {
     boolean xrCompatible = false;
 };
 
 partial interface mixin WebGLRenderingContextBase {
-    [NewObject] Promise<void> makeXRCompatible();
+    [NewObject] Promise<undefined> makeXRCompatible();
 };
 
 [SecureContext, Exposed=Window]
 interface XRSessionEvent : Event {
   constructor(DOMString type, XRSessionEventInit eventInitDict);
   [SameObject] readonly attribute XRSession session;
 };