Commit 3860ee78 authored by codeimpl@gmail.com's avatar codeimpl@gmail.com Committed by Commit Bot

Fixed wrong return value in xr_device.idl

As following specification in url[1], return value was wrong in idl.
So I fixed the return value.

[1] https://immersive-web.github.io/webxr/#xrdevice-interface

Bug: None
Cq-Include-Trybots: luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I87adbd6e3dfe73a6a7707c282fda625b233b4d3b
Reviewed-on: https://chromium-review.googlesource.com/1155027Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Byoungkwon Ko <codeimpl@gmail.com>
Cr-Commit-Position: refs/heads/master@{#579252}
parent bc4aded9
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
SecureContext, SecureContext,
OriginTrialEnabled=WebXR OriginTrialEnabled=WebXR
] interface XRDevice { ] interface XRDevice {
[CallWith=ScriptState, MeasureAs=XRSupportsSession] Promise supportsSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options); [CallWith=ScriptState, MeasureAs=XRSupportsSession] Promise<void> supportsSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options);
[CallWith=ScriptState, MeasureAs=XRRequestSession] Promise requestSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options); [CallWith=ScriptState, MeasureAs=XRRequestSession] Promise<XRSession> requestSession([PermissiveDictionaryConversion] optional XRSessionCreationOptions options);
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment