Bug 732501 - Intermittent browser_dbg_select-line.js | Test timed out | Found a tab after previous test timed out- patch 1; r=rcampbell

This commit is contained in:
Panos Astithas 2012-03-07 18:51:07 +02:00
parent a8eb63c0a8
commit 7b344c1ac7

View File

@ -74,7 +74,12 @@ function testSelectLine() {
}); });
// Click the oldest stack frame. // Click the oldest stack frame.
let frames = gDebugger.DebuggerView.Stackframes._frames;
is(frames.querySelectorAll(".dbg-stackframe").length, 4,
"Should have four frames.");
let element = gDebugger.document.getElementById("stackframe-3"); let element = gDebugger.document.getElementById("stackframe-3");
isnot(element, null, "Found the third stack frame.");
EventUtils.synthesizeMouseAtCenter(element, {}, gDebugger); EventUtils.synthesizeMouseAtCenter(element, {}, gDebugger);
}); });
}}, 0); }}, 0);