Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1609065 [wpt PR 21157] - [webnfc] Support writing/reading local t…
…ype records, a=testonly Automatic update from web-platform-tests [webnfc] Support writing/reading local type records Some notable points: 1) Local type in WebNFC APIs is always prefixed by ':', but, the ':' will be omitted when it's actually written into the nfc tag. ":act" --> "act" to be written as the TYPE field into the nfc tag. ":text" --> "text" The reading direction is vice versa. "act" --> ":act" to be exposed as NDEFRecord#recordType. "text" --> ":text" 2) Only "smart-poster", external, and local type records are supposed to be able to carry a ndef message as payload. 3) Local type is only expected to exist inside a ndef message that is another ndef record's payload. Top level ndef message is not allowed to have a local type record. The spec changes: w3c/web-nfc#491 w3c/web-nfc#493 w3c/web-nfc#495 w3c/web-nfc#502 w3c/web-nfc#506 BUG=520391 Change-Id: Ic2890c031109aa583437ac93a8901ff71992af78 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1996946 Reviewed-by: Daniel Cheng <dchengchromium.org> Reviewed-by: Reilly Grant <reillygchromium.org> Commit-Queue: Leon Han <leon.hanintel.com> Cr-Commit-Position: refs/heads/master{#737290} -- wpt-commits: a1652e2faab5c92db0d3a2523ef9a94003e1e8f5 wpt-pr: 21157 UltraBlame original commit: db0bf96c8b8840896e7a762605492f3f55594981
- Loading branch information
Showing
4 changed files
with
1,973 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.