-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
core(entity-classification): classify unknown urls as "unattributable" #15009
Conversation
Previously, chrome:// and chrome-extension:// protocol URLs, as well as URLs that arent part of devtoolsLogs would fail the audit. This change classifies all uknown as 3P and groups them under "Unattributable".
The Not sure if
|
@brendankenny We still recognize I'm not sure if we are adding further value by classifying chrome extensions as a separate entity of their own, and we'll have to group all chrome extensions together anyway, so they're likely best left grouped into unattributable entities. |
Right, that's what I meant by they're not an issue unless you're actually testing a
It makes sense to not make unattributable URLs a fatal error that breaks audits, but that error was added because we believe LH should be able to know where all URLs came from, and examples to the contrary are corner cases that need to be fixed. Here's a corner case :) We know what they are and we should say so. Grouping them all together seems fine. It's the dev's extensions, so as long as we make that evident (Chrome extension(s) on test machine?), that's a clear handoff of responsibility at that point. There also doesn't seem to be any downside? An extra string, but makes the classification clearer and more authoritative. |
Okay let's merge this in so we can fix the audit failure, and I'll follow up with an issue to classify Chrome extensions separately. @brendankenny wdyt? |
SGTM! |
Fixes #14996.
Previously,
chrome://
andchrome-extension://
protocol URLs, as well as URLs that aren't part of devtoolsLogs would fail the audit. This change classifies all unknown as third party and groups them under "Unattributable".With the axe chrome extension that @adamraine faced an error in #14996, the report now would look like: