Skip to content

Commit

Permalink
Setting layout.css.devPixelsPerPx to 1.0 if native events are enabled…
Browse files Browse the repository at this point in the history
… only. Fixes issue 7445
  • Loading branch information
barancev committed Jun 27, 2014
1 parent 4c6f34e commit 9bce67c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions javascript/firefox-driver/js/sessionstore.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ wdSessionStoreService.prototype.configureCapabilities_ = function(capabilities,
}
}
});
if (driver.enableNativeEvents) {
prefStore.setCharPref('layout.css.devPixelsPerPx', '1.0');
}
};


Expand Down
1 change: 0 additions & 1 deletion javascript/firefox-driver/webdriver.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"extensions.logging.enabled": true,
"extensions.update.enabled": false,
"extensions.update.notifyUser": false,
"layout.css.devPixelsPerPx": "1.0",
"network.manage-offline-status": false,
"network.http.phishy-userpass-length": 255,
"offline-apps.allow_by_default": true,
Expand Down

0 comments on commit 9bce67c

Please sign in to comment.