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

Unified Diff: third_party/WebKit/LayoutTests/nfc/mock-nfc.html

Issue 1708543002: [webnfc] Implement push() method in blink nfc module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onionsoup_webnfc
Patch Set: Move dependency from content_browsertests to layouttest_support_content Created 4 years, 6 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
« no previous file with comments | « device/nfc/nfc.mojom ('k') | third_party/WebKit/LayoutTests/nfc/push.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/nfc/mock-nfc.html
diff --git a/third_party/WebKit/LayoutTests/nfc/mock-nfc.html b/third_party/WebKit/LayoutTests/nfc/mock-nfc.html
new file mode 100644
index 0000000000000000000000000000000000000000..5bb8ca646caab1ebbda98c06c60f0cb9d91616dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/nfc/mock-nfc.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="../resources/testharness-helpers.js"></script>
+<script src="../resources/mojo-helpers.js"></script>
+<script src="resources/nfc-helpers.js"></script>
+<script>
+
+'use strict';
+
+nfc_test(nfc => {
+ assert_true(nfc instanceof Object);
+ assert_true(nfc.mockNFC instanceof Object);
+}, 'NFC Mojo bindings and mock interfaces are available to tests.')
+</script>
« no previous file with comments | « device/nfc/nfc.mojom ('k') | third_party/WebKit/LayoutTests/nfc/push.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698