Web Inspector: Remove harmless error for not getting named flows
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 00:40:33 +0000 (00:40 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 00:40:33 +0000 (00:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=146417

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-06-29
Reviewed by Darin Adler.

* UserInterface/Controllers/DOMTreeManager.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186101 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js

index d060f3f..4a3ca6f 100644 (file)
@@ -1,5 +1,14 @@
 2015-06-29  Joseph Pecoraro  <pecoraro@apple.com>
 
+        Web Inspector: Remove harmless error for not getting named flows
+        https://bugs.webkit.org/show_bug.cgi?id=146417
+
+        Reviewed by Darin Adler.
+
+        * UserInterface/Controllers/DOMTreeManager.js:
+
+2015-06-29  Joseph Pecoraro  <pecoraro@apple.com>
+
         Web Inspector: Network errors (404) are missing location link in console messages
         https://bugs.webkit.org/show_bug.cgi?id=146442
 
index dfb9cad..8c2083f 100644 (file)
@@ -445,10 +445,8 @@ WebInspector.DOMTreeManager = class DOMTreeManager extends WebInspector.Object
     {
         function onNamedFlowCollectionAvailable(error, flows)
         {
-            if (error) {
-                console.error("Error while getting the named flows for document " + documentNodeIdentifier + ": " + error);
+            if (error)
                 return;
-            }
             this._contentNodesToFlowsMap.clear();
             var contentFlows = [];
             for (var i = 0; i < flows.length; ++i) {