Re: [web-nfc] s/undefined/null/g for |buffer| when empty payload (#463)

Per `9.11.9.1 Parsing records from bytes`: 
> If idLength > 0, let ndef's id be result of running UTF-8 decode on the next idLength (ID field) bytes, or else let ndef's id be the empty string.

It should be empty string.

> @Honry Does the current PR looks good to you?

Thanks for your quick fix, LGTM. :)


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

Received on Thursday, 12 December 2019 07:56:28 UTC