-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the addRoutes() to be called during installing (#1744)
This is for addressing #1743. `InstallEvent.addRoutes()` is allowed to be called during installing, and the event wait until a promise returned by addRoutes() resolves. Additional change: - Update of the persistent data has been changed to follow how Chromium works. - fetch-event existence check has been moved inside the loop. It changed the rule verification order. - introduced parallel queue to clarify rules added by `addRoutes()` will be added in this order even if `addRoutes()` can be called in parallel.
- Loading branch information
1 parent
0c42aff
commit b6ac20c
Showing
1 changed file
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters