[wpt-sync] Sync PR 27014 - NDEFReader.scan rejects if promise is resolved
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27014 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27014
Details from upstream follow.
b'Fran\xc3\xa7ois Beaufort <beaufort.francois@gmail.com>' wrote:
NDEFReader.scan rejects if promise is resolved
As noted in https://github.com/w3c/web-nfc/pull/611#issuecomment-751644800, NDEFReader.scan test should be updated.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 17 subtests
Status Summary
Firefox
FAIL : 17
ERROR: 1
Chrome
OK : 1
PASS : 17
Safari
FAIL : 17
ERROR: 1
Links
Details
New Tests That Don't Pass
/web-nfc/NDEFReader_scan.https.html: ERROR (Chrome: OK, Safari: ERROR)
Test that NDEFReader.scan rejects if signal is not an AbortSignal.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader.scan should fail if user permission is not granted.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader.scan should fail if no implementation for NFC Mojo interface.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader.scan should fail if NFC HW is disabled.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader.scan should fail if NFC HW is not supported.: FAIL (Chrome: PASS, Safari: FAIL)
Test that WebNFC API is not accessible from iframe context.: FAIL (Chrome: PASS, Safari: FAIL)
Test that nfc watch success if NFC HW is enabled.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.scan rejects if NDEFScanOptions.signal is already aborted.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.scan rejects if NDEFScanOptions.signal aborts right after the scan invocation.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader can not get any reading events once the signal aborts.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord.toRecords returns its embedded records correctly.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader.scan returns smart-poster record correctly.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.onreadingerror should be fired if the NFC tag does not expose NDEF technology.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.onreading should be fired on an unformatted NFC tag with empty records array for NDEFMessage.: FAIL (Chrome: PASS, Safari: FAIL)
Test that reading message with multiple records should succeed.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.scan rejects if there is already an ongoing scan.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.scan can be started after the previous scan is aborted.: FAIL (Chrome: PASS, Safari: FAIL)
Comment 4•5 years ago
|
||
bugherder |
Description
•