Also run IndexedDB wpt in private browsing mode
Categories
(Core :: Storage: IndexedDB, task, P3)
Tracking
()
People
(Reporter: sg, Assigned: hsingh)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Updated•3 years ago
|
Assignee | ||
Comment 1•5 months ago
|
||
As discussed here (https://docs.google.com/document/d/1R7HqY67kcRbYWg2UPeW0Oii4NC5VEojaD9X5c-X8Qi8/), in order to run WPT tests in private browsing mode, we need to create a new test variant (may be named 'pb') which would set pref 'browser.privatebrowsing.autostart' true. Since, we still can't run all WPT tests successfully in private mode, we need to ensure that we only tag indexedDB to run in that pb mode. This could be done as here: https://searchfox.org/mozilla-central/rev/aa1bb4f0ca8bfda4b117d1befca47b72d5dd6d5d/taskcluster/ci/test/variants.yml#292. Here we create a new test variant 'wmfme' and also define a tag 'media-engine-compatible' such that only tests tagged with this new tag name run under this new pb variant. Tests can be tagged to run under this new variant as here: https://searchfox.org/mozilla-central/rev/aa1bb4f0ca8bfda4b117d1befca47b72d5dd6d5d/dom/media/test/mochitest_compat.ini#33
Also note that:
If wptrunner breaks because of permanent private browsing mode (enabled via
browser.privatebrowsing.autostart
), then we may need to help teach the marionette wptrunner driver how to open a private browsing window to use it. The marionette protocol’s window opening command explicitly supports this, so most of the work would be in the wptrunner and having it understand when it should be opening things in private browsing mode.
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Comment 2•2 months ago
|
||
Description
•