github web-platform-tests/wpt merge_pr_46626

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
15 months ago

Prerender: Add WPTs for No-Vary-Search hint

This CL adds WPTs for No-Vary-Search hint with speculation rules
prerendering.

To reuse test cases that have been used for No-Vary-Search hint with
prefetching, this CL adds a common script file: hint-test-inputs.js.
Similarly, a common test helper function is moved to test-utils.js.

This test infra is not perfect yet. In some cases, the tests could pass
without actually using the No-Vary-Search hint. See the TODO comment in
no-vary-search-hint.https.html for details. This will be fixed later.

Also some test cases are tentatively marked as failure. We will address
them in follow-up CLs.

Change-Id: I90a50016672f0d8f9caa16e48be20db509dab3b2
Bug: 343754418
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5586783
Commit-Queue: Hiroki Nakagawa nhiroki@chromium.org
Reviewed-by: Kouhei Ueno kouhei@chromium.org
Cr-Commit-Position: refs/heads/main@{#1310427}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.