Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

Opt-out of "headless" mode #606

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

jugglinmike
Copy link
Collaborator

As of [1] (merged on 2018-09-24), the WPT CLI enables the "headless"
mode of Chrome and Firefox by default. This mode is more convenient for
contributors running the tests from their development system, but it
also relies on functionality which is not enabled during typical usage
of the browsers. Results collected in this mode are therefore less
authentic than results collected using a virtual display.

@jgraham commented on this in [2]:

unless we have some reasonable assurance that headless mode matches
non-headless in all cases (e.g. the relevant browser running both
configurations in CI with identical results) I don't think we should
enable it for wpt.fyi-ingested runs.

That issue includes evidence that the results are not equivalent,
meaning "headless" mode is not appropriate for publicly documenting the
capabilities of each browser.

Extend the results collection system to use the new --no-headless
command-line argument.

[1] web-platform-tests/wpt#13076
[2] #603

As of [1] (merged on 2018-09-24), the WPT CLI enables the "headless"
mode of Chrome and Firefox by default. This mode is more convenient for
contributors running the tests from their development system, but it
also relies on functionality which is not enabled during typical usage
of the browsers.  Results collected in this mode are therefore less
authentic than results collected using a virtual display.

@jgraham commented on this in [2]:

> unless we have some reasonable assurance that headless mode matches
> non-headless in all cases (e.g. the relevant browser running both
> configurations in CI with identical results) I don't think we should
> enable it for wpt.fyi-ingested runs.

That issue includes evidence that the results are not equivalent,
meaning "headless" mode is not appropriate for publicly documenting the
capabilities of each browser.

Extend the results collection system to use the new `--no-headless`
command-line argument.

[1] web-platform-tests/wpt#13076
[2] web-platform-tests#603
Copy link
Member

@Hexcles Hexcles left a comment

Choose a reason for hiding this comment

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

Wow, I didn't know there are so many discrepencies. Thanks for the detailed report!

In general, I always like the conservative/safe approach to keep status quo until we figure out what's wrong with the new thing.

@jugglinmike jugglinmike merged commit d95e68e into web-platform-tests:master Sep 24, 2018
@jugglinmike
Copy link
Collaborator Author

Merged and deployed. Thanks for the review!

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

Successfully merging this pull request may close these issues.

3 participants