Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
new_audit: add preload-fonts audit #11255
new_audit: add preload-fonts audit #11255
Changes from 42 commits
6c57f87
2a8533b
dabd7ba
e240ff3
8297def
5d76ce2
11b267b
174f7e7
ab5acac
5c43a17
f9da1f0
e98473d
7aa0cdb
1c0ccf4
1d05617
bad337a
6e5c3f8
90961d2
af7cd7a
655e600
a6f650e
27fdcb4
d400aa1
fa4be5d
d3a3a9a
b940ff4
c189a6a
52bc2c4
5016379
5b2098a
dd42bdb
0983f35
0e96a83
651111b
afe8fb7
d884255
8555e05
5507406
e3ffe70
4846651
116d29a
58ffe03
be83a44
2b1dd00
faa65bd
43c5802
7e9524d
d7e9974
e58a1e9
859f6fc
4584664
dcb8db0
788b0d5
d773e20
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
so if a font is "attempted preload" but preload actually fails, this audit won't say anything. I guess we are relying on use-rel-preload in this edge case? If so, let's make that clear in the audit.
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.
yeah thats right, because if we warned about that here too, we would have duplicate warnings throughout the report so I didn't want to be redundant
in the description for the
getURLsAttemptedToPreload
I put "Finds which font URLs were attempted to be preloaded, ignoring those that failed to be reused and were requested again.", so should I add this comment to line 72 as well?