8000
Skip to content

core(tags-blocking-first-paint): ignore malformed link tags - #15489

Merged
adamraine merged 2 commits into
mainfrom
main-document-render-block-fix
Sep 21, 2023
Merged

core(tags-blocking-first-paint): ignore malformed link tags#15489
adamraine merged 2 commits into
mainfrom
main-document-render-block-fix

Conversation

@adamraine
Copy link
Copy Markdown
Contributor

This was one of the errors caught be sentry. A malformed link tag on https://www.iguaracu.pr.gov.br/index.php?mod=466&idConcurso=9 caused the main document request to be marked as render blocking. This is because an empty href attribute on a link tag gets resolved to the main document URL on el.href.

Since these malformed links do not actually request anything, they should not be considered render blocking.

@adamraine
adamraine requested a review from a team as a code owner September 21, 2023 20:01
@adamraine
adamraine requested review from connorjclark and removed request for a team September 21, 2023 20:01
@adamraine
adamraine merged commit aa8d489 into main Sep 21, 2023
@adamraine
adamraine deleted the main-document-render-block-fix branch September 21, 2023 23:26
@GoogleChrome GoogleChrome deleted a comment from devillizard666 Sep 22, 2023
@GoogleChrome GoogleChrome deleted a comment from devillizard666 Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0