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

Add additional chrome flags #227

Merged
merged 8 commits into from
Feb 2, 2021
Merged

Add additional chrome flags #227

merged 8 commits into from
Feb 2, 2021

Conversation

paulirish
Copy link
Member

extra descriptions of these at https://github.com/GoogleChrome/chrome-launcher/blob/master/docs/chrome-flags-for-tools.md

feels good

  • disable-component-update.. this is huge, as I don't believe disable-background-networking was toggling this off.
  • disable-client-side-phishing-detection. probably not a huge deal, but why not.
  • disable-ipc-flooding-protection. Been default in pptr since 2018. puppeteer/puppeteer@2a88690 seems good
  • password-store=basic and use-mock-keychain. default in chromedriver/pptr. see links in the markdown.

not sure....

closes #23 (so old. made redundant, finally)

Copy link
Contributor

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it could be ok, but do we have any tests sensitive enough to window size/positioning that we may get errors like they saw in https://groups.google.com/a/chromium.org/g/platform-predictability/c/k1I70ez7suM/m/1iskWQeKAgAJ ?

@brendankenny
Copy link
Contributor

Seems like it could be ok, but do we have any tests sensitive enough to window size/positioning that we may get errors like they saw in https://groups.google.com/a/chromium.org/g/platform-predictability/c/k1I70ez7suM/m/1iskWQeKAgAJ ?

running Lighthouse's yarn smoke with this branch of chrome-launcher had no errors, at least

@brendankenny
Copy link
Contributor

element rects and the full-page-screenshot also look properly aligned, so seems ok to me

@paulirish
Copy link
Member Author

Seems like it could be ok, but do we have any tests sensitive enough to window size/positioning that we may get errors like they saw in groups.google.com/a/chromium.org/g/platform-predictability/c/k1I70ez7suM/m/1iskWQeKAgAJ ?

on second thought i don't think we want this. i'd take it if it didnt add its own infobar.

but i just had a bunch that the infobar mucks with the screenshots and.. indeed it does.

image

that issue: GoogleChrome/lighthouse#4451

@paulirish paulirish merged commit a5f6eb2 into master Feb 2, 2021
@paulirish paulirish deleted the moarflags-jusflags branch February 2, 2021 01:15
@brendankenny brendankenny mentioned this pull request May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants