commit | 1d0578e06f34cf9eaf1b29b10b43c354a734c05f | [log] [tgz] |
---|---|---|
author | Philip Rogers <pdr@chromium.org> | Sat May 18 00:13:04 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat May 18 00:13:04 2024 |
tree | 47c0a0d2371cbbaa28d1ea117c744b5ea218ea8e | |
parent | ebcbf7ace4fbe1f8c73db677c85ff131069c6100 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.