Re: [web-nfc] Handling pushed msg exceeds tag's size and how is the msg size calculated (#523)

I think we need to figure out this from the 2 aspects:
1. Is it necessary to put a limit on the size of the NDEF message pushed via `NDEFWriter#write()`?
2. Is it necessary to put a limit on the size of the NDEF message that can be dispatched to `NDEFReader#onreading`?

The old (current) WebNFC impl in Chromium imposes a limitation of 32K bytes on both conditions above, but does not implement well in respect of the algorithm for calculating the size of an NDEF message.

WDYT?  @zolkis @beaufortfrancois @riju @reillyeon @kenchris 

-- 
GitHub Notification of comment by leonhsl
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/523#issuecomment-581711445 using your GitHub account

Received on Tuesday, 4 February 2020 02:22:57 UTC