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

Unified Diff: third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js

Issue 2616403002: Revert of Add more WebVR layout tests, adjust test format (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/resources/mock-vr-service.js
diff --git a/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js b/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
index aafb971d91c4451bc6e4ae20b4c48ae08a15f986..a4864eebb77f1c7c4f74e8ef00d550487e666831 100644
--- a/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
+++ b/third_party/WebKit/LayoutTests/vr/resources/mock-vr-service.js
@@ -67,9 +67,8 @@
});
function vr_test(func, vrDisplays, name, properties) {
- mockVRService.then( (service) => {
+ promise_test(t => mockVRService.then((service) => {
service.setVRDisplays(vrDisplays);
- let t = async_test(name, properties);
- func(t);
- });
+ return func();
+ }), name, properties);
}

Powered by Google App Engine
This is Rietveld 408576698