Re: [w3c/payment-handler] What happens when clearing site data? (#236)

> If navigator.storage.clear() clears the data in one implementation and not in another

Which is not what I am proposing. I said "let's leave **UX** around persistence of the data to implementors"

If implementors of `navigator.storage.clear()` wish to deviate from current behavior which is to clear all user data (including payment instruments because they are part of the SW lifecycle) then that's something they should raise as a change to `navigator.storage.clear()`.

My proposal remains that we treat payment instruments as part of the SW lifecycle. If a browser wants to **offer a user a UX** that allows them to clear their data but not their payment instruments they can do that.

Any origin originated process to clear the data (headers or API) should assume that the payment instruments are cleared. But... Since they were put there in the first place by the origin it can quickly restore them if it chooses.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/236#issuecomment-349952829

Received on Thursday, 7 December 2017 12:27:41 UTC