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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js

Issue 1818473002: [DevTools] Move getInternalProperties to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-call-function-on
Patch Set: Created 4 years, 9 months 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: 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 8433096446b939b24a40c3b30392ad3ef441f764..f3e5076fb1eb32ae76f827537bf60d3d98e1fab5 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
+++ b/third_party/WebKit/Source/platform/v8_inspector/InjectedScriptSource.js
@@ -450,33 +450,6 @@ InjectedScript.prototype = {
},
/**
- * @param {string} objectId
- * @return {!Array.<!Object>|boolean}
- */
- getInternalProperties: function(objectId)
- {
- var parsedObjectId = this._parseObjectId(objectId);
- var object = this._objectForId(parsedObjectId);
- var objectGroupName = InjectedScriptHost.idToObjectGroupName(parsedObjectId.id);
- if (!this._isDefined(object) || isSymbol(object))
- return false;
- object = /** @type {!Object} */ (object);
- var descriptors = [];
- var internalProperties = InjectedScriptHost.getInternalProperties(object);
- if (internalProperties) {
- for (var i = 0; i < internalProperties.length; i += 2) {
- var descriptor = {
- name: internalProperties[i],
- value: this._wrapObject(internalProperties[i + 1], objectGroupName),
- __proto__: null
- };
- push(descriptors, descriptor);
- }
- }
- return descriptors;
- },
-
- /**
* @param {string} functionId
* @return {!DebuggerAgent.FunctionDetails|string}
*/

Powered by Google App Engine
This is Rietveld 408576698