Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel

This commit is contained in:
James Long
2015-11-25 19:41:26 -05:00
parent b316c2fe7f
commit bc08c20fd9
131 changed files with 6389 additions and 6686 deletions

View File

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