-
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(without-javascript): remove audit #11711
Conversation
In addition to the CI failures, I found some files which still reference this audit:
Additionally, the |
Nah we don't have too. I suppose if we wanted to it'd be ok. could just remove every audit in that LHR except for |
New idea for a replacement: we could take a screenshot of the page without javascript and run the speed index algorithm on it, if it's more than ~20% different it fails? If there's interest I can file an issue with more details :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one other note on the changes necessary here, we'll probably want to simplify the flow and remove the disableJavaScript
handling in driver as well :)
Just to be clear, you're proposing this as an alternative to removing the 'without-js' audit completely, right? |
A long-term alternative yes, but my proposal shouldn't block the landing of this PR. I commented here to keep discussion about why it's OK to remove this in one logical place :) |
smoke test failure for now-possible js redirects is an interesting new case :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last remnant I noticed:
lighthouse/lighthouse-core/test/results/artifacts/artifacts.json
Lines 3342 to 3344 in 80b9db0
"HTMLWithoutJavaScript": { | |
"bodyText": "Do better web tester page\nHi there!\ntouchmove section\n " | |
}, |
...ium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-export-run-expected.txt.orig
Outdated
Show resolved
Hide resolved
...webtests/webtests/http/tests/devtools/lighthouse/lighthouse-successful-run-expected.txt.orig
Outdated
Show resolved
Hide resolved
...mium-webtests/webtests/http/tests/devtools/lighthouse/lighthouse-view-trace-run-expected.txt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 2aa9845.
Fixes #11459.