Index: Source/modules/vr/NavigatorVRDevice.idl |
diff --git a/Source/core/html/canvas/WebGLSync.idl b/Source/modules/vr/NavigatorVRDevice.idl |
similarity index 59% |
copy from Source/core/html/canvas/WebGLSync.idl |
copy to Source/modules/vr/NavigatorVRDevice.idl |
index a401e20aa857447b84d5b6878d452cafca642fe5..ca149b05fec64adf8e6d4853b9b9e2653646ff05 100644 |
--- a/Source/core/html/canvas/WebGLSync.idl |
+++ b/Source/modules/vr/NavigatorVRDevice.idl |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
[ |
- RuntimeEnabled=UnsafeES3APIs, |
- WillBeGarbageCollected |
-] interface WebGLSync { |
-}; |
+ RuntimeEnabled=VRDevice, |
+] partial interface Navigator { |
+ [CallWith=ScriptState] Promise getVRDevices(); |
+}; |