commit | 5a04f93aa6e95fdd71284b6ca5a590f4ae17f76c | [log] [tgz] |
---|---|---|
author | Andrea Orru <andreaorru@chromium.org> | Tue Apr 08 00:56:26 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 08 00:56:26 2025 |
tree | 9085ab9f8a6a43b15fcea21ff511c27cca70d54a | |
parent | 09fe4899b5707253232732a63153270dbd2ffaca [diff] |
[Extensions] Defer call to ResetURLLoaderFactories in WebRequestAPI This change leverages the recently introduced `RegistrationObserver` inside `ServiceWorkerTaskQueue`, to defer execution of `ResetURLLoaderFactories()` until all in-flight service worker registrations are completed (have been stored, or failed). This fixes a bug that would cause registrations to fail with either `kErrorStartWorkerFailed` or `kErrorNetwork`. Design doc: http://go/defer-reset-url-loader-factories Bug: 394523691 Change-Id: I03ff1206606e21f26389d7d7d09be8f95e937dab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6370790 Reviewed-by: Justin Lulejian <jlulejian@chromium.org> Commit-Queue: Andrea Orru <andreaorru@chromium.org> Reviewed-by: Erik Chen <erikchen@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1443866}
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.