From 926925c0d7b8164c68a26b602ca7d49c71b1c535 Mon Sep 17 00:00:00 2001 From: Kearwood Date: Thu, 14 Nov 2019 13:22:02 -0800 Subject: [PATCH] Add NewObject attribute to makeXRCompatible --- explainer.md | 2 +- index.bs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/explainer.md b/explainer.md index d0bf1456..80999ec0 100644 --- a/explainer.md +++ b/explainer.md @@ -796,6 +796,6 @@ partial dictionary WebGLContextAttributes { }; partial interface WebGLRenderingContextBase { - Promise makeXRCompatible(); + [NewObject] Promise makeXRCompatible(); }; ``` diff --git a/index.bs b/index.bs index f6bdd8fd..c7136ec4 100644 --- a/index.bs +++ b/index.bs @@ -1856,7 +1856,7 @@ partial dictionary WebGLContextAttributes { }; partial interface mixin WebGLRenderingContextBase { - Promise<void> makeXRCompatible(); + [NewObject] Promise<void> makeXRCompatible(); };