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