Closed Bug 1593608 Opened 11 months ago Closed 10 months ago

[wpt-sync] Sync PR 20063 - [webnfc] Combine 'opaque' and 'json' types as 'mime' for TNF_MIME_MEDIA

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[webnfc] Combine 'opaque' and 'json' types as 'mime' for TNF_MIME_MEDIA

Before, we have both 'opaque' and 'json' NDEFRecord for reading/writing
TNF_MIME_MEDIA records, and we just serialize the JSON object provided
by users to get the payload bytes for the 'json' NDEFRecord.

Now with the goal of making web nfc more of a low level API, this CL
unifies them as a new 'mime' type that serves for reading/writing
TNF_MIME_MEDIA records.
TNF_MIME_MEDIA \<---> 'mime' type NDEFRecord

The spec change:
https://github.com/w3c/web-nfc/pull/373

BUG=520391

Change-Id: If4052c70e48100185e72cb07da8363f5de92b4b7

Reviewed-on: https://chromium-review.googlesource.com/1896154
WPT-Export-Revision: 00824937ae0779df5ac596edbbb9deb85c2ea68e

PR 20063 applied with additional changes from upstream: e44f20914735498a05fc835efe3e2cbde9f86f00, 55b30cad64e25104acb82331d8def75cb4f0c665, 0abb411331f86f472103183c7ec1136ea21a7e1b, c0ec46c3e6f1452abf3cf9916f3e2ceb4c494b12, d4a7c5c8ff1f9a56e692b19469e655fd7f684582
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e61b7b2b9e53
[wpt PR 20063] - [webnfc] Combine 'opaque' and 'json' types as 'mime' for TNF_MIME_MEDIA, a=testonly
https://hg.mozilla.org/integration/autoland/rev/42c0d9e74b40
[wpt PR 20063] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.