Skip to content
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

Chrome flag "--host-resolver-rules" ignored #2817

Closed
AltF4Top opened this issue Aug 1, 2017 · 1 comment
Closed

Chrome flag "--host-resolver-rules" ignored #2817

AltF4Top opened this issue Aug 1, 2017 · 1 comment

Comments

@AltF4Top
Copy link

AltF4Top commented Aug 1, 2017

When passing chrome flag

--host-resolver-rules='MAP www.example.org:443 127.0.0.1:8443'

to the --chrome-flags flag, lighthouse requests the original https://www.example.org/ as usual, simply ignoring the host-resolving rule.

I guess there is some code like split(' ') used so that flags which contain inner space will be divided and discarded.

I also wonder whether there is a way to bypass this problem.

@patrickhulce
Copy link
Collaborator

Hey there @AltF4Top thanks for the report! Indeed this is a current limitation and is captured by #2753, #2754 is in progress to address this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants