Bug 627342 - re-enable browser_webconsole_js_input_expansion.js; f=pwalton r=gavin.sharp

This commit is contained in:
Rob Campbell 2011-04-21 13:20:18 -03:00
parent df8fba314e
commit 32b1b13342

View File

@ -93,7 +93,10 @@ function testJSInputExpansion() {
input.value = "";
EventUtils.synthesizeKey("d", {});
let height = getHeight();
// is(height, initialHeight, "height shrank to original size");
info("height: " + height);
info("initialHeight: " + initialHeight);
let finalHeightDifference = Math.abs(initialHeight - height);
ok(finalHeightDifference <= 1, "height shrank to original size within 1px");
finishTest();
}