github web-platform-tests/wpt merge_pr_46353

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

Make sec-ch-width tests robust to fractional values

sec-ch-width.https.html is currently failing when the window width is
not an even multiple of 10 (see: crbug.com/341258938). The spec [1]
states that sec-ch-width must be an integer, and we currently ceil
this (see: BaseFetchContext::AddClientHintsIfNecessary). This patch
updates the tests to expect correct integer values.

Bug: 335630145
Change-Id: I2b2704232963a03f6232af4fee5b72ddcf60c8c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5546690
Reviewed-by: Traian Captan tcaptan@chromium.org
Auto-Submit: Philip Rogers pdr@chromium.org
Commit-Queue: Traian Captan tcaptan@chromium.org
Cr-Commit-Position: refs/heads/main@{#1302921}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.