Loading layout/xul/test/test_bug159346.xhtml +2 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,8 @@ function init() downButton = SpecialPowers.unwrap( SpecialPowers.InspectorUtils.getChildrenForNode(scrollbar, true)[4]); if (!downButton) { ok(navigator.userAgent.indexOf("Linux") !== -1, "Theme doesn't support scrollbar buttons"); ok(navigator.userAgent.indexOf("Linux") !== -1 || navigator.userAgent.indexOf("Mac") !== -1, "Theme doesn't support scrollbar buttons"); SimpleTest.finish(); return; } Loading widget/tests/test_bug485118.xhtml +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ function runTest() { ["", "Small"].forEach(function (size) { var elem = document.getElementById(orient + size); var thumbRect = SpecialPowers.unwrap( SpecialPowers.InspectorUtils.getChildrenForNode(elem, true)[2]) SpecialPowers.InspectorUtils.getChildrenForNode(elem, true)[0]) .childNodes[0].getBoundingClientRect(); var sizeToCheck = orient == "horizontal" ? "width" : "height"; // var expectedSize = size == "Small" ? 19 : 26; Loading Loading
layout/xul/test/test_bug159346.xhtml +2 −1 Original line number Diff line number Diff line Loading @@ -27,7 +27,8 @@ function init() downButton = SpecialPowers.unwrap( SpecialPowers.InspectorUtils.getChildrenForNode(scrollbar, true)[4]); if (!downButton) { ok(navigator.userAgent.indexOf("Linux") !== -1, "Theme doesn't support scrollbar buttons"); ok(navigator.userAgent.indexOf("Linux") !== -1 || navigator.userAgent.indexOf("Mac") !== -1, "Theme doesn't support scrollbar buttons"); SimpleTest.finish(); return; } Loading
widget/tests/test_bug485118.xhtml +1 −1 Original line number Diff line number Diff line Loading @@ -54,7 +54,7 @@ function runTest() { ["", "Small"].forEach(function (size) { var elem = document.getElementById(orient + size); var thumbRect = SpecialPowers.unwrap( SpecialPowers.InspectorUtils.getChildrenForNode(elem, true)[2]) SpecialPowers.InspectorUtils.getChildrenForNode(elem, true)[0]) .childNodes[0].getBoundingClientRect(); var sizeToCheck = orient == "horizontal" ? "width" : "height"; // var expectedSize = size == "Small" ? 19 : 26; Loading