Closed Bug 1678259 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 26573 - [WebNFC] Rename NDEFReader onerror to onreadingerror

Categories

(Core :: DOM: Device Interfaces, task, P4)

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 26573 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/26573
Details from upstream follow.

b'Francois Beaufort <beaufort.francois@gmail.com>' wrote:

[WebNFC] Rename NDEFReader onerror to onreadingerror

The NDEFReader onerror event handler is renamed to onreadingerror to
make it clear to web developers that only NFC read errors will be fired
in this event now that NDEFReader and NDEFWriter have been merged. Note
that an error message is now displayed in the devtools JS console to
help web developers to diagnose issues while it was part of the error
event before.

This CL also removes onreadingerror event fired on MojoConnectionError
as this is called if either the NFC service is unavailable in which case
NDEFReader.scan() will return a rejected promise, or when NFC permission
is revoked in which case the Permission API can be used to detect
changes.

Spec: https://github.com/w3c/web-nfc/pull/601
Bug: 520391
Change-Id: I451083fb5382149e9a1e45da31e575709f190448

Reviewed-on: https://chromium-review.googlesource.com/2546011
WPT-Export-Revision: d85d3e081bd0cbaf0dfabf387528a186a9f1b4fc

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core

CI Results

Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 7 tests and 72 subtests

Status Summary

Firefox

OK : 5
PASS : 2
FAIL : 152
ERROR : 2

Chrome

OK : 6
PASS : 147
FAIL : 2
TIMEOUT: 2
NOTRUN : 4

Safari

