| Index: third_party/WebKit/LayoutTests/nfc/idl-NFC.html
|
| diff --git a/third_party/WebKit/LayoutTests/nfc/idl-NFC.html b/third_party/WebKit/LayoutTests/nfc/idl-NFC.html
|
| index d098e0f50fdc1b87a8c6d7d791ec3976ce9388d3..1ca2eebe7925f83f91c911e90bcae19e932a33bd 100644
|
| --- a/third_party/WebKit/LayoutTests/nfc/idl-NFC.html
|
| +++ b/third_party/WebKit/LayoutTests/nfc/idl-NFC.html
|
| @@ -7,5 +7,14 @@ test(function() {
|
| 'the constructor should not be callable with "new"');
|
| assert_throws(null, function() { NFC(); },
|
| 'the constructor should not be callable');
|
| +
|
| + // Test that navigator.nfc.push exists
|
| + assert_true('push' in navigator.nfc);
|
| + // Test that navigator.nfc.cancelPush exists
|
| + assert_true('cancelPush' in navigator.nfc);
|
| + // Test that navigator.nfc.watch exists
|
| + assert_true('watch' in navigator.nfc);
|
| + // Test that navigator.nfc.cancelWatch exists
|
| + assert_true('cancelWatch' in navigator.nfc);
|
| }, 'NFC IDL test');
|
| </script>
|
|
|