commit | 1066e17aa5db5bea7e9fed7e916bb2923a3ef2f9 | [log] [tgz] |
---|---|---|
author | Istiaque Ahmed <[email protected]> | Wed May 20 00:42:56 2020 |
committer | Commit Bot <[email protected]> | Wed May 20 00:42:56 2020 |
tree | 52f9fce6eed1a99901780b7fd5ce928d35f38f44 | |
parent | 9c75220c46ece1b05cde3a4bced2072352987b7e [diff] |
[Extensions SW] Fix and enable a fetch related test. This CL enables ServiceWorkerTest. FetchFromContentScriptShouldNotGoToServiceWorkerOfPage The test expects fetch to "./sw_controlled_check" to be handled by its registered worker. But this test initiates the fetch a bit earlier than expected, specifically in failure/flaky cases. This CL ensures that the page is being controlled by the service worker before initiating the fetch from index.html. It does so by waiting for oncontrollerchange event to occur. Bug: 1014222 Change-Id: Ib235a6a80957b6f8c22ca5e167e1d37a86cc1850 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208027 Commit-Queue: Istiaque Ahmed <[email protected]> Reviewed-by: David Bertoni <[email protected]> Cr-Commit-Position: refs/heads/master@{#770384}
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.
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.