Update web-platform-tests to revision 9fc797e6e5fb7d244dfb5b5125886c01f8cedf2b

This commit is contained in:
WPT Sync Bot 2019-02-05 21:00:19 -05:00
parent b7e9bab267
commit 6dda93c6e2
55 changed files with 646 additions and 128 deletions

View file

@ -21,6 +21,14 @@
.then(() => promise_rejects(t, "NotSupportedError", session.requestReferenceSpace({ type: "stationary" })))
.then(() => promise_rejects(t, new TypeError(), session.requestReferenceSpace({ type: "stationary", subtype: "bar" })))
.then(() => Promise.all([
session.requestReferenceSpace({ type: "identity" }).then( (referenceSpace) => {
t.step(() => {
assert_true(referenceSpace instanceof XRSpace,
"identity reference space is not correct type.");
assert_true(referenceSpace instanceof XRReferenceSpace,
"identity reference space is not correct type.");
});
}),
session.requestReferenceSpace({ type: "stationary", subtype: "position-disabled" }).then( (referenceSpace) => {
t.step(() => {
assert_true(referenceSpace instanceof XRSpace,