Bug 1444005 [wpt PR 9913] - Moved XR getViewport, removed XRDevice.external, a=testonly

Automatic update from web-platform-testsMoved XR getViewport, removed XRDevice.external

Brings Chrome's implementation inline with the latest spec changes.

Bug: 819744
Change-Id: I716bab14bdbcc1c452a4dd447adbe28ffef05f98
Reviewed-on: https://chromium-review.googlesource.com/953259
Commit-Queue: Brandon Jones <bajones@chromium.org>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/master@{#541739}

wpt-commits: 332d4483e11caeda304f3a3a7ede74f317fe6644
wpt-pr: 9913
wpt-commits: 332d4483e11caeda304f3a3a7ede74f317fe6644
wpt-pr: 9913
This commit is contained in:
Brandon Jones 2018-03-26 15:29:47 +00:00 коммит произвёл James Graham
Родитель b73182a3b9
Коммит 0bac858160
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -570206,7 +570206,7 @@
"support"
],
"interfaces/webxr.idl": [
"7a275cb5317c967a1058cab3a711c9262abfbf59",
"b1bbaa67765ce6eb20c39e6f2234912e4853e148",
"support"
],
"interfaces/xhr.idl": [

Просмотреть файл

@ -12,9 +12,6 @@ partial interface Navigator {
};
[SecureContext, Exposed=Window] interface XRDevice : EventTarget {
// Attributes
readonly attribute boolean external;
// Methods
Promise<void> supportsSession(optional XRSessionCreationOptions options);
Promise<XRSession> requestSession(optional XRSessionCreationOptions options);
@ -97,8 +94,6 @@ enum XREye {
[SecureContext, Exposed=Window] interface XRView {
readonly attribute XREye eye;
readonly attribute Float32Array projectionMatrix;
XRViewport? getViewport(XRLayer layer);
};
[SecureContext, Exposed=Window] interface XRViewport {
@ -146,6 +141,7 @@ interface XRWebGLLayer : XRLayer {
readonly attribute unsigned long framebufferHeight;
// Methods
XRViewport? getViewport(XRView view);
void requestViewportScaling(double viewportScaleFactor);
};