| Index: sky/framework/inspector/runtime-agent.sky
|
| diff --git a/sky/framework/inspector/runtime-agent.sky b/sky/framework/inspector/runtime-agent.sky
|
| index c0857915715ac013e0697da64bc0c94b2eabe129..d17982499cfdcfdbca55bc231173ebf55c8d7267 100644
|
| --- a/sky/framework/inspector/runtime-agent.sky
|
| +++ b/sky/framework/inspector/runtime-agent.sky
|
| @@ -116,8 +116,14 @@ Runtime.prototype.evaluate = function(params) {
|
| }
|
|
|
| Runtime.prototype.getProperties = function(params) {
|
| - // FIXME: Unclear what this is for.
|
| - return [];
|
| + var properties = injectedScript.getProperties(params.objectId, !!params.ownProperties, !!params.accessorPropertiesOnly);
|
| + var result = {
|
| + result: properties
|
| + };
|
| + if (!params.accessorPropertiesOnly) {
|
| + result.internalProperties = injectedScript.getInternalProperties(params.objectId);
|
| + }
|
| + return result;
|
| }
|
|
|
| module.exports = Runtime;
|
|
|