W3C home > Mailing lists > Public > public-test-infra@w3.org > January to March 2017

Storage clearing

From: James Graham <james@hoppipolla.co.uk>
Date: Mon, 20 Mar 2017 14:58:14 +0000
To: "public-test-infra@w3.org" <public-test-infra@w3.org>
Message-ID: <43cfb857-d7ec-2306-0eee-68f9f4b3ce3e@hoppipolla.co.uk>
Mozilla have written some tests for storage that depend on clean storage 
for each test. As a result I have a review request to add a method (in 
wptrunner) to clear the storage. It's currently looking for URLs 
starting /storage/, which doesn't seem terribly principled.

Do people think that adding <meta name=storage content=clear> to these 
tests would be a reasonable idea? Is there a better approach? If we add 
that metadata how implementable is it? Gecko can use marionette to run 
chrome-context code. I imagine that implementing it in wptrunner for 
Chrome would involve restarting the browser to get a clean profile. I"m 
not sure about Safari/Edge (maybe one could just delete some files on 
disk?).
Received on Monday, 20 March 2017 14:58:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:34:13 UTC