Title: [179846] trunk/Source/WebInspectorUI
Revision
179846
Author
[email protected]
Date
2015-02-09 15:19:20 -0800 (Mon, 09 Feb 2015)

Log Message

Web Inspector: Uncaught exception when reporting wrong backend command call signature
https://bugs.webkit.org/show_bug.cgi?id=141401

Reviewed by Joseph Pecoraro.

* UserInterface/Protocol/InspectorBackend.js:
(InspectorBackend.Command.prototype._invokeWithArguments): Fix wrong variable name.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (179845 => 179846)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-02-09 23:09:46 UTC (rev 179845)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-02-09 23:19:20 UTC (rev 179846)
@@ -1,3 +1,13 @@
+2015-02-09  Brian J. Burg  <[email protected]>
+
+        Web Inspector: Uncaught exception when reporting wrong backend command call signature
+        https://bugs.webkit.org/show_bug.cgi?id=141401
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Protocol/InspectorBackend.js:
+        (InspectorBackend.Command.prototype._invokeWithArguments): Fix wrong variable name.
+
 2015-02-06  Jono Wells  <[email protected]>
 
         Web Inspector: REGRESSION: CSS Resource appears as empty after editing it via Styles sidebar

Modified: trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js (179845 => 179846)


--- trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js	2015-02-09 23:09:46 UTC (rev 179845)
+++ trunk/Source/WebInspectorUI/UserInterface/Protocol/InspectorBackend.js	2015-02-09 23:19:20 UTC (rev 179846)
@@ -454,7 +454,7 @@
             var optionalFlag = parameter["optional"];
 
             if (!commandArguments.length && !optionalFlag) {
-                console.error("Protocol Error: Invalid number of arguments for method '" + instance.qualifiedName + "' call. It must have the following arguments '" + JSON.stringify(signature) + "'.");
+                console.error("Protocol Error: Invalid number of arguments for method '" + instance.qualifiedName + "' call. It must have the following arguments '" + JSON.stringify(instance.callSignature) + "'.");
                 return;
             }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to