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/usb/test-polyfil.html

Issue 2775323003: Refactor WebUSB LayoutTests to separate out the Mojo service mocks (Closed)
Patch Set: Created 3 years, 9 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/usb/test-polyfil.html
diff --git a/third_party/WebKit/LayoutTests/usb/test-polyfil.html b/third_party/WebKit/LayoutTests/usb/test-polyfil.html
new file mode 100644
index 0000000000000000000000000000000000000000..6e549ae8e13bd329c970f24827f93551f7cb8698
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/usb/test-polyfil.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="resources/webusb-test.js"></script>
+<script>
+'use strict';
+
+promise_test(() => {
+ return navigator.usb.test.initialize();
+}, 'WebUSB Test API available');
+</script>

Powered by Google App Engine
This is Rietveld 408576698