commit | 59e5664ae5c88518b4dc7ccb374fe407cfe2477c | [log] [tgz] |
---|---|---|
author | Patricia Rock <trishalfonso@google.com> | Mon Mar 10 15:14:42 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 10 15:14:42 2025 |
tree | deb989e7fea8d37b2ac602117c423beadaafda5a | |
parent | b2616d0d3a7d628836e3b5ebef1f9edd9c69406b [diff] |
[FPF] Don't create throttles for same-origin resource requests. The filter only blocks resources when they are cross-origin, so do this check before the throttle is created to limit throttling only to cross-origin navigations and don't create the throttles for same-origin requests. TESTED=speedometer_3.0 locally on live sites, -0.615%: https://docs.google.com/spreadsheets/d/1NM1qykMQMsRSCdLfpcbRsup-0AAIjmxwT4TT9xesVWE/edit?resourcekey=0-shhx4ZIwZj8HEOKfksvgyg&gid=323122537#gid=323122537 Bug: 395082326,396151497, 395630429 Change-Id: I914342e2ad6930c1ca3ff2ed7cea9c0198ef98a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6248279 Reviewed-by: Nico Weber <thakis@chromium.org> Commit-Queue: Patricia Rock <trishalfonso@google.com> Reviewed-by: Martin Verde <thesalsa@google.com> Reviewed-by: Tanushree Bisht <tanub@google.com> Reviewed-by: Alex Turner <alexmt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1430247}
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.