Re: [web-nfc] URL objects

The problem we have in the NFC spec is that we expose incoming data 
types as 
```
typedef (DOMString or URL or Blob or JSON) NFCData;
```
Now if ```URL``` becomes ```USVString``` then in JS it will be normal 
string, indistinguishable from text type. That means if we get rid of 
```URL``` objects, we need to carry the type of the original 
information as a property (like ```type: "url", value: 
"www.mydomain.com"``` vs ```type:"text", value: 
"www.mydomain.com"```), which is not very web'ish either, then this 
will roll on and change the whole API. <*scratching head*>

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

Received on Tuesday, 11 August 2015 10:26:19 UTC