<div dir="ltr">I ran a few mochitests in headless mode awhile ago, so it's definitely feasible. I haven't looked into it much more yet, as I'm still trying to get a basic level of support to each platform. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 1:37 PM, Nathan Froyd <span dir="ltr"><<a href="mailto:nfroyd@mozilla.com" target="_blank">nfroyd@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Jun 15, 2017 at 2:02 PM, Brendan Dahl <<a href="mailto:bdahl@mozilla.com">bdahl@mozilla.com</a>> wrote:<br>
> Headless will run less of the platform specific widget code and I don't<br>
> recommend using it for platform specific testing. It is targeted more at<br>
> web developers and testing regular content pages. There definitely will be<br>
> cases where regular pages will need to exercise code that would vary per<br>
> platform (such as fullscreen), but hopefully we can provide good enough<br>
> emulation in headless and work to have a consistent enough behavior across<br>
> platforms that it won't matter.<br>
<br>
</span>Would it be feasible to use headless mode for mochitests (or reftests,<br>
etc. etc.)? I know there are probably some mochitests which care<br>
about the cases you mention above (e.g. fullscreen), but if that could<br>
be taken care of in the headless code itself or we could annotate the<br>
tests somehow, it would be a huge boon for running mochitests locally,<br>
or even in parallel. (We already have some support for running<br>
reftests/crashtests in parallel.)<br>
<span class="HOEnZb"><font color="#888888"><br>
-Nathan<br>
</font></span></blockquote></div><br></div>