OK : 5
PASS : 2
FAIL : 152
ERROR : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/web-nfc/NDEFMessage_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
NDEFMessage constructor without init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage constructor with null init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage constructor without NDEFMessageInit#records field: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage constructor with NDEFMessageInit#records being empty: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage constructor with a text record: FAIL (Chrome: PASS, Safari: FAIL)
/web-nfc/NDEFReader_scan.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: TIMEOUT, 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 faild 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 nfc watch success if NFC HW is enabled.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFReader.scan matches any ids if NDEFScanOptions.id is undefined.: 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: TIMEOUT, Safari: FAIL)
Test that NDEFReader.onreading should be fired on an unformatted NFC tag with empty records array for NDEFMessage.: FAIL (Chrome: NOTRUN, Safari: FAIL)
Test that reading message with multiple records should succeed.: FAIL (Chrome: NOTRUN, Safari: FAIL)
Test that NDEFReader.scan rejects if there is already an ongoing scan.: FAIL (Chrome: NOTRUN, Safari: FAIL)
Test that NDEFReader.scan can be started after the previous scan is aborted.: FAIL (Chrome: NOTRUN, Safari: FAIL)
/web-nfc/NDEFReader_scan_iframe.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
Test that NDEFWriter.scan is not suspended if iframe gains focus.: FAIL (Chrome: PASS, Safari: FAIL)
/web-nfc/NDEFReadingEvent_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
NDEFReadingEvent constructor without init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent constructor failed to construct its NDEFMessage: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent constructor with null serialNumber: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent constructor with serialNumber not present: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent constructor with valid parameters: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent constructor does not set NDEFRecord#lang for any text records it embeds: FAIL (Chrome: PASS, Safari: FAIL)
/web-nfc/NDEFRecord_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
NDEFRecord constructor without init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with null init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor without NDEFRecordInit#recordType field: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with empty record type and id: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor should only accept mediaType for mime record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with custom record ids: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with empty record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and string data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and arrayBuffer data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and arrayBufferView data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type, encoding, and lang: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and custom document language: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with url record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with absolute-url record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with mime record type and stream data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with mime record type and json data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with unknown record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with external record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with local record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with smart-poster record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with smart-poster record type that contains only a mandatory uri record: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with record type string being treated as case sensitive: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with invalid external record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor for smart-poster record with invalid embedded records.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with various local record types: FAIL (Chrome: PASS, Safari: FAIL)
/web-nfc/NDEFWriter_write.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: ERROR)
Test that promise is rejected with TypeError if NDEFMessageSource is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
Test that promise is rejected with SyntaxError if NDEFMessageSource contains invalid records.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail if user permission is not granted.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail if no implementation for NFC Mojo interface is available.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail if abort write request before write happends.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail if signal's aborted flag is set.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail if signal is not an AbortSignal.: FAIL (Chrome: PASS, Safari: FAIL)
Synchronously signaled abort.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail when NFC HW is disabled.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail when 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)
NDEFWriter.write should succeed when NFC HW is enabled: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write NDEFMessage containing text, mime, unknown, url, absolute-url and external records with default NDEFWriteOptions.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write NDEFMessage containing embedded records.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write NDEFMessage containing smart-poster record.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFWriter.write succeeds when message is DOMString.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFWriter.write succeeds when message is ArrayBuffer.: FAIL (Chrome: PASS, Safari: FAIL)
Test that NDEFWriter.write succeeds when message is ArrayBufferView.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write with 'empty' record should succeed.: FAIL (Chrome: PASS, Safari: FAIL)
Check that default NDEFWriteOptions values are correctly set.: FAIL (Chrome: PASS, Safari: FAIL)
Check that provided NDEFWriteOptions values are correctly converted.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should replace all previously configured write operations.: FAIL (Chrome: PASS, Safari: 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 (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail when the NFC device coming up does not expose NDEF technology.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should succeed to write data to an unformatted NFC device when the NDEFWriteOptions.overwrite is false.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should succeed to overwrite the existing data when the NDEFWriteOptions.overwrite is true.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail when there are NDEF records on the NFC device and NDEFWriteOptions.overwrite is false.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter.write should fail with NetworkError when NFC data transfer fails.: FAIL (Chrome: PASS, Safari: FAIL)
/web-nfc/idlharness.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
NDEFMessage interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface object length: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface object name: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface: attribute records: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage must be primary interface of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});: FAIL (Chrome: PASS, Safari: FAIL)
Stringification of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});: FAIL (Chrome: PASS, Safari: FAIL)
NDEFMessage interface: new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]}); must inherit property "records" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface object length: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface object name: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute recordType: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute mediaType: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute id: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute encoding: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: attribute lang: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: operation toRecords(): FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord must be primary interface of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});: FAIL (Chrome: PASS, Safari: FAIL)
Stringification of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "recordType" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "mediaType" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "id" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "data" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "encoding" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "lang" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "toRecords()" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface object length: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface object name: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: operation write(NDEFMessageSource, optional NDEFWriteOptions): FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter must be primary interface of new NDEFWriter();: FAIL (Chrome: PASS, Safari: FAIL)
Stringification of new NDEFWriter();: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: new NDEFWriter(); must inherit property "write(NDEFMessageSource, optional NDEFWriteOptions)" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFWriter interface: calling write(NDEFMessageSource, optional NDEFWriteOptions) on new NDEFWriter(); with too few arguments must throw TypeError: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface object length: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface object name: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: attribute onreading: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: attribute onreadingerror: FAIL (Chrome: FAIL, Safari: FAIL)
NDEFReader interface: operation scan(optional NDEFScanOptions): FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader must be primary interface of new NDEFReader();: FAIL (Chrome: PASS, Safari: FAIL)
Stringification of new NDEFReader();: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: new NDEFReader(); must inherit property "onreading" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: new NDEFReader(); must inherit property "onreadingerror" with the proper type: FAIL (Chrome: FAIL, Safari: FAIL)
NDEFReader interface: new NDEFReader(); must inherit property "scan(optional NDEFScanOptions)" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReader interface: calling scan(optional NDEFScanOptions) on new NDEFReader(); with too few arguments must throw TypeError: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: existence and properties of interface object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface object length: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface object name: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: existence and properties of interface prototype object: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: attribute serialNumber: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: attribute message: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent must be primary interface of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }): FAIL (Chrome: PASS, Safari: FAIL)
Stringification of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }): FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "serialNumber" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "message" with the proper type: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/web-nfc/NDEFMessage_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/web-nfc/NDEFReader_scan.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: TIMEOUT, Safari: ERROR)
/web-nfc/NDEFReader_scan_iframe.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/web-nfc/NDEFReadingEvent_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/web-nfc/NDEFRecord_constructor.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/web-nfc/NDEFWriter_write.https.html: ERROR [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: ERROR)
/web-nfc/idlharness.https.window.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f83e7f534e53
[wpt PR 26573] - [WebNFC] Rename NDEFReader onerror to onreadingerror, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.