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

This commit is contained in:
James Long
2015-11-29 14:40:51 -05:00
parent 06aa460336
commit 267225b263
132 changed files with 6399 additions and 6693 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.