OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS Test that passing undefined to nfc.push would raise TypeMismatchError. |
| 3 PASS Test that promise is rejected with SyntaxError if NFCMessage is invalid. |
| 4 PASS nfc.push should fail when NFC HW is disabled. |
| 5 PASS nfc.push should fail when NFC HW is not supported. |
| 6 PASS nfc.push should succeed when NFC HW is enabled |
| 7 PASS nfc.push should fail with TimeoutError when push operation is not completed
before specified timeout value. |
| 8 PASS nfc.push NFCMessage containing text, json, opaque and url records with defa
ult NFCPushOptions. |
| 9 PASS nfc.push String with default NFCPushOptions. |
| 10 PASS nfc.push ArrayBuffer with default NFCPushOptions. |
| 11 PASS Check that default NFCPushOptions values are correctly set. |
| 12 PASS Check that provided NFCPushOptions values are correctly converted. |
| 13 PASS Push ArrayBuffer with default NFCPushOptions. |
| 14 PASS nfc.cancelPush should succeed if there is pending push operation. |
| 15 PASS nfc.push should fail with TimeoutError when push operation is not completed
before specified timeout value. |
| 16 PASS nfc.cancelPush should reject pending promise with AbortError. |
| 17 FAIL Reject promise with TypeMismatchError if invalid type is provided. assert_n
ot_equals: got disallowed value undefined |
| 18 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 19 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 20 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 21 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 22 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 23 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 24 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 25 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 26 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 27 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 28 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 29 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 30 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 31 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 32 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 33 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 34 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 35 FAIL Promise rejected with SyntaxError. assert_not_equals: got disallowed value
undefined |
| 36 FAIL Promise rejected with NotSupportedError. assert_not_equals: got disallowed
value undefined |
| 37 FAIL Promise rejected with NotSupportedError. assert_not_equals: got disallowed
value undefined |
| 38 FAIL Promise rejected with TimeoutError. assert_not_equals: got disallowed value
undefined |
| 39 FAIL Promise rejected with TimeoutError. assert_not_equals: got disallowed value
undefined |
| 40 FAIL Promise rejected with AbortError. assert_not_equals: got disallowed value u
ndefined |
| 41 Harness: the test ran to completion. |
| 42 |
OLD | NEW |