| Index: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| index 06707525537213f061dd69d2526a69aea02ac564..1effc865e7722bb1b968c92473906386a6cf99b9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
|
| @@ -594,7 +594,7 @@ WebInspector.ExecutionContext.prototype = {
|
| {
|
| if (!object)
|
| receivedPropertyNames.call(this, null);
|
| - else if (object.type === "object")
|
| + else if (object.type === "object" || object.type === "function")
|
| object.callFunctionJSON(getCompletions, [WebInspector.RemoteObject.toCallArgument(object.subtype)], receivedPropertyNames.bind(this));
|
| else if (object.type === "string" || object.type === "number" || object.type === "boolean")
|
| this.evaluate("(" + getCompletions + ")(\"" + result.type + "\")", "completion", false, true, true, false, false, receivedPropertyNamesFromEval.bind(this));
|
|
|