-
Notifications
You must be signed in to change notification settings - Fork 67
New version of the Web NFC specification and the Security and Privacy document. #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Should NFCDeviceType be changed to NFCPushTarget? |
We went back and forth between these two names. Perhaps NFCPushTarget is more correct. |
Will make a new commit in this PR to fix it. |
It seems that I have already done that and have already forgotten it :). Perhaps the comment referred to removed code (draft.idl). |
Yes, sorry, I thought draft.idl was the latest because it has the latest modification date. |
See also the HTML diff to the latest published version. |
ok lgtm |
New version of the Web NFC specification and the Security and Privacy document.
Thank you @zolkis and @kenchris. This is a significant update that addresses the open issues. I will merge this now. Couple of comments that can be addressed later:
|
I thought formal parameters from the IDL don't need steps to explain their name binding.
Since often the algorithm is terminated in the sub-steps, it would be cumbersome to break it out to sub-algorithms, since then it's not clear what is meta-parameter and return values and what really belongs to the algorithm. I tried that slicing e.g. with the security steps, but it became a mess. |
Algorithms extended and reworked.
Changed data representation.
New security policies.
Use watches instead of events.
Fixed terminology related issues.
Renamed send() to pushMessage().
Added timeout to push options.
Issues addressed: #2, #3, #22, #26, #28, #30, #31, #32, #33, #35, #36, #38, #39, #40.
Also,
Fixed #4: use wording from [powerful features].
Fixed #29: use "in parallel" instead on "asynchronously".
Fixed #34: add example for sending data to NFC peer.
Fixed #45: add cancelPush() method.
Also, added steps on what happens with watches and push messages when focus is switched to another browsing context.