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

chromium: enable headless platform again #587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rwmacleod
Copy link
Contributor

For testing and perhaps other workflows, we should allow headless mode.
This avoids the error:

chromium --no-sandbox --headless https://html5test.com

[1117/063144.834204:FATAL:platform_selection.cc(45)] Invalid ozone platform: headless
Trace/breakpoint trap

For testing and perhaps other workflows, we should allow headless mode.
This avoids the error:
# chromium --no-sandbox --headless https://html5test.com
[1117/063144.834204:FATAL:platform_selection.cc(45)] Invalid ozone platform: headless
Trace/breakpoint trap
@rwmacleod
Copy link
Contributor Author

Hold on, the default x11 interface might not be the default. More testing needed...

@msisov
Copy link
Collaborator

msisov commented Nov 25, 2021

This should help https://source.chromium.org/chromium/chromium/src/+/main:build/config/ozone.gni;l=41?q=ozone.gni&ss=chromium :)

Also, the correct flag should be --ozone-platform=headless now. The simple --headless flag fails now. I created bug for the headless team to fix that (https://bugs.chromium.org/p/chromium/issues/detail?id=1273764)

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

Successfully merging this pull request may close these issues.

None yet

2 participants