Bug 981258 - Replace 'waitForSourceShown' with 'ensureSourceIs' to fix intermittent browser_dbg_breakpoints-break-on-last-line-of-script-on-reload.js; r=past

This commit is contained in:
Nick Fitzgerald 2014-03-14 10:15:43 -07:00
parent 705e614eab
commit 0b15b4c619

View File

@ -23,7 +23,7 @@ function test() {
Task.spawn(function* () {
try {
yield waitForSourceShown(gPanel, CODE_URL);
yield ensureSourceIs(gPanel, CODE_URL, true);
// Pause and set our breakpoints.
yield doInterrupt();