Closed Bug 1592215 Opened 6 years ago Closed 5 years ago

[wpt-sync] Sync PR 19974 - [webnfc] Add BufferSource into the union type NDEFMessageSource

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(2 files)

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

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

Leon Han <leon.han@intel.com> wrote:

[webnfc] Add BufferSource into the union type NDEFMessageSource

This CL updates the definition of the union type NDEFMessageSource:
(DOMString or ArrayBuffer or NDEFMessageInit)
==>
(DOMString or BufferSource or NDEFMessageInit)

BUG=520391

Change-Id: I603616047814c56744eed94efd7f3579079b0875

Reviewed-on: https://chromium-review.googlesource.com/1886351
WPT-Export-Revision: da8780c4f098620ae5a3391cfed3bc7d8db761f1

Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
PR 19974 applied with additional changes from upstream: ad93565efd7161ee146a44e92c02d7339dbaf8e1, e44f20914735498a05fc835efe3e2cbde9f86f00
Result changes from PR not available.

GitHub CI Results

wpt.fyi PR Results Base Results

Ran 7 tests and 94 subtests

Firefox

OK : 7
FAIL: 94

Chrome

OK : 7
PASS: 33
FAIL: 61

Safari

OK : 7
FAIL: 94

New tests that's don't pass

/web-nfc/NDEFWriter_push.https.html
Test that NDEFWriter.push succeeds when message is ArrayBufferView.: Firefox: FAIL, Chrome: FAIL, Safari: FAIL

Gecko CI Results

Ran 7 tests and 88 subtests
OK : 7
FAIL : 88

New tests that don't pass

/web-nfc/NDEFReader_scan.https.html
Test that NDEFReader.onreading should be fired on an unformatted NFC tag with empty records array for NDEFMessage.: FAIL
Test that NDEFReader.onreading should not be fired if the NFC tag does not expose NDEF technology.: FAIL
/web-nfc/NDEFWriter_push.https.html
NDEFWriter.push should fail when the NFC device does not expose NDEF technology.: FAIL
NDEFWriter.push should fail when there are NDEF records on the NFC device and NDEFPushOptions.overwrite is false.: FAIL
NDEFWriter.push should succeed to overwrite the existing data when the NDEFPushOptions.overwrite is true.: FAIL
NDEFWriter.push should succeed to push data to an unformatted NFC device when the NDEFPushOptions.overwrite is false.: FAIL
Test that NDEFWriter.push succeeds when message is ArrayBufferView.: FAIL

Automatic update from web-platform-tests
[webnfc] Add BufferSource into the union type NDEFMessageSource

This CL updates the definition of the union type NDEFMessageSource:
(DOMString or ArrayBuffer or NDEFMessageInit)
==>
(DOMString or BufferSource or NDEFMessageInit)

BUG=520391

Change-Id: I603616047814c56744eed94efd7f3579079b0875
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1886351
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Commit-Queue: Leon Han <leon.han@intel.com>
Cr-Commit-Position: refs/heads/master@{#711986}

--

wpt-commits: c0ec46c3e6f1452abf3cf9916f3e2ceb4c494b12
wpt-pr: 19974

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c340e6fbf2a [wpt PR 19974] - [webnfc] Add BufferSource into the union type NDEFMessageSource, a=testonly https://hg.mozilla.org/integration/autoland/rev/86ef2730e19d [wpt PR 19974] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: