From c12c02094faf713df533bc4c6a3e9749f0e0178d Mon Sep 17 00:00:00 2001 From: Brian Grinstead Date: Tue, 9 Jun 2015 11:06:28 -0700 Subject: [PATCH] Bug 1172164 - Don't allow the walker to start with a node that it doesn't recognize due to a filter;r=pbrosset --- toolkit/devtools/server/actors/inspector.js | 25 +++++++++++++--- .../mochitest/test_inspector-anonymous.html | 29 +++++++++++++++++++ 2 files changed, 50 insertions(+), 4 deletions(-) diff --git a/toolkit/devtools/server/actors/inspector.js b/toolkit/devtools/server/actors/inspector.js index 5959f6230c2c..71ed727354ae 100644 --- a/toolkit/devtools/server/actors/inspector.js +++ b/toolkit/devtools/server/actors/inspector.js @@ -1295,7 +1295,9 @@ var WalkerActor = protocol.ActorClass({ getDocumentWalker: function(node, whatToShow) { // Allow native anon content (like