Confirmed users
20
edits
Speedbreeze (talk | contribs) |
|||
Line 205: | Line 205: | ||
[https://developer.mozilla.org/en-US/docs/Browser_chrome_tests Browser-chrome tests] for Metro Firefox are located in [http://hg.mozilla.org/projects/elm/file/default/browser/metro/base/tests/ browser/metro/base/tests]. The tests run in the Metro environment; Windows 8 is required. | [https://developer.mozilla.org/en-US/docs/Browser_chrome_tests Browser-chrome tests] for Metro Firefox are located in [http://hg.mozilla.org/projects/elm/file/default/browser/metro/base/tests/ browser/metro/base/tests]. The tests run in the Metro environment; Windows 8 is required. | ||
Currently, some of the selection tests may fail (specifically, browser_selection_frame_textarea.js) if the device and CSS pixels are out of sync. To solve this, you may need to change the following pref in about:config to the following value. | |||
layout.css.devPixelsPerPx = 1.0 (default is -1.0, which makes Firefox autoscale CSS pixels) | |||
To start the tests, run the following command in the mozilla-build shell, at the top level of your obj-dir: | To start the tests, run the following command in the mozilla-build shell, at the top level of your obj-dir: |