[wpt-sync] Sync PR 20063 - [webnfc] Combine 'opaque' and 'json' types as 'mime' for TNF_MIME_MEDIA
Categories
(Core :: DOM: Device Interfaces, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: wpt-sync, 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 NDEFRecordThe spec change:
https://github.com/w3c/web-nfc/pull/373BUG=520391
Change-Id: If4052c70e48100185e72cb07da8363f5de92b4b7
Reviewed-on: https://chromium-review.googlesource.com/1896154
WPT-Export-Revision: 00824937ae0779df5ac596edbbb9deb85c2ea68e
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e61b7b2b9e53
https://hg.mozilla.org/mozilla-central/rev/42c0d9e74b40
Description
•