Thanks to gbrown for doing a lot of the hard work here!

Jonathan

On Mon, Mar 23, 2015 at 4:59 PM, Bobby Holley <bobbyhol...@gmail.com> wrote:

> Awesome - thank you for making that happen!
>
> All - if you find yourself using SpecialPowers.wrap for anything other
> than twiddling an occasional value or knob, you're doing it wrong. Write a
> mochitest-chrome test instead.
>
> bholley
>
> On Mon, Mar 23, 2015 at 4:38 PM, Jonathan Griffin <jgrif...@mozilla.com>
> wrote:
>
>> A mochitest-chrome job is now running on B2G emulators, and appears in
>> Treeherder as M(c).  This job skips most existing chrome tests, since most
>> of the existing tests are not compatible with B2G.  But it provides a
>> better alternative when writing mochitests that need chrome privileges
>> than
>> using SpecialPowers in mochitest-plain.
>>
>> If you want your new chrome mochitest to get run on B2G, just make sure
>> it's written as an XHTML file and not a XUL one; see
>>
>> https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/static/chrome.template.txt
>> .
>>
>> If you don't want your new chrome mochitest to run on B2G, just add
>> "skip-if = buildapp == 'b2g'" to the relevant chrome.ini manifest.
>>
>> To run the tests locally, just add a --chrome argument to your
>> runtestsb2g.py command-line, as documented here:
>>
>> https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Mochitests#Running_the_tests_2
>>
>> Regards,
>>
>> Jonathan
>> _______________________________________________
>> dev-platform mailing list
>> dev-platform@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-platform
>>
>
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to