-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed as not planned
Labels
area: service-workerIssues related to the @angular/service-worker packageIssues related to the @angular/service-worker package
Milestone
Description
Which @angular/* package(s) are the source of the bug?
service-worker
Is this a regression?
No
Description
This bug GoogleChrome/workbox#792 still reproduces in some cases in spite of fix #26042
It reproduces in Chrome 77, 78, 79, 80 and an error appeared:
Uncaught (in promise) DOMException: Entry was not found.
It reproduces in Angular 11, 12, 14.
It reproduces in MacOs and Windows.
Steps for reproduce:
- create new Angular app (v14, for example)
- add ServiceWorker to the project
- build and run project
- install Chromium v80 https://chromium.cypress.io/mac/stable/80.0.3987.163 and open
- in 1st tab open the running project
- in 2nd tab open the running project
- in 2nd tab go to DevTools > Application > Storage and click the button "Clear site data"
- go to 1st tab and refresh the page (F5)
- refresh the page again (F5)
- after that the page will crash and the error appear:
Uncaught (in promise) DOMException: Entry was not found.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Uncaught (in promise) DOMException: Entry was not found.
Please provide the environment you discovered this bug in (run ng version
)
Browser: Chrome 77, 78, 79, 80
Angular: 11, 12, 14.
OS: MacOS and Windows
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area: service-workerIssues related to the @angular/service-worker packageIssues related to the @angular/service-worker package