We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[X] Bug report
TypeError: Cannot read property 'indexOf' of undefined
ngsw-worker.js:386
this.config.urls.indexOf(url)
Should be able to bypass...
(this.config.urls || "").indexOf(url)
Unable to fulfill "urls" attribute
To allow the worker to function without having "urls" attribute
Angular 5.1.0 Browser: ALL
The text was updated successfully, but these errors were encountered:
Kept a check for preventing TypeError due to url variable being undef…
2ff7f10
…ined. Provided fix for issue : angular/angular#25154
Can anybody review the code changes uploaded. Thanks.
Sorry, something went wrong.
AFAICT, config.urls can never be undefined, since this field is auto-generated. Having an asset group with no URLs is invalid anyway.
config.urls
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
No branches or pull requests
I'm submitting a...
Current behavior
TypeError: Cannot read property 'indexOf' of undefined
ngsw-worker.js:386
this.config.urls.indexOf(url)
Expected behavior
Should be able to bypass...
(this.config.urls || "").indexOf(url)
Minimal reproduction of the problem with instructions
Unable to fulfill "urls" attribute
What is the motivation / use case for changing the behavior?
To allow the worker to function without having "urls" attribute
Environment
The text was updated successfully, but these errors were encountered: