Re: [whatwg/storage] Moving text from HTML's web storage into the Storage Standard (#95)

Refactoring things _out_ of the HTML monolith? 🎉 

> Script running is important though.

Yep... but those two sentences are somewhat in conflict, so probably deserve more nuance. If the user clears data, it should happen even if script is running. To do so properly may require stopping script from running, so it's not wrong, just complicated.

Re: Compression - yeah, I think that ship has sailed. Chrome reports actual quota usage regardless of compression or overhead (e.g. write-ahead logs etc prior to compaction)

Re: origin vs. site - there's also the challenges of preventing cross-origin information leakage which we probably need to document in Storage at some point.

Re: 5 MiB limit - FWIW, I think Chrome is at 10MiB (@mkruisselbrink ?). Agreed that we should keep the limit for localStorage/sessionStorage. I think it would be fine for any storage endpoint to impose its own bottle size limit in addition to a bucket limit.  



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/issues/95#issuecomment-636091062

Received on Friday, 29 May 2020 17:25:05 UTC