Permalink
Browse files

Do not scroll the Test Console horizontally

  • Loading branch information...
1 parent e3a2df0 commit 3049a66af0dd27a250883e481b8e1df40e5603c9 @SebastianZ SebastianZ committed Sep 27, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 tests/FBTest/content/testConsole.js
  2. +3 −3 tests/FBTest/content/testRunner.js
@@ -619,7 +619,7 @@ FBTestApp.TestConsole =
var scrollCurrentTestIntoView = Firebug.getPref(FBTestApp.prefDomain,
"scrollCurrentTestIntoView");
if (scrollCurrentTestIntoView && testQueue.length > 0)
- scrollIntoCenterView(testQueue[0].row);
+ scrollIntoCenterView(testQueue[0].row, null, true);
var finalQueue = testQueue;
@@ -108,12 +108,12 @@ FBTestApp.TestRunner = extend(new Firebug.Listener(),
{
setTimeout(function()
{
- scrollIntoCenterView(testRow);
+ scrollIntoCenterView(testRow, null, true);
}, 500);
}
else if (this.shouldScroll(testRow))
{
- scrollIntoCenterView(testRow);
+ scrollIntoCenterView(testRow, null, true);
}
}
@@ -298,7 +298,7 @@ FBTestApp.TestRunner = extend(new Firebug.Listener(),
var scrollCurrentTestIntoView = Firebug.getPref(FBTestApp.prefDomain,
"scrollCurrentTestIntoView");
if (scrollCurrentTestIntoView)
- scrollIntoCenterView(verify);
+ scrollIntoCenterView(verify, null, true);
this.currentTest.onManualVerify(verifyMsg, instructions);
},

0 comments on commit 3049a66

Please sign in to comment.