Use correct w value in xrFrame_getPose

Values other than 1 are supposed to throw
This commit is contained in:
Manish Goregaokar 2019-07-16 16:45:09 -07:00
parent 7ccc7b3b49
commit 37d758dae1
2 changed files with 3 additions and 3 deletions

View file

@ -687658,7 +687658,7 @@
"testharness" "testharness"
], ],
"webxr/xrFrame_getPose.https.html": [ "webxr/xrFrame_getPose.https.html": [
"50e8abf145b98730f4859c5ccd2ded4eb38d57ba", "313cd11c32005abdfa4686bc857e514ee4a29f75",
"testharness" "testharness"
], ],
"webxr/xrFrame_lifetime.https.html": [ "webxr/xrFrame_lifetime.https.html": [

View file

@ -31,7 +31,7 @@ let testFunction = function(session, fakeDeviceController, t) {
x : 0, x : 0,
y : 1, y : 1,
z : 0, z : 0,
w : 0 w : 1
}), }),
DOMPointReadOnly.fromPoint({ DOMPointReadOnly.fromPoint({
x : Math.sin(radians / 2), x : Math.sin(radians / 2),
@ -47,7 +47,7 @@ let testFunction = function(session, fakeDeviceController, t) {
x : 1, x : 1,
y : 0, y : 0,
z : 0, z : 0,
w : 0 w : 1
}), }),
DOMPointReadOnly.fromPoint({ DOMPointReadOnly.fromPoint({
x : 0, x : 0,