Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Unified Diff: third_party/WebKit/LayoutTests/vr/requestPresent_reject_nolayers.html

Issue 2613103002: Added 8 new vr layout tests for various requestPresent conditions (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/vr/requestPresent_reject_nolayers.html
diff --git a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html b/third_party/WebKit/LayoutTests/vr/requestPresent_reject_nolayers.html
similarity index 81%
copy from third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html
copy to third_party/WebKit/LayoutTests/vr/requestPresent_reject_nolayers.html
index 4f0f69eee56e0bdb59422d9b6b2b4e9ee0e3caf8..60949774fee5c943b351636b1ef98083167e13a6 100644
--- a/third_party/WebKit/LayoutTests/vr/requestPresent_reject_notsupported.html
+++ b/third_party/WebKit/LayoutTests/vr/requestPresent_reject_nolayers.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 any layers');
</script>

Powered by Google App Engine
This is Rietveld 408576698