Re: [web-nfc] Improve data mapping (#373)

One question is how to read `"absolute-url"`. Do we follow the NFC specs by exposing the URL [also] on `mediaType`, or only with data getters? Then, IMHO we should both `text()` and `arrayBuffer()` getters should work.

To stay consistent when pushing obsulte URI, we don't use `mediaType` at all (currently its `"text/plain"`).

Note the addition of local types. They are tricky, will need to add checking for parent conditions to the algorithms (same ID, embedded message, etc).


-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/373#issuecomment-541763037 using your GitHub account

Received on Monday, 14 October 2019 15:56:25 UTC