From b6906a58a176af2dd96dca127207e7531f98fb30 Mon Sep 17 00:00:00 2001 From: Alisha Date: Sat, 11 Mar 2017 05:39:00 -0500 Subject: [PATCH] Bug 1345112 - Fix invalid console.trace() calls in inspector front. r=jdescottes --HG-- extra : rebase_source : 293a832e540efe966ed1a07f9dbe361f6c45399e --- devtools/shared/fronts/inspector.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/devtools/shared/fronts/inspector.js b/devtools/shared/fronts/inspector.js index 3e1ee7c01dd9..90aa93f86d13 100644 --- a/devtools/shared/fronts/inspector.js +++ b/devtools/shared/fronts/inspector.js @@ -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") {