Web Inspector: Keep Web Inspector window alive across process swaps (PSON) (Local...
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Protocol / Connection.js
index d5f607c..91624c2 100644 (file)
@@ -96,7 +96,8 @@ InspectorBackend.Connection = class InspectorBackendConnection
         console.assert(this._pendingResponses.size >= 0);
 
         if (messageObject["error"]) {
-            if (messageObject["error"].code !== -32000)
+            // FIXME: Eliminate Target.exists
+            if (messageObject["error"].code !== -32000 && messageObject["error"].message !== "'Target' domain was not found")
                 console.error("Request with id = " + messageObject["id"] + " failed. " + JSON.stringify(messageObject["error"]));
         }