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
Manifest tests fail if manifest is behind HTTP basic authentication #5658
Comments
Thanks for filing @nigelmcnie! When I load a site that has basic auth on a page and manifest, I see the same errors that LH does. LH is just requesting the manifest through Chrome the same way it does in the Application tab, so it appears that manifests behind basic auth don't seem to work properly. Note that I can still navigate to the manifest and view it normally even though I can't request. What does the application tab show you for yours? If it's also erroring, this bug belongs at crbug.com :) |
Huh, right you are! I'll file over there. edit: filed as https://bugs.chromium.org/p/chromium/issues/detail?id=863218 |
thanks for reporting @nigelmcnie ! I'm closing this one as lighthouse can't fix this issue. |
Update for posterity here: the manifest link tag must have |
Provide the steps to reproduce
(sorry I can't provide an example one easily)
What is the current behavior?
LH logs that two console errors about the manifest are received. As these don't happen when I view the site without LH, I'm assuming that LH triggered those console errors itself, then reported on them. Chrome itself can get at the manifest just fine, if I browse to it directly in the same browser.
What is the expected behavior?
LH uses the basic auth credentials that chrome knows to download the manifest.
Alternatively if that is not possible, LH informs the person running the test that the manifest couldn't be checked.
Environment Information
Related issues
The text was updated successfully, but these errors were encountered: