Index: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js |
index 01a001cc7f5243681427902de53b254fdb16278b..c159ceb49e7d2db9e93cd1b04490174c6c749e67 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js |
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js |
@@ -450,30 +450,6 @@ InjectedScript.prototype = { |
}, |
/** |
- * @param {string} objectId |
- * @return {!Array.<!Object>|string} |
- */ |
- getCollectionEntries: function(objectId) |
- { |
- var parsedObjectId = this._parseObjectId(objectId); |
- var object = this._objectForId(parsedObjectId); |
- if (!object || typeof object !== "object") |
- return "Could not find object with given id"; |
- var entries = InjectedScriptHost.collectionEntries(object); |
- if (!entries) |
- return "Object with given id is not a collection"; |
- var objectGroupName = InjectedScriptHost.idToObjectGroupName(parsedObjectId.id); |
- for (var i = 0; i < entries.length; ++i) { |
- var entry = nullifyObjectProto(entries[i]); |
- if ("key" in entry) |
- entry.key = this._wrapObject(entry.key, objectGroupName); |
- entry.value = this._wrapObject(entry.value, objectGroupName); |
- entries[i] = entry; |
- } |
- return entries; |
- }, |
- |
- /** |
* @param {!Object} object |
* @param {boolean=} ownProperties |
* @param {boolean=} accessorPropertiesOnly |