Closed Bug 1838259 Opened 2 years ago Closed 2 years ago

CacheAPI PBM support: Enable wpt tests to run on private and regular mode.

Categories

(Core :: Storage: Cache API, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
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.

Blocks: 1714354
Severity: -- → S3
Priority: -- → P3
Type: defect → task

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.

Attachment #9341391 - Attachment description: Bug 1838259: Run wpt indexedDB and storage tests in private browsing.r=#dom-storage-reviewers → Bug 1838259: Run storage tests in private browsing.r=#dom-storage-reviewers
Attachment #9341391 - Attachment description: Bug 1838259: Run storage tests in private browsing.r=#dom-storage-reviewers → WIP: Bug 1838259: Run storage tests in private browsing.r=#dom-storage-reviewers
Attachment #9341391 - Attachment description: WIP: Bug 1838259: Run storage tests in private browsing.r=#dom-storage-reviewers → WIP: Bug 1838259: Run Cache-API wpt tests in private browsing mode.r=#dom-storage-reviewers
Attachment #9341391 - Attachment description: WIP: Bug 1838259: Run Cache-API wpt tests in private browsing mode.r=#dom-storage-reviewers → Bug 1838259: Run Cache-API wpt tests in private browsing mode.r=#dom-storage-reviewers
Pushed by jvarga@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7507533a8488 Run Cache-API wpt tests in private browsing mode.r=taskgraph-reviewers,dom-storage-reviewers,jmaher,jgraham,janv
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43109 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Upstream PR merged by moz-wptsync-bot
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/90a7360e30b5 [wpt PR 43109] - [Gecko Bug 1838259] Run Cache-API wpt tests in private browsing mode., a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ae2aa2ef363 [wpt PR 43109] - [Gecko Bug 1838259] Run Cache-API wpt tests in private browsing mode., a=testonly
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: