Backed out changeset 258cff340229 (bug 1200798) for new intermittent test failures in browser_dbg_breakpoints-button-02.js

This commit is contained in:
Carsten "Tomcat" Book
2015-11-30 12:45:12 +01:00
parent bee3c47f76
commit f3d45a4d77
132 changed files with 6773 additions and 6479 deletions

View File

@@ -537,15 +537,17 @@ exports.items.push({
const blackBoxed = [];
for (let source of toBlackBox) {
dbg.blackbox(source, cmd.clientMethod === "blackBox").then(() => {
blackBoxed.push(source.url);
}, err => {
blackBoxed.push(lookup("ErrorDesc") + " " + source.url);
}).then(() => {
activeThread.source(source)[cmd.clientMethod](function({ error }) {
if (error) {
blackBoxed.push(lookup("ErrorDesc") + " " + source.url);
} else {
blackBoxed.push(source.url);
}
if (toBlackBox.length === blackBoxed.length) {
displayResults();
}
})
});
}
// List the results for the user.