-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
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
core(network): handle invalid NetworkRequests #6157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % one more isValid
check! 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@exterkamp should we add this to our smoke tests? Would it be easy to add the @font-face thing to https://github.com/GoogleChrome/lighthouse/blob/master/lighthouse-cli/test/fixtures/dobetterweb/dbw_tester.html? The expectations shouldn't need to be updated, the test would just be that the run completes and the results still come back as expected before. |
we'll punt on the smoke test to a future change (pending getting it to work in a non-complicated way :) |
Summary
Adds
isValid
property to a NetworkRequest and ignores invalid requests when making the list of records to surface to rest of application.Related Issues/PRs
fixes: #6145