-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
HTTP redirects to HTTPS audit doesn't work on android #2363
Comments
Can work on this. Need more context around the meaning of
Mind clarifying with relevant links and some more details? |
for background, see discussion and changes to |
Sure :) WPT stands for https://www.webpagetest.org/ which is open source and does performance testing as a service. We have a Lighthouse integration there that enables you to get a LH report along with your regular report when you run it on one of their mobile devices. Unfortunately the security domain we use to tell if you are on a https doesn't work on android. We encountered this with the I'm thinking we do something similar for the |
Gotcha! Let me bring up a PR for that possibly due thursday. If you know where to fix at android I can do it there instead, either way is fine with me. ( If the android implementation is OSS ) |
I wish it were that simple :D either way we've going to have to work around this here in LH quickly since a fix for Android Chrome won't necessarily get pushed out soon even if we had one today. If you're curious though you can take a look at the Chromium bug and poke around the Chromium code |
This one:
Fetches all urls from network, or? |
Right, that audit checks that all requests in the default pass used https. To fix this one though, you probably won't even need to mess with network records you could just check the final url in the |
Yep, doing it right now. Watching how you're building up audits to better know the source code while at it |
Left it at #2396 , please, do an extensive review, this seems too simple and could break stuff |
The simple fix: in afterPass we evaluateAsync I'm going to take this. |
@paulirish – would love a fix here 😄 |
When you run Lighthouse on WPT or on any Android device, the security domain does not work properly and thus fails the HTTP redirect check, see this report as example.
We should do what we did for is on HTTPS and just check for the scheme.
The text was updated successfully, but these errors were encountered: