Re: [web-nfc] URL objects

It seems push does not have metadata to include the type. For 
`Request` and `Response` objects in Fetch that is expected to be 
delivered through the `Content-Type` header and necessary for the 
correct extraction of certain types. If you want something analogous I
 would expect:

```webidl
interface NFCData {
  readonly attribute NFCDataType type;
  ArrayBuffer arrayBuffer();
  ...
  USVString url();
}
enum NFCDataType { "url", "string", "opaque" };
```

-- 
GitHub Notif of comment by annevk
See https://github.com/w3c/web-nfc/issues/26#issuecomment-129854217

Received on Tuesday, 11 August 2015 12:16:34 UTC