Fix an intermittent failure in browser/devtools/debugger/test/browser_dbg_step-out.js (bug 882380); r=me

This commit is contained in:
Panos Astithas 2013-06-13 13:33:22 +03:00
parent 0949a9435f
commit 0c6c7776b1
2 changed files with 9 additions and 5 deletions

View File

@ -19,7 +19,6 @@ function test()
gPane = aPane;
gDebugger = gPane.panelWin;
expectUncaughtException();
testNormalReturn();
});
}

View File

@ -18,10 +18,15 @@
return r;
}
function error(aArg) {
debugger;
var r = 10;
throw "boom";
return r;
function inner(aArg) {
debugger;
var r = 10;
throw "boom";
return r;
}
try {
inner(aArg);
} catch (e) {}
}
var button = document.getElementById("return");
button.addEventListener("click", normal, false);