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

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

Issue 2614353002: Revert of Ensure navigator.getVRDisplays always resolves. (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/getVRDisplays_always_resolves.html
diff --git a/third_party/WebKit/LayoutTests/vr/getVRDisplays_always_resolves.html b/third_party/WebKit/LayoutTests/vr/getVRDisplays_always_resolves.html
deleted file mode 100644
index ea26338e306df2c2dbf9f4b61554fbca77cf35bb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/vr/getVRDisplays_always_resolves.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script>
-
-promise_test(t => navigator.getVRDisplays().then(devices => {
- assert_true(devices != null);
- assert_true(devices instanceof Array);
- assert_greater_than_equal(0, devices.length);
-
- if (devices.length > 0)
- assert_true(devices[0] instanceof VRDisplay);
-}), "Test that getVRDisplays always resolves with at least an empty sequence.");
-
-</script>
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | third_party/WebKit/Source/modules/vr/VRController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698