GoogleChrome / GoogleChrome/lighthouse

Incorrect error reporting when using link preload

Open
#10,381 5 comments 0 reactions 1 assignee Claimed by @connorjclark View on GitHub
bug P1.5 PSI/LR
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

**Describe the bug**
Incorrect error reported "Browser errors were logged to the console"

**To Reproduce**
1. Run web.dev audit with 'https://condescending-haibt-2d0d42.netlify.com/bug.html' (page uses `link: ; rel="preload"; as="script"; crossorigin="anonymous" `header)
2. In the report there are incorrect error "Browser errors were logged to the console":

/empty.js(condescending-haibt-2d0d42.netlify.com) | Failed to load resource: net::ERR_ACCESS_DENIED

**Expected behavior**
There should not be such error

Report: https://lighthouse-dot-webdotdevsite.appspot.com//lh/html?url=https://condescending-haibt-2d0d42.netlify.com/bug.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.