CacheAPI PBM support: Enable wpt tests to run on private and regular mode.
Categories
(Core :: Storage: Cache API, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: hsingh, Assigned: hsingh)
References
Details
Attachments
(1 file)
We should enable wpt tests to run on both regular and private mode.
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
I have created a new wpt test type 'web-platform-tests-privatebrowsing' https://phabricator.services.mozilla.com/D170069 which would only run the wpt tests tagged with 'privatebrowsing'. Similar to IndexedDB, I don't see a dedicated tests directory under testing/web-platform/tests/* for Cache API. But, I do see some cache API tests under testing/web-platform/tests/storage/* and testing/web-platform/tests/service-workers/cache-storage/*.
So as part of this work, I tagged all tests under above mentioned paths to be run under new wpt test-type 'web-platform-tests-privatebrowsing'. I see that we have some wpt tests especially the ones which are named '*.any.js' also getting run under a 'worker', 'sharedworker' and a 'service-worker'. Tests like these are failing are failing when running under a service worker because service worker is not yet supported in private browsing mode. I would need to explicitly disable such tests under privatebrowsing run.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Comment 9•2 years ago
|
||
bugherder |
Description
•