You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* In trace_app, scripts don't show up in ResourceTreeModel, so check
the Scripts handler data too
* Make sure never to use ResourceTreeModel if attached to a target
unrelated to the trace
* Provide more guidance to the agent about when to call this function
Bug: 452333154
Change-Id: I04e617a4e351570c583b8c062a58d8ccc4616015
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7129331
Commit-Queue: Connor Clark <[email protected]>
Auto-Submit: Connor Clark <[email protected]>
Reviewed-by: Paul Irish <[email protected]>
'Returns the content of the resource with the given url. Only use this for text resource types. This function is helpful for getting script contents in order to further analyze main thread activity and suggest code improvements. When analyzing the main thread activity, always call this function to get more detail. Always call this function when asked to provide specifics about what is happening in the code. Never ask permission to call this function, just do it.',
893
+
parameters: {
894
+
type: Host.AidaClient.ParametersTypes.OBJECT,
895
+
description: '',
896
+
nullable: false,
897
+
properties: {
898
+
url: {
899
+
type: Host.AidaClient.ParametersTypes.STRING,
900
+
description: 'The url for the resource.',
901
+
nullable: false,
904
902
},
905
903
},
906
-
displayInfoFromArgs: args=>{
907
-
return{title: lockedString('Looking at resource content…'),action: `getResourceContent('${args.url}')`};
0 commit comments