You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently pushMessage() takes as argument a sequence of records, whereas when NFC content is read, it is presented as an NFCMessage with a url and a sequence of records.
Currently developers cannot control what path is written in the Web NFC Id. The steps currently say that URL path of the browsing context is written as Web NFC Id.
It would be good if we'd have the same NFCMessage definition both for push and reads.
Also, it would be nice if developers could control the path part of the Web NFC Id, but could not fake the scheme/host/port.
These two things could be solved together by modifying the pushMessage signature to:
where message.url is supposed to provide a developer defined path.
If we don't want to support this, we could also say message.url is not currently used.
The text was updated successfully, but these errors were encountered:
zolkis
added a commit
to zolkis/web-nfc
that referenced
this issue
Nov 4, 2015
…3c#84. Handle push related TAG review comments: simplified and aligned push message, optional push options with sensible defaults, improved push and cancelPush steps, option for suspending watches during push(), editorials.
pushMessage()
takes as argument a sequence of records, whereas when NFC content is read, it is presented as an NFCMessage with a url and a sequence of records.It would be good if we'd have the same NFCMessage definition both for push and reads.
Also, it would be nice if developers could control the path part of the Web NFC Id, but could not fake the scheme/host/port.
These two things could be solved together by modifying the
pushMessage
signature to:where message.url is supposed to provide a developer defined path.
If we don't want to support this, we could also say
message.url
is not currently used.The text was updated successfully, but these errors were encountered: