Skip to content

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

2 participants