| Index: third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
|
| index 9019e3bd8fe0404eb74c650d566e7cd90c1d8a21..3c3cb990ea9675b1447d99293da9d1e73f950e16 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js
|
| @@ -977,7 +977,7 @@ WebInspector.ObjectPropertiesSection.createNameElement = function(name)
|
| WebInspector.ObjectPropertiesSection.valueTextForFunctionDescription = function(description)
|
| {
|
| var text = description.replace(/^function [gs]et /, "function ");
|
| - var matches = /function\s([^)]*)/.exec(text);
|
| + var matches = /^function\s([^)]*)/.exec(text);
|
| if (!matches) {
|
| // process shorthand methods
|
| matches = /[^(]*(\([^)]*)/.exec(text);
|
|
|