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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js

Issue 1952553002: [DevTools] Auto completion for proxy uses proxy target object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-property-descriptors-to-native
Patch Set: Created 4 years, 7 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/devtools/front_end/sdk/RemoteObject.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
index 905d050a99d14ed3998d4c08ef28ae22149d2614..29b056b0f3a1fc1c9e48ce470616b07e38803b85 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RemoteObject.js
@@ -230,9 +230,10 @@ WebInspector.RemoteObject.prototype = {
},
/**
- * @param {function(this:Object, ...)} functionDeclaration
+ * @template T
+ * @param {function(this:Object, ...):T} functionDeclaration
* @param {!Array<!RuntimeAgent.CallArgument>|undefined} args
- * @param {function(*)} callback
+ * @param {function(T)} callback
*/
callFunctionJSON: function(functionDeclaration, args, callback)
{

Powered by Google App Engine
This is Rietveld 408576698