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

> User agents should not expire data from a browsing context's session storage areas, but may do so when the user requests that such data be deleted, or when the UA detects that it has limited storage space, or for security reasons. User agents should always avoid deleting data while a script that could access that data is running. When a top-level browsing context is destroyed (and therefore permanently inaccessible to the user) the data stored in its session storage areas can be discarded with it, as the API described in this specification provides no way for that data to ever be subsequently retrieved.

This seems mostly fine.

> User agents should expire data from the local storage areas only for security reasons or when requested to do so by the user. User agents should always avoid deleting data while a script that could access that data is running.

This doesn't list sufficient reasons. Limited storage space should apply to this data as well. Privacy reasons might apply, etc.

Some of this is also a bit redundant with existing sections so might need some rewording.

-- 
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-635982878

Received on Friday, 29 May 2020 13:50:24 UTC