Closed Bug 1615556 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21799 - [webnfc] Support reading/writing smart-poster records

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[webnfc] Support reading/writing smart-poster records

The spec changes:
https://github.com/w3c/web-nfc/pull/361
https://github.com/w3c/web-nfc/pull/495
https://github.com/w3c/web-nfc/pull/536

BUG=520391

Change-Id: I00a363aba07d1f9f2f8e40212dca7650e26047a2

Reviewed-on: https://chromium-review.googlesource.com/2038492
WPT-Export-Revision: 79a72e440c37533925b697e2ba55e3b1c813f8e3

PR 21799 applied with additional changes from upstream: d97d4ef04045fab6457f1ea59c41bec7bd1fd191, 70dce81be7bcf6803357c2d8b48baed9fd4f7173
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core

CI Results

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

Total 45 tests

Status Summary

Firefox

OK : 1
PASS: 44
FAIL: 25

Chrome

OK : 1
PASS: 23
FAIL: 2

Safari

OK : 1
FAIL: 25

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/web-nfc/NDEFRecord_constructor.https.html
NDEFRecord constructor for smart-poster record with invalid embedded records.: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor should only accept mediaType for mime record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with smart-poster record type that contains only a mandatory uri record: FAIL (Chrome: FAIL, Safari: FAIL)
NDEFRecord constructor with smart-poster record type: FAIL (Chrome: FAIL, Safari: FAIL)
NDEFRecord constructor with empty record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and arrayBufferView data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with null init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with invalid external record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with custom record ids: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with url record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with various local record types: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with local record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor without NDEFRecordInit#recordType field: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor without init dict: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and custom document language: 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 string data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with absolute-url record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with text record type and arrayBuffer data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with empty record type and id: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with external record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with mime record type and json data: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with record type string being treated as case sensitive: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with unknown record type: FAIL (Chrome: PASS, Safari: FAIL)
NDEFRecord constructor with mime record type and stream data: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/580550ae487b
[wpt PR 21799] - [webnfc] Support reading/writing smart-poster records, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.