Hi all, I'm having a problem with the Browser API. I hope someone might be
able to enlighten me.

As the subject line says: does purgeHistory() delete cookies? Working on a
privileged FxOS 1.1 app, I found that it doesn't seem to, even though the
documentation says otherwise[1].

I have built a small test app to isolate the problem, it's at
https://github.com/pablobm/fxos-experiments You can just clone it, fire up
your FxOS Simulator (as it's 1.1 I'm targeting) and point it to the
iframe/manifest.webapp in there[2].

The "Purge history" button in the app will call purgeHistory() on the
iframe. If you do something that will reveal whether cookies are being
persisted (such as logging into a site), you should be able to check that
 these are not deleted.

Any ideas?

Thank you in advance,

[1]
https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement.purgeHistory
[2]
https://github.com/pablobm/fxos-experiments/blob/master/iframe/manifest.webapp

-- 
Pablo Brasero Moreno
[email protected]
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps

Reply via email to