| Index: third_party/WebKit/LayoutTests/vr/requestPresent_reject_badrightbounds.html
|
| diff --git a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html b/third_party/WebKit/LayoutTests/vr/requestPresent_reject_badrightbounds.html
|
| similarity index 77%
|
| copy from third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html
|
| copy to third_party/WebKit/LayoutTests/vr/requestPresent_reject_badrightbounds.html
|
| index 4f0f69eee56e0bdb59422d9b6b2b4e9ee0e3caf8..0ff2a67389d71ebd9be1bfd8eda5db0f34dcd13d 100644
|
| --- a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html
|
| +++ b/third_party/WebKit/LayoutTests/vr/requestPresent_reject_badrightbounds.html
|
| @@ -16,10 +16,13 @@ vr_test((service) => {
|
| var asyncTest = async_test(
|
| "requestPresent rejects and does not present");
|
| runWithUserGesture( () => {
|
| - displays[0].requestPresent([{ source : webglCanvas }]).then( () => {
|
| + displays[0].requestPresent([{
|
| + source : webglCanvas,
|
| + rightBounds: [0, 1, 2, 3, 4] // Too long
|
| + }]).then( () => {
|
| asyncTest.step( () => {
|
| assert_unreached();
|
| - }, "Display should be presenting");
|
| + }, "Display should not be presenting");
|
| }, (err) => {
|
| asyncTest.step( () => {
|
| assert_false(displays[0].isPresenting);
|
| @@ -29,7 +32,7 @@ vr_test((service) => {
|
| });
|
| });
|
| });
|
| -}, [fakeDisplays['FakeMagicWindowOnly']],
|
| -'Test requestPresent rejects if display does not support it');
|
| +}, [fakeDisplays['Pixel']],
|
| +'Test requestPresent rejects if provided a bad rightBounds');
|
|
|
| </script>
|
|
|