WICG / shared-storage

Explainer for proposed web platform Shared Storage API
Other
89 stars 23 forks source link

append() checks the maximum length too early #114

Open jyasskin opened 1 year ago

jyasskin commented 1 year ago

https://wicg.github.io/shared-storage/#dom-windowsharedstorage-append checks the argument value's maximum length, but if a value was already set, it concatenates the value and sets a potentially longer value into storage. It should either check the maximum length right before putting it into storage, or have a Note saying why it doesn't.