Open Bug 1793765 Opened 2 years ago Updated 2 years ago

[wpt-sync] Sync PR 36286 - Add missing test around cache-mode in fetch

Categories

(Core :: DOM: Networking, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 36286 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/36286
Details from upstream follow.

Jxck <[email protected]> wrote:

Add missing test around cache-mode in fetch

http-cache/cache-mode.any.js has some test around cache-mode, but some missing test can be found in spec.

This PR adding them into test case.

note:

  • Adding spec in comment to show what should be covered in test case
  • I didn't change any style, but I feeling it's chance to fix them because change has significant amout.
  • cache-mode defalt test can be parameterised, but I left them in copy-pasting style. Let me know if it better to use parameterised function.
Component: web-platform-tests → DOM: Networking
Product: Testing → Core
You need to log in before you can comment on or make changes to this bug.