<div dir="ltr">I typically use xvfb-run when executing tests locally. How does headless mode differ? Does it just run faster, but at the cost not testing some widget code?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 14, 2017 at 7:51 PM, Brendan Dahl <span dir="ltr"><<a href="mailto:bdahl@mozilla.com" target="_blank">bdahl@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
<br>
As of Firefox 55 I intend to ship headless Linux support (Firefox without a<br>
GUI and X11 server connection). Headless mode is enabled via the --headless<br>
command line flag for Firefox and does not affect Firefox when running in<br>
normal mode or on Windows and macOS<br>
<br>
<br>
<br>
For those unfamiliar with the project, the main goal of headless browsing<br>
is to make web developer workflow and testing with Firefox easier. There<br>
are currently two ways to interact with headless Firefox by using either<br>
SlimerJS or Marionette (WebDriver/Selenium).<br>
<br>
<br>
<br>
Testing:<br>
<br>
The Marionette test suite is now run in headless mode alongside the normal<br>
mode as a tier 2 test on try. There are also some basic xpcshell tests that<br>
use a simple headless browser. If the Marionette tests remain reliable, I<br>
intend to bump them up to tier 1 in a few weeks [1].<br>
<br>
<br>
<br>
In the near future, I'll also be enabling headless mode on Windows and then<br>
will start work on macOS. We also are going to investigate some possible<br>
performance improvements for headless mode.<br>
<br>
<br>
<br>
If you run into any issues please file a bug in the new headless component<br>
[2].<br>
<br>
<br>
<br>
More info:<br>
<br>
<br>
<br>
Meta bug: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1338004" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1338004</a><br>
<br>
Linux support: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1356681" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1356681</a><br>
<br>
Windows support: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1355150" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1355150</a><br>
<br>
MacOS support: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1355147" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1355147</a><br>
<br>
[1]: <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1373029" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>show_bug.cgi?id=1373029</a><br>
<br>
[2]:<br>
<a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=Headless" rel="noreferrer" target="_blank">https://bugzilla.mozilla.org/<wbr>enter_bug.cgi?product=Firefox&<wbr>component=Headless</a><br>
.<br>
<br>
<br>
<br>
Previous blog post on SlimerJS support:<br>
<a href="https://adriftwith.me/coding/2017/04/21/headless-slimerjs-with-firefox/" rel="noreferrer" target="_blank">https://adriftwith.me/coding/<wbr>2017/04/21/headless-slimerjs-<wbr>with-firefox/</a><br>
______________________________<wbr>_________________<br>
dev-platform mailing list<br>
<a href="mailto:dev-platform@lists.mozilla.org">dev-platform@lists.mozilla.org</a><br>
<a href="https://lists.mozilla.org/listinfo/dev-platform" rel="noreferrer" target="_blank">https://lists.mozilla.org/<wbr>listinfo/dev-platform</a><br>
</blockquote></div><br></div>