browser
Rules: 2
browser/preload
A preloaded resource went unused
browser/preload/unused · info · score 1.8 · page
The browser fetched a resource early because of a preload link, then the page never used it. That wastes bandwidth and competes with resources the page does need. Only pages that answer 2xx are checked, in browser mode.
Reported as
a preloaded resource went unused
Fix
Remove the preload link, or use the resource it points at.
Off by default; a group that runs browser turns it on.
References
For rule authors
Reads
browser.console.warnings
Expects
{
"not": {
"contains": {
"type": "string",
"pattern": "preloaded using link preload but not used"
}
}
}
When
{
"http.status": {
"minimum": 200,
"maximum": 299
}
}
browser/script
The browser console logged errors
browser/script/broken · warning · score 5.8 · page
A JavaScript error in the console usually means a feature of the page did not run. Visitors can lose menus, forms or content, and search engines that render the page may see less. Only pages that answer 2xx are checked, in browser mode.
Reported as
the browser console logged errors
Fix
Fix the JavaScript error logged to the console.
Off by default; a group that runs browser turns it on.
References
For rule authors
Reads
browser.console.errors
Expects
{
"maxItems": 0
}
When
{
"http.status": {
"minimum": 200,
"maximum": 299
}
}