WPT
wpt / web-nfc / NDEFReader_write.https.html
Spec: Web NFC ↗
Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 0/29 | 0/29 | 0/29 | 0/29 | 0/29 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Test that promise is rejected with TypeError if NDEFMessageSource is invalid. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that promise is rejected with SyntaxError if NDEFMessageSource contains invalid records. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail if user permission is not granted. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail if no implementation for NFC Mojo interface is available. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail if abort write request before write happends. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail if signal's aborted flag is set. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail if signal is not an AbortSignal. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Synchronously signaled abort. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail when NFC HW is disabled. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail when NFC HW is not supported. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that WebNFC API is not accessible from iframe context. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should succeed when NFC HW is enabled | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write NDEFMessage containing text, mime, unknown, url, absolute-url and external records with default NDEFWriteOptions. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write NDEFMessage containing embedded records. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write NDEFMessage containing smart-poster record. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that NDEFReader.write succeeds when message is DOMString. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that NDEFReader.write succeeds when message is ArrayBuffer. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that NDEFReader.write succeeds when message is ArrayBufferView. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write with 'empty' record should succeed. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Check that default NDEFWriteOptions values are correctly set. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Check that provided NDEFWriteOptions values are correctly converted. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should replace all previously configured write operations. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write signals are independent. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| Test that mediaType should be set to 'application/octet-stream' if NDEFRecordInit.record's recordType is 'mime' and NDEFRecordInit.record's mediaType is undefined. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail when the NFC device coming up does not expose NDEF technology. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should succeed to write data to an unformatted NFC device when the NDEFWriteOptions.overwrite is false. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should succeed to overwrite the existing data when the NDEFWriteOptions.overwrite is true. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail when there are NDEF records on the NFC device and NDEFWriteOptions.overwrite is false. | FAIL | FAIL | FAIL | FAIL | FAIL | — |
| NDEFReader.write should fail with NetworkError when NFC data transfer fails. | FAIL | FAIL | FAIL | FAIL | FAIL | — |