Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Unified Diff: sky/framework/inspector/runtime-agent.sky

Issue 766683005: Populate scope sections with variable name/values (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Removed unused code Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« sky/engine/core/inspector/InjectedScriptManager.cpp ('K') | « sky/framework/inspector/inspector.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698