Re: [whatwg/storage] Feedback on the persist() algorithm. (#26)

That behavior sounds reasonable but its not fully reflected in the algo, there is no mention of waiting on an existing prompt for that origin to complete. From an impl point of view, with these prompts appearing, as 'banners' scoped to a tab, having a user interaction with one of the prompts affect the state of another prompt is extra complexity, i think the path of least resistance would be to allow transitioning from persistent to non-persistent in this hypothetical case, but that would be non-compliant as there's no way the algo here could produce that result.

Maybe add some non-normative words, equivalent to the ASSERT, or some other clarifying statement of the assumptions.


---
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/26#issuecomment-215861801

Received on Friday, 29 April 2016 19:55:09 UTC