Bug 1043612 - follow-up, fix the other half of the test to not use em since they convert to different px measurements per platform rs=Gijs on a CLOSED TREE
☠☠ backed out by 53f0959b3713 ☠ ☠
authorJared Wein <jwein@mozilla.com>
Thu, 09 Apr 2015 14:22:37 -0400
changeset 238472 1831a8cf4116f9b1592bbf6304f804110ab64cef
parent 238471 45ed3255697c8975da916fa404ce8d067bd2924d
child 238473 53f0959b37130f30aa39189531684710cf2ef14a
push idunknown
push userunknown
push dateunknown
reviewersGijs
bugs1043612
milestone40.0a1
Bug 1043612 - follow-up, fix the other half of the test to not use em since they convert to different px measurements per platform rs=Gijs on a CLOSED TREE
browser/components/preferences/in-content/tests/browser_subdialogs.js
--- a/browser/components/preferences/in-content/tests/browser_subdialogs.js
+++ b/browser/components/preferences/in-content/tests/browser_subdialogs.js
@@ -152,18 +152,18 @@ let gTests = [{
 {
   desc: "Check that width and height from the sub-dialog are used to size the <browser>",
   run: function* () {
     let deferredClose = Promise.defer();
     let dialogPromise = openAndLoadSubDialog(gDialogURL, null, null,
                                              (aEvent) => dialogClosingCallback(deferredClose, aEvent));
     let dialog = yield dialogPromise;
 
-    ise(content.gSubDialog._frame.style.width, "32em", "Width should be set on the frame from the dialog");
-    ise(content.gSubDialog._frame.style.height, "40em", "Height should be set on the frame from the dialog");
+    ise(content.gSubDialog._frame.style.width, "528px", "Width should be set on the frame from the dialog");
+    ise(content.gSubDialog._frame.style.height, "280px", "Height should be set on the frame from the dialog");
 
     content.gSubDialog.close();
     yield deferredClose.promise;
   },
 },
 {
   desc: "Check that scrollWidth and scrollHeight from the sub-dialog are used to size the <browser>",
   run: function* () {