mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 9fc797e6e5fb7d244dfb5b5125886c01f8cedf2b
This commit is contained in:
parent
b7e9bab267
commit
6dda93c6e2
55 changed files with 646 additions and 128 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue