commit | 796012b123d57c991248c7e360e6d7035e976339 | [log] [tgz] |
---|---|---|
author | Hiroki Nakagawa <nhiroki@chromium.org> | Tue May 18 00:30:04 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 18 00:30:04 2021 |
tree | 9dd8ef1ce0a3dc4074972e8188da1e4f20f05529 | |
parent | c4068847ab54834b3f7fa75e276bfd9395ae9ba6 [diff] |
ServiceWorker: Add stricter check for service worker state during static-import Static-import on module service workers should run before the initial script evaluation. Before this CL, it was ensured by the loose DCHECK. This CL tightens it. Bug: 1209853 Change-Id: I81b484f4cd4ba529d5d6e15888ccd409db66d7d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2900015 Reviewed-by: Asami Doi <asamidoi@chromium.org> Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#883727}
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.