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

Unified Diff: third_party/WebKit/LayoutTests/nfc/push.html

Issue 2825033002: [webnfc] Remove duplicate test case from layout test (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/nfc/push.html
diff --git a/third_party/WebKit/LayoutTests/nfc/push.html b/third_party/WebKit/LayoutTests/nfc/push.html
index 205f52dc4abc049ee970d016843b7f14bc94af86..44301eedee11b2df9cfedee5e5a13112eab41fb6 100644
--- a/third_party/WebKit/LayoutTests/nfc/push.html
+++ b/third_party/WebKit/LayoutTests/nfc/push.html
@@ -133,14 +133,8 @@ nfc_test(nfc => {
}, 'Check that provided NFCPushOptions values are correctly converted.');
nfc_test(nfc => {
- return navigator.nfc.push(test_buffer_data).then(() => {
- nfc.assertNFCMessagesEqual(test_buffer_data, nfc.mockNFC.pushedMessage());
haraken 2017/04/18 10:44:32 Hmm? How was this test duplicated?
- });
-}, 'Push ArrayBuffer with default NFCPushOptions.');
-
-nfc_test(nfc => {
return navigator.nfc.push(test_text_data)
- .then(() => { navigator.nfc.cancelPush });
+ .then(() => { return navigator.nfc.cancelPush(); });
}, 'nfc.cancelPush should succeed if there is pending push operation.');
nfc_test(nfc => {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698