Title: [184887] trunk/Source/WebInspectorUI
Revision
184887
Author
commit-qu...@webkit.org
Date
2015-05-26 16:11:13 -0700 (Tue, 26 May 2015)

Log Message

Web Inspector: Function parameter string parsing improperly handles empty parameter list
https://bugs.webkit.org/show_bug.cgi?id=145391

Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-05-26
Reviewed by Darin Adler.

* UserInterface/Views/ObjectTreePropertyTreeElement.js:
(WebInspector.ObjectTreePropertyTreeElement.prototype._functionParameterString):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (184886 => 184887)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-05-26 23:00:44 UTC (rev 184886)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-05-26 23:11:13 UTC (rev 184887)
@@ -1,5 +1,15 @@
 2015-05-26  Joseph Pecoraro  <pecor...@apple.com>
 
+        Web Inspector: Function parameter string parsing improperly handles empty parameter list
+        https://bugs.webkit.org/show_bug.cgi?id=145391
+
+        Reviewed by Darin Adler.
+
+        * UserInterface/Views/ObjectTreePropertyTreeElement.js:
+        (WebInspector.ObjectTreePropertyTreeElement.prototype._functionParameterString):
+
+2015-05-26  Joseph Pecoraro  <pecor...@apple.com>
+
         Web Inspector: Add Array.prototype.copyWithin parameter list
         https://bugs.webkit.org/show_bug.cgi?id=145388
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js (184886 => 184887)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js	2015-05-26 23:00:44 UTC (rev 184886)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.js	2015-05-26 23:11:13 UTC (rev 184887)
@@ -281,7 +281,7 @@
             }
         }
 
-        var match = resolvedValue.description.match(/^function.*?(\([^)]+?\))/);
+        var match = resolvedValue.description.match(/^function.*?(\([^)]*?\))/);
         return match ? match[1] : "()";
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to