Bug 898036 - Set layout.css.devPixelsPerPx during robocop tests; r=kats
authorGeoff Brown <gbrown@mozilla.com>
Fri, 26 Jul 2013 05:59:07 -0700
changeset 140148 9b8b2c5d0d26cd3c7904ccc86dd44b5fff9539d9
parent 140147 63887fd246ccb18d142750aa8631d72bf5759fd1
child 140149 9a39f63704fa62d91de4112b8430929a0bcdb323
push idunknown
push userunknown
push dateunknown
reviewerskats
bugs898036
milestone25.0a1
Bug 898036 - Set layout.css.devPixelsPerPx during robocop tests; r=kats
testing/mochitest/runtestsremote.py
--- a/testing/mochitest/runtestsremote.py
+++ b/testing/mochitest/runtestsremote.py
@@ -585,17 +585,17 @@ def main():
         dm.removeFile(os.path.join(deviceRoot, "fennec_ids.txt"))
         fennec_ids = os.path.abspath("fennec_ids.txt")
         if not os.path.exists(fennec_ids) and options.robocopIds:
             fennec_ids = options.robocopIds
         dm.pushFile(fennec_ids, os.path.join(deviceRoot, "fennec_ids.txt"))
         options.extraPrefs.append('robocop.logfile="%s/robocop.log"' % deviceRoot)
         options.extraPrefs.append('browser.search.suggest.enabled=true')
         options.extraPrefs.append('browser.search.suggest.prompted=true')
-        options.extraPrefs.append('browser.viewport.scaleRatio=100')
+        options.extraPrefs.append('layout.css.devPixelsPerPx="1.0"')
         options.extraPrefs.append('browser.chrome.dynamictoolbar=false')
 
         if (options.dm_trans == 'adb' and options.robocopApk):
           dm._checkCmd(["install", "-r", options.robocopApk])
 
         retVal = None
         for test in robocop_tests:
             if options.testPath and options.testPath != test['name']: