mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1345112 - Fix invalid console.trace() calls in inspector front. r=jdescottes
--HG-- extra : rebase_source : 293a832e540efe966ed1a07f9dbe361f6c45399e
This commit is contained in:
parent
0488a95df8
commit
b6906a58a1
@ -767,8 +767,9 @@ const WalkerFront = FrontClassWithSpec(walkerSpec, {
|
||||
}
|
||||
|
||||
if (!targetFront) {
|
||||
console.trace("Got a mutation for an unexpected actor: " + targetID +
|
||||
console.warn("Got a mutation for an unexpected actor: " + targetID +
|
||||
", please file a bug on bugzilla.mozilla.org!");
|
||||
console.trace();
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -826,8 +827,9 @@ const WalkerFront = FrontClassWithSpec(walkerSpec, {
|
||||
// first.
|
||||
for (let child of targetFront.treeChildren()) {
|
||||
if (child.nodeType === nodeConstants.DOCUMENT_NODE) {
|
||||
console.trace("Got an unexpected frameLoad in the inspector, " +
|
||||
console.warn("Got an unexpected frameLoad in the inspector, " +
|
||||
"please file a bug on bugzilla.mozilla.org!");
|
||||
console.trace();
|
||||
}
|
||||
}
|
||||
} else if (change.type === "documentUnload") {
|
||||
|
Loading…
Reference in New Issue
Block a user