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

Re: Storage clearing

From: Philip Jägenstedt <foolip@google.com>
Date: Tue, 21 Mar 2017 05:52:22 +0000
Message-ID: <CAARdPYdwo+EaCqm8BCRaQe+aG=rRFt5WMM6fnWdGv7g6hAsUvg@mail.gmail.com>
To: James Graham <james@hoppipolla.co.uk>, "public-test-infra@w3.org" <public-test-infra@w3.org>
Could that information be extracted out into the manifest? That seems more
straightforward than finding it and restarting.

On Mon, Mar 20, 2017 at 11:59 PM James Graham <james@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 Tuesday, 21 March 2017 05:53:05 UTC

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