From 752d122debd5c09734474258a5af7e26471ba66b Mon Sep 17 00:00:00 2001 From: moz-wptsync-bot Date: Mon, 21 Oct 2019 12:18:30 +0000 Subject: [PATCH] Bug 1590079 [wpt PR 19805] - Update wpt metadata, a=testonly wpt-pr: 19805 wpt-type: metadata --- .../NDEFErrorEvent_constructor.https.html.ini | 10 ++ .../web-nfc/NDEFReader_options.https.html.ini | 49 +++++++++ .../web-nfc/NDEFReader_scan.https.html.ini | 40 +++++++ .../NDEFReader_scan_iframe.https.html.ini | 4 + ...DEFReadingEvent_constructor.https.html.ini | 16 +++ .../web-nfc/NDEFWriter_push.https.html.ini | 103 ++++++++++++++++++ .../NFCErrorEvent_constructor.https.html.ini | 10 -- .../web-nfc/NFCReader_scan.https.html.ini | 40 ------- ...NFCReadingEvent_constructor.https.html.ini | 16 --- 9 files changed, 222 insertions(+), 66 deletions(-) create mode 100644 testing/web-platform/meta/web-nfc/NDEFErrorEvent_constructor.https.html.ini create mode 100644 testing/web-platform/meta/web-nfc/NDEFReader_options.https.html.ini create mode 100644 testing/web-platform/meta/web-nfc/NDEFReader_scan.https.html.ini create mode 100644 testing/web-platform/meta/web-nfc/NDEFReader_scan_iframe.https.html.ini create mode 100644 testing/web-platform/meta/web-nfc/NDEFReadingEvent_constructor.https.html.ini create mode 100644 testing/web-platform/meta/web-nfc/NDEFWriter_push.https.html.ini delete mode 100644 testing/web-platform/meta/web-nfc/NFCErrorEvent_constructor.https.html.ini delete mode 100644 testing/web-platform/meta/web-nfc/NFCReader_scan.https.html.ini delete mode 100644 testing/web-platform/meta/web-nfc/NFCReadingEvent_constructor.https.html.ini diff --git a/testing/web-platform/meta/web-nfc/NDEFErrorEvent_constructor.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFErrorEvent_constructor.https.html.ini new file mode 100644 index 000000000000..29080d0e103e --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFErrorEvent_constructor.https.html.ini @@ -0,0 +1,10 @@ +[NDEFErrorEvent_constructor.https.html] + [NDEFErrorEvent constructor with a valid DOMException] + expected: FAIL + + [NDEFErrorEvent constructor with a null that is not of type DOMException] + expected: FAIL + + [NDEFErrorEvent constructor without init dict] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NDEFReader_options.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFReader_options.https.html.ini new file mode 100644 index 000000000000..3a17d4df7774 --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFReader_options.https.html.ini @@ -0,0 +1,49 @@ +[NDEFReader_options.https.html] + [Test that filtering 'text' record from different messages correctly with NDEFScanOptions' url set.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to 'json'.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to 'text'.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to 'opaque'.] + expected: FAIL + + [Test that filtering 'json' record from different messages correctly with NDEFScanOptions' recordType is set to 'json'.] + expected: FAIL + + [Test that filtering 'opaque' record from different messages correctly with NDEFScanOptions' mediaType set.] + expected: FAIL + + [Test that the url of NDEFScanOptions filters relevant data sources correctly.] + expected: FAIL + + [Test that the mediaType of NDEFScanOptions filters relevant data sources correctly.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to 'url'.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to a custom type for external type records.] + expected: FAIL + + [Test that reading data succeed when NDEFScanOptions' recordType is set to 'empty'.] + expected: FAIL + + [Test that filtering 'opaque' record from different messages correctly with NDEFScanOptions' recordType is set to 'opaque'.] + expected: FAIL + + [Test that filtering external record from different messages correctly with NDEFScanOptions' recordType is set to the custom type.] + expected: FAIL + + [Test that filtering 'url' record from different messages correctly with NDEFScanOptions' recordType is set to 'url'.] + expected: FAIL + + [Test that filtering 'text' record from different messages correctly with NDEFScanOptions' recordType is set to 'text'.] + expected: FAIL + + [Test that filtering 'empty' record from different messages correctly with NDEFScanOptions' recordType is set to 'empty'.] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NDEFReader_scan.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFReader_scan.https.html.ini new file mode 100644 index 000000000000..4215b825b8c0 --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFReader_scan.https.html.ini @@ -0,0 +1,40 @@ +[NDEFReader_scan.https.html] + [Test that NDEFReader.scan fails if NDEFScanOptions.url has wrong protocol.] + expected: FAIL + + [Test that nfc watch success if NFC HW is enabled.] + expected: FAIL + + [Synchronously signaled abort.] + expected: FAIL + + [NDEFReader.scan should fail if signal is not an AbortSignal.] + expected: FAIL + + [Test that NDEFReader.scan fails if NDEFScanOptions.url is invalid.] + expected: FAIL + + [Test that NDEFReader.onreading should not be fired if NDEFScanOptions.signal is aborted.] + expected: FAIL + + [Test that NDEFReader.scan succeeds if NDEFScanOptions.url is valid URL with '*' wildcard character in the beginning of path component followed by subpath.] + expected: FAIL + + [NDEFReader.scan should fail if NFC HW is disabled.] + expected: FAIL + + [Test that NDEFReader.scan succeeds if NDEFScanOptions.url is valid URL with '*' wildcard character in path.] + expected: FAIL + + [Test that NDEFReader.scan fails if NDEFScanOptions.url is missing components.] + expected: FAIL + + [Test that NDEFReader.scan succeeds if NDEFScanOptions.url is empty.] + expected: FAIL + + [Test that NDEFReader.scan succeeds if NDEFScanOptions.url is valid URL.] + expected: FAIL + + [NDEFReader.scan should fail if NFC HW is not supported.] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NDEFReader_scan_iframe.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFReader_scan_iframe.https.html.ini new file mode 100644 index 000000000000..61821977504a --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFReader_scan_iframe.https.html.ini @@ -0,0 +1,4 @@ +[NDEFReader_scan_iframe.https.html] + [Test that NDEFWriter.scan is not suspended if iframe gains focus.] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NDEFReadingEvent_constructor.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFReadingEvent_constructor.https.html.ini new file mode 100644 index 000000000000..f4123d0491a4 --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFReadingEvent_constructor.https.html.ini @@ -0,0 +1,16 @@ +[NDEFReadingEvent_constructor.https.html] + [NDEFReadingEvent constructor without init dict] + expected: FAIL + + [NDEFReadingEvent constructor with serialNumber not present] + expected: FAIL + + [NDEFReadingEvent constructor with null message] + expected: FAIL + + [NDEFReadingEvent constructor with null serialNumber] + expected: FAIL + + [NDEFReadingEvent constructor with valid parameters] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NDEFWriter_push.https.html.ini b/testing/web-platform/meta/web-nfc/NDEFWriter_push.https.html.ini new file mode 100644 index 000000000000..9659034186b3 --- /dev/null +++ b/testing/web-platform/meta/web-nfc/NDEFWriter_push.https.html.ini @@ -0,0 +1,103 @@ +[NDEFWriter_push.https.html] + [NDEFWriter.push should fail with TimeoutError when timer expires.] + expected: FAIL + + [NDEFWriter.push should fail if signal's aborted flag is set.] + expected: FAIL + + [Reject promise with SyntaxError if WebNFC Id cannot be created from provided URL.] + expected: FAIL + + [Test that recordType should be set to 'text' if NDEFRecordInit.record's recordType is undefined and NDEFRecordInit.record's data is DOMString.] + expected: FAIL + + [Reject promise with exceptions thrown from serializing the 'json' record data.] + expected: FAIL + + [Test that NDEFWriter.push succeeds when message is DOMString.] + expected: FAIL + + [Test that promise is rejected with TypeError if NDEFMessageSource is invalid.] + expected: FAIL + + [NDEFWriter.push should replace all previously configured push operations.] + expected: FAIL + + [Test that mediaType should be set to 'application/octet-stream' if NDEFRecordInit.record's recordType is 'opaque' and NDEFRecordInit.record's mediaType is undefined.] + expected: FAIL + + [NDEFWriter.push should succeed when NFC HW is enabled] + expected: FAIL + + [NDEFWriter.push should fail with TypeError when invalid timeout is provided.] + expected: FAIL + + [Test that mediaType should be set to 'application/octet-stream' if NDEFRecordInit.record's recordType is external type and NDEFRecordInit.record's mediaType is undefined.] + expected: FAIL + + [NDEFWriter.push should fail when NFC HW is not supported.] + expected: FAIL + + [Check that default NDEFPushOptions values are correctly set.] + expected: FAIL + + [Test that mediaType should be set to 'text/plain' if NDEFRecordInit.record's recordType is 'url' and NDEFRecordInit.record's mediaType is undefined.] + expected: FAIL + + [NDEFWriter.push should fail when NFC HW is disabled.] + expected: FAIL + + [NDEFWriter.push should fail if abort push request before push happends.] + expected: FAIL + + [Synchronously signaled abort.] + expected: FAIL + + [Test that promise is rejected with SyntaxError if NDEFMessageSource contains invalid records.] + expected: FAIL + + [NDEFWriter.push should ignore reading data when ignoreRead is true.] + expected: FAIL + + [Test that WebNFC API is not accessible from iframe context.] + expected: FAIL + + [NDEFWriter.push should fail if signal is not an AbortSignal.] + expected: FAIL + + [NDEFWriter.push should read data when ignoreRead is false.] + expected: FAIL + + [NDEFWriter.push should fail with TypeError when invalid target value is provided.] + expected: FAIL + + [Test that NDEFWriter.push succeeds when message is ArrayBuffer.] + expected: FAIL + + [Test that mediaType should be set to 'text/plain' if NDEFRecordInit.record's recordType is 'text' and NDEFRecordInit.record's mediaType is undefined.] + expected: FAIL + + [Test that recordType should be set to 'opaque' if NDEFRecordInit.record's recordType is undefined and NDEFRecordInit.record's data is ArrayBuffer.] + expected: FAIL + + [Test that recordType should be set to 'json' if NDEFRecordInit.record's recordType is undefined and NDEFRecordInit.record's data is not DOMString or ArrayBuffer.] + expected: FAIL + + [Test that mediaType should be set to 'application/json' if NDEFRecordInit.record's recordType is 'json' and NDEFRecordInit.record's mediaType is undefined.] + expected: FAIL + + [Reject promise with NotSupportedError if NFC message size exceeds 32KB.] + expected: FAIL + + [NDEFWriter.push NDEFMessage containing text, json, opaque, url and external records with default NDEFPushOptions.] + expected: FAIL + + [Check that provided NDEFPushOptions values are correctly converted.] + expected: FAIL + + [NDEFWriter.push with 'empty' record should succeed.] + expected: FAIL + + [NDEFWriter.push should fail with TypeError when invalid negative timeout value is provided.] + expected: FAIL + diff --git a/testing/web-platform/meta/web-nfc/NFCErrorEvent_constructor.https.html.ini b/testing/web-platform/meta/web-nfc/NFCErrorEvent_constructor.https.html.ini deleted file mode 100644 index b7347a854520..000000000000 --- a/testing/web-platform/meta/web-nfc/NFCErrorEvent_constructor.https.html.ini +++ /dev/null @@ -1,10 +0,0 @@ -[NFCErrorEvent_constructor.https.html] - [NFCErrorEvent constructor without init dict] - expected: FAIL - - [NFCErrorEvent constructor with a valid DOMException] - expected: FAIL - - [NFCErrorEvent constructor with a null that is not of type DOMException] - expected: FAIL - diff --git a/testing/web-platform/meta/web-nfc/NFCReader_scan.https.html.ini b/testing/web-platform/meta/web-nfc/NFCReader_scan.https.html.ini deleted file mode 100644 index 02c96bcd5faa..000000000000 --- a/testing/web-platform/meta/web-nfc/NFCReader_scan.https.html.ini +++ /dev/null @@ -1,40 +0,0 @@ -[NFCReader_scan.https.html] - [Test that nfc watch success if NFC HW is enabled.] - expected: FAIL - - [Test that NFCReader.scan fails if NFCScanOptions.url is invalid.] - expected: FAIL - - [Test that NFCReader.scan succeeds if NFCScanOptions.url is valid URL with '*' wildcard character in the beginning of path component followed by subpath.] - expected: FAIL - - [NFCReader.scan should fail if signal is not an AbortSignal.] - expected: FAIL - - [NFCReader.scan should fail if NFC HW is disabled.] - expected: FAIL - - [NFCReader.scan should fail if NFC HW is not supported.] - expected: FAIL - - [Test that NFCReader.scan fails if NFCScanOptions.url has wrong protocol.] - expected: FAIL - - [Test that NFCReader.scan succeeds if NFCScanOptions.url is empty.] - expected: FAIL - - [Synchronously signaled abort.] - expected: FAIL - - [Test that NFCReader.scan succeeds if NFCScanOptions.url is valid URL.] - expected: FAIL - - [Test that NFCReader.scan fails if NFCScanOptions.url is missing components.] - expected: FAIL - - [Test that NFCReader.scan succeeds if NFCScanOptions.url is valid URL with '*' wildcard character in path.] - expected: FAIL - - [Test that NFCReader.onreading should not be fired if NFCScanOptions.signal is aborted.] - expected: FAIL - diff --git a/testing/web-platform/meta/web-nfc/NFCReadingEvent_constructor.https.html.ini b/testing/web-platform/meta/web-nfc/NFCReadingEvent_constructor.https.html.ini deleted file mode 100644 index cd224867cc24..000000000000 --- a/testing/web-platform/meta/web-nfc/NFCReadingEvent_constructor.https.html.ini +++ /dev/null @@ -1,16 +0,0 @@ -[NFCReadingEvent_constructor.https.html] - [NFCReadingEvent constructor without init dict] - expected: FAIL - - [NFCReadingEvent constructor with serialNumber not present] - expected: FAIL - - [NFCReadingEvent constructor with null serialNumber] - expected: FAIL - - [NFCReadingEvent constructor with null message] - expected: FAIL - - [NFCReadingEvent constructor with valid parameters] - expected: FAIL -