Chromium Code Reviews| 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 => { |