layout.css.devPixelsPerPx = 1.0 (default is -1.0, which makes Firefox autoscale CSS pixels)
To start run all the tests, run the following [[mach]] command in the mozilla-build shell, at the top level of in your objmozilla-dircentral source directory:
./mach mochitest-metro
The Metro browser will launch, run the tests and exit. Any failures will be printed to the console. The complete test log will be written to the file <code>mochitest-metro-chrome.log</code> in the objdir.
We have a library of convenience functions for use in metro-chrome tests, which you can find in '''[http://dxr.mozilla.org/mozilla-central/source/browser/metro/base/tests/mochitest/head.js head.js]'''. Note: These tests make heavy use of Promises and [https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Task.jsm Task.jsm].
=== Building on Linux or Mac OS X ===