chrome-devtools-frontend 1.0.1683520 → 1.0.1684555

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/AUTHORS +1 -0
  2. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -7
  3. package/front_end/core/sdk/StorageBucketsModel.ts +0 -6
  4. package/front_end/entrypoints/main/MainImpl.ts +2 -1
  5. package/front_end/entrypoints/main/main-meta.ts +5 -31
  6. package/front_end/foundation/Universe.ts +7 -0
  7. package/front_end/generated/InspectorBackendCommands.ts +11 -21
  8. package/front_end/generated/protocol-mapping.d.ts +9 -59
  9. package/front_end/generated/protocol-proxy-api.d.ts +7 -47
  10. package/front_end/generated/protocol.ts +92 -329
  11. package/front_end/models/ai_assistance/AiAgent2.ts +12 -4
  12. package/front_end/models/ai_assistance/AiConversation.ts +25 -7
  13. package/front_end/models/ai_assistance/agents/AiAgent.ts +11 -19
  14. package/front_end/models/ai_assistance/agents/StorageAgent.ts +6 -6
  15. package/front_end/models/ai_assistance/ai_assistance.ts +4 -0
  16. package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +12 -6
  17. package/front_end/models/ai_assistance/tools/GetStorageValues.ts +1 -1
  18. package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +1 -1
  19. package/front_end/models/ai_assistance/tools/RunLighthouse.ts +5 -8
  20. package/front_end/models/ai_assistance/tools/Tool.ts +19 -6
  21. package/front_end/models/issues_manager/DOMIssuesManager.ts +144 -0
  22. package/front_end/models/issues_manager/ElementAccessibilityIssue.ts +13 -1
  23. package/front_end/models/issues_manager/GenericIssue.ts +14 -2
  24. package/front_end/models/issues_manager/IssuesManager.ts +0 -1
  25. package/front_end/models/issues_manager/issues_manager.ts +2 -0
  26. package/front_end/models/javascript_metadata/NativeFunctions.js +4 -0
  27. package/front_end/panels/ai_assistance/ExternalHandler.ts +89 -0
  28. package/front_end/panels/ai_assistance/ai_assistance.ts +1 -0
  29. package/front_end/panels/application/BackgroundServiceModel.ts +4 -3
  30. package/front_end/panels/application/IndexedDBModel.ts +0 -7
  31. package/front_end/panels/console/ConsoleView.ts +17 -16
  32. package/front_end/panels/console/ConsoleViewMessage.ts +4 -1
  33. package/front_end/panels/console/console-meta.ts +4 -19
  34. package/front_end/panels/elements/ElementIssueUtils.ts +10 -2
  35. package/front_end/panels/elements/ElementsPanel.ts +4 -1
  36. package/front_end/panels/elements/ElementsTreeElement.ts +82 -161
  37. package/front_end/panels/elements/ElementsTreeOutline.ts +26 -105
  38. package/front_end/panels/elements/StandaloneStylesContainer.ts +5 -11
  39. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -0
  40. package/front_end/panels/elements/StylesContainer.ts +1 -0
  41. package/front_end/panels/elements/StylesSidebarPane.ts +174 -151
  42. package/front_end/panels/security/SecurityPanelSidebar.ts +0 -32
  43. package/front_end/panels/settings/KeybindsSettingsTab.ts +5 -2
  44. package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -6
  45. package/front_end/panels/timeline/components/CWVMetrics.ts +9 -10
  46. package/front_end/panels/timeline/components/DetailsView.ts +12 -16
  47. package/front_end/panels/timeline/components/ExportTraceOptions.ts +13 -13
  48. package/front_end/panels/timeline/components/FieldSettingsDialog.ts +19 -19
  49. package/front_end/panels/timeline/components/IgnoreListSetting.ts +7 -9
  50. package/front_end/panels/timeline/components/InteractionBreakdown.ts +3 -3
  51. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +13 -13
  52. package/front_end/panels/timeline/components/LiveMetricsView.ts +64 -64
  53. package/front_end/panels/timeline/components/MetricCard.ts +25 -25
  54. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +22 -22
  55. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +9 -9
  56. package/front_end/panels/timeline/components/OriginMap.ts +7 -7
  57. package/front_end/panels/timeline/components/RelatedInsightChips.ts +2 -2
  58. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +19 -20
  59. package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +1 -1
  60. package/front_end/panels/timeline/components/TimelineSummary.ts +2 -2
  61. package/front_end/panels/timeline/components/Utils.ts +2 -6
  62. package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +6 -9
  63. package/front_end/panels/timeline/components/insights/Checklist.ts +2 -2
  64. package/front_end/panels/timeline/components/insights/Table.ts +1 -1
  65. package/front_end/third_party/chromium/README.chromium +1 -1
  66. package/front_end/ui/comments/CommentAnchorResolver.ts +94 -0
  67. package/front_end/ui/comments/CommentOverlayManager.ts +16 -32
  68. package/front_end/ui/legacy/DockController.ts +4 -1
  69. package/front_end/ui/legacy/InspectorView.ts +3 -1
  70. package/front_end/ui/legacy/KeyboardShortcut.ts +4 -7
  71. package/front_end/ui/legacy/SearchableView.ts +2 -1
  72. package/front_end/ui/legacy/ShortcutRegistry.ts +6 -3
  73. package/front_end/ui/legacy/UIUtils.ts +10 -6
  74. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +23 -24
  75. package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +2 -2
  76. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -6
  77. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +14 -15
  78. package/front_end/ui/legacy/components/perf_ui/GCActionDelegate.ts +1 -1
  79. package/front_end/ui/legacy/components/perf_ui/NetworkPriorities.ts +5 -5
  80. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +5 -5
  81. package/front_end/ui/legacy/components/perf_ui/PieChart.ts +1 -1
  82. package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +4 -6
  83. package/front_end/ui/legacy/components/source_frame/FontView.ts +2 -2
  84. package/front_end/ui/legacy/components/source_frame/ImageView.ts +13 -13
  85. package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -1
  86. package/front_end/ui/legacy/components/source_frame/PreviewFactory.ts +2 -2
  87. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
  88. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +15 -18
  89. package/front_end/ui/legacy/components/source_frame/XMLView.ts +1 -1
  90. package/front_end/ui/legacy/components/source_frame/source_frame-meta.ts +10 -10
  91. package/front_end/ui/settings/ConsoleSettings.ts +32 -0
  92. package/front_end/ui/settings/MainSettings.ts +47 -0
  93. package/front_end/ui/settings/settings.ts +2 -0
  94. package/package.json +1 -1
package/AUTHORS CHANGED
@@ -103,6 +103,7 @@ Shelley Vohr <shelley.vohr@gmail.com>
103
103
  Simon Siefke <simon.siefke@gmail.com>
104
104
  Stephen Tsoi-A-Sue <stsoiasue@gmail.com>
105
105
  Sunnylost <sunnylost@gmail.com>
106
+ Suyoung Jung <tdhitbtd@gmail.com>
106
107
  TaegeonKim <aksen5240@gmail.com>
107
108
  Thomas Stokes <git@tombl.dev>
108
109
  Thryze Knox <thryzx@gmail.com>
@@ -273,13 +273,6 @@ export class ServiceWorkerCacheModel extends SDKModel<EventTypes> implements Pro
273
273
  indexedDBContentUpdated(_event: Protocol.Storage.IndexedDBContentUpdatedEvent): void {
274
274
  }
275
275
 
276
- sharedStorageAccessed(_event: Protocol.Storage.SharedStorageAccessedEvent): void {
277
- }
278
-
279
- sharedStorageWorkletOperationExecutionFinished(
280
- _event: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent): void {
281
- }
282
-
283
276
  storageBucketCreatedOrUpdated(_event: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent): void {
284
277
  }
285
278
 
@@ -154,12 +154,6 @@ export class StorageBucketsModel extends SDKModel<EventTypes> implements Protoco
154
154
  cacheStorageContentUpdated(_event: Protocol.Storage.CacheStorageContentUpdatedEvent): void {
155
155
  }
156
156
 
157
- sharedStorageAccessed(_event: Protocol.Storage.SharedStorageAccessedEvent): void {
158
- }
159
-
160
- sharedStorageWorkletOperationExecutionFinished(
161
- _event: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent): void {
162
- }
163
157
  }
164
158
 
165
159
  SDKModel.register(StorageBucketsModel, {capabilities: Capability.STORAGE, autostart: false});
@@ -224,7 +224,8 @@ export class MainImpl {
224
224
 
225
225
  await this.requestAndRegisterLocaleData();
226
226
 
227
- Host.userMetrics.syncSetting(Common.Settings.Settings.instance().moduleSetting<boolean>('sync-preferences').get());
227
+ Host.userMetrics.syncSetting(
228
+ Common.Settings.Settings.instance().resolve(SettingsUI.MainSettings.syncPreferencesSettingDescriptor).get());
228
229
  const veLogging = config.devToolsVeLogging;
229
230
 
230
231
  // Used by e2e to put VE Logs into "test mode".
@@ -741,14 +741,10 @@ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.languageSettin
741
741
  reloadRequired: true,
742
742
  });
743
743
 
744
- Common.Settings.registerSettingExtension({
744
+ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.shortcutPanelSwitchSettingDescriptor, {
745
745
  category: Common.Settings.SettingCategory.APPEARANCE,
746
- storageType: Common.Settings.SettingStorageType.SYNCED,
747
746
  title: Host.Platform.platform() === 'mac' ? i18nLazyString(UIStrings.enableShortcutToSwitchPanels) :
748
747
  i18nLazyString(UIStrings.enableCtrlShortcutToSwitchPanels),
749
- settingName: 'shortcut-panel-switch',
750
- settingType: Common.Settings.SettingType.BOOLEAN,
751
- defaultValue: false,
752
748
  });
753
749
 
754
750
  SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.disablePausedStateOverlaySettingDescriptor, {
@@ -756,11 +752,8 @@ SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.disablePausedStateOver
756
752
  title: i18nLazyString(UIStrings.disablePaused),
757
753
  });
758
754
 
759
- Common.Settings.registerSettingExtension({
755
+ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.currentDockStateSettingDescriptor, {
760
756
  category: Common.Settings.SettingCategory.GLOBAL,
761
- settingName: 'currentDockState',
762
- settingType: Common.Settings.SettingType.ENUM,
763
- defaultValue: 'right',
764
757
  options: [
765
758
  {
766
759
  value: 'right',
@@ -785,11 +778,7 @@ Common.Settings.registerSettingExtension({
785
778
  ],
786
779
  });
787
780
 
788
- Common.Settings.registerSettingExtension({
789
- storageType: Common.Settings.SettingStorageType.SYNCED,
790
- settingName: 'active-keybind-set',
791
- settingType: Common.Settings.SettingType.ENUM,
792
- defaultValue: 'devToolsDefault',
781
+ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.activeKeybindSetSettingDescriptor, {
793
782
  options: [
794
783
  {
795
784
  value: 'devToolsDefault',
@@ -817,13 +806,9 @@ function createOptionForLocale(localeString: string): Common.Settings.SettingExt
817
806
  };
818
807
  }
819
808
 
820
- Common.Settings.registerSettingExtension({
809
+ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.syncPreferencesSettingDescriptor, {
821
810
  category: Common.Settings.SettingCategory.ACCOUNT,
822
- // This name must be kept in sync with DevToolsSettings::kSyncDevToolsPreferencesFrontendName.
823
- settingName: 'sync-preferences',
824
- settingType: Common.Settings.SettingType.BOOLEAN,
825
811
  title: i18nLazyString(UIStrings.saveSettings),
826
- defaultValue: false,
827
812
  reloadRequired: true,
828
813
  });
829
814
 
@@ -856,21 +841,10 @@ SettingsUI.SettingUIRegistration.register(
856
841
  ],
857
842
  });
858
843
 
859
- Common.Settings.registerSettingExtension({
860
- storageType: Common.Settings.SettingStorageType.SYNCED,
861
- settingName: 'user-shortcuts',
862
- settingType: Common.Settings.SettingType.ARRAY,
863
- defaultValue: [],
864
- });
865
-
866
- Common.Settings.registerSettingExtension({
844
+ SettingsUI.SettingUIRegistration.register(SettingsUI.MainSettings.searchAsYouTypeSettingDescriptor, {
867
845
  category: Common.Settings.SettingCategory.GLOBAL,
868
- storageType: Common.Settings.SettingStorageType.LOCAL,
869
846
  title: i18nLazyString(UIStrings.searchAsYouTypeSetting),
870
- settingName: 'search-as-you-type',
871
- settingType: Common.Settings.SettingType.BOOLEAN,
872
847
  order: 3,
873
- defaultValue: true,
874
848
  options: [
875
849
  {
876
850
  value: true,
@@ -213,6 +213,9 @@ export class Universe {
213
213
  );
214
214
  context.set(IssuesManager.IssuesManager.IssuesManager, issuesManager);
215
215
 
216
+ const domIssuesManager = new IssuesManager.DOMIssuesManager.DOMIssuesManager(issuesManager, targetManager);
217
+ context.set(IssuesManager.DOMIssuesManager.DOMIssuesManager, domIssuesManager);
218
+
216
219
  const javaScriptMetadata = new JavaScriptMetadata.JavaScriptMetadata.JavaScriptMetadataImpl();
217
220
  context.set(JavaScriptMetadata.JavaScriptMetadata.JavaScriptMetadataImpl, javaScriptMetadata);
218
221
 
@@ -296,6 +299,10 @@ export class Universe {
296
299
  return this.context.get(SDK.DOMDebuggerModel.DOMDebuggerManager);
297
300
  }
298
301
 
302
+ get domIssuesManager(): IssuesManager.DOMIssuesManager.DOMIssuesManager {
303
+ return this.context.get(IssuesManager.DOMIssuesManager.DOMIssuesManager);
304
+ }
305
+
299
306
  get domModelUndoStack(): SDK.DOMModel.DOMModelUndoStack {
300
307
  return this.context.get(SDK.DOMModel.DOMModelUndoStack);
301
308
  }
@@ -45,8 +45,10 @@ inspectorBackend.registerType("Accessibility.AXNode", [{"name": "nodeId", "type"
45
45
 
46
46
  // Ads.
47
47
  inspectorBackend.registerCommand("Ads.getAdMetrics", [], ["metrics"], "Retrieves ad metrics for the current page.");
48
+ inspectorBackend.registerCommand("Ads.getAdScripts", [], ["newScripts"], "Retrieves ad scripts for the current page. To minimize payload size, this only returns the newly tracked ad scripts since the last call to getAdScripts (i.e., the delta).");
48
49
  inspectorBackend.registerType("Ads.AdFrameData", [{"name": "frameId", "type": "string", "optional": false, "description": "The DevTools frame token.", "typeRef": "Page.FrameId"}, {"name": "initialOrigin", "type": "string", "optional": true, "description": "The initial origin of the frame. To minimize the payload size, this is only sent once per frame.", "typeRef": null}, {"name": "networkBytes", "type": "number", "optional": false, "description": "The network bytes of the frame.", "typeRef": null}, {"name": "cpuTime", "type": "number", "optional": false, "description": "The CPU time of the frame, in milliseconds.", "typeRef": null}]);
49
50
  inspectorBackend.registerType("Ads.AdMetrics", [{"name": "viewportAdDensityByArea", "type": "number", "optional": false, "description": "The viewport ad density by area, represented as a percentage (an integer between 0 and 100).", "typeRef": null}, {"name": "averageViewportAdDensityByArea", "type": "number", "optional": false, "description": "The time-weighted average of the viewport ad density by area, measured across the duration of the page.", "typeRef": null}, {"name": "viewportAdCount", "type": "number", "optional": false, "description": "The number of ads currently visible within the viewport.", "typeRef": null}, {"name": "averageViewportAdCount", "type": "number", "optional": false, "description": "The time-weighted average of the viewport ad count, measured across the duration of the page.", "typeRef": null}, {"name": "totalAdCpuTime", "type": "number", "optional": false, "description": "The total ad CPU usage, in milliseconds.", "typeRef": null}, {"name": "totalAdNetworkBytes", "type": "number", "optional": false, "description": "The total ad network bytes.", "typeRef": null}, {"name": "updateAdFrames", "type": "array", "optional": false, "description": "The list of ad frames that have been updated since the last event.", "typeRef": "Ads.AdFrameData"}, {"name": "removeAdFrames", "type": "array", "optional": false, "description": "The list of ad frame IDs that have been removed since the last event.", "typeRef": "Page.FrameId"}]);
51
+ inspectorBackend.registerType("Ads.AdScript", [{"name": "scriptId", "type": "string", "optional": false, "description": "The script ID.", "typeRef": "Runtime.ScriptId"}, {"name": "provenance", "type": "object", "optional": false, "description": "The ad provenance.", "typeRef": "Network.AdProvenance"}]);
50
52
 
51
53
  // Animation.
52
54
  inspectorBackend.registerEnum("Animation.AnimationType", {CSSTransition: "CSSTransition", CSSAnimation: "CSSAnimation", WebAnimation: "WebAnimation"});
@@ -938,7 +940,7 @@ inspectorBackend.registerType("Network.ConnectTiming", [{"name": "requestTime",
938
940
  inspectorBackend.registerType("Network.ClientSecurityState", [{"name": "initiatorIsSecureContext", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "initiatorIPAddressSpace", "type": "string", "optional": false, "description": "", "typeRef": "Network.IPAddressSpace"}, {"name": "localNetworkAccessRequestPolicy", "type": "string", "optional": false, "description": "", "typeRef": "Network.LocalNetworkAccessRequestPolicy"}]);
939
941
  inspectorBackend.registerType("Network.AdScriptIdentifier", [{"name": "scriptId", "type": "string", "optional": false, "description": "The script's V8 identifier.", "typeRef": "Runtime.ScriptId"}, {"name": "debuggerId", "type": "string", "optional": false, "description": "V8's debugging ID for the v8::Context.", "typeRef": "Runtime.UniqueDebuggerId"}, {"name": "name", "type": "string", "optional": false, "description": "The script's url (or generated name based on id if inline script).", "typeRef": null}]);
940
942
  inspectorBackend.registerType("Network.AdAncestry", [{"name": "ancestryChain", "type": "array", "optional": false, "description": "A chain of `AdScriptIdentifier`s representing the ancestry of an ad script that led to the creation of a resource or element. The chain is ordered from the script itself (lowest level) up to its root ancestor that was flagged by a filter list.", "typeRef": "Network.AdScriptIdentifier"}, {"name": "rootScriptFilterlistRule", "type": "string", "optional": true, "description": "The filter list rule that caused the root (last) script in `ancestryChain` to be tagged as an ad.", "typeRef": null}]);
941
- inspectorBackend.registerType("Network.AdProvenance", [{"name": "filterlistRule", "type": "string", "optional": true, "description": "The filterlist rule that matched, if any.", "typeRef": null}, {"name": "adScriptAncestry", "type": "object", "optional": true, "description": "The script ancestry that created the ad, if any.", "typeRef": "Network.AdAncestry"}]);
943
+ inspectorBackend.registerType("Network.AdProvenance", [{"name": "filterlistRule", "type": "string", "optional": true, "description": "The filterlist rule that matched, if any.", "typeRef": null}, {"name": "adScriptAncestry", "type": "object", "optional": true, "description": "The script ancestry that created the ad, if any. Note: depending on the context, this may represent the full ancestry up to the root script, or it may contain only one script representing the immediate ancestor.", "typeRef": "Network.AdAncestry"}]);
942
944
  inspectorBackend.registerType("Network.CrossOriginOpenerPolicyStatus", [{"name": "value", "type": "string", "optional": false, "description": "", "typeRef": "Network.CrossOriginOpenerPolicyValue"}, {"name": "reportOnlyValue", "type": "string", "optional": false, "description": "", "typeRef": "Network.CrossOriginOpenerPolicyValue"}, {"name": "reportingEndpoint", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "reportOnlyReportingEndpoint", "type": "string", "optional": true, "description": "", "typeRef": null}]);
943
945
  inspectorBackend.registerType("Network.CrossOriginEmbedderPolicyStatus", [{"name": "value", "type": "string", "optional": false, "description": "", "typeRef": "Network.CrossOriginEmbedderPolicyValue"}, {"name": "reportOnlyValue", "type": "string", "optional": false, "description": "", "typeRef": "Network.CrossOriginEmbedderPolicyValue"}, {"name": "reportingEndpoint", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "reportOnlyReportingEndpoint", "type": "string", "optional": true, "description": "", "typeRef": null}]);
944
946
  inspectorBackend.registerType("Network.ContentSecurityPolicyStatus", [{"name": "effectiveDirectives", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "isEnforced", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "source", "type": "string", "optional": false, "description": "", "typeRef": "Network.ContentSecurityPolicySource"}]);
@@ -1257,6 +1259,7 @@ inspectorBackend.registerType("Security.InsecureContentStatus", [{"name": "ranMi
1257
1259
  // ServiceWorker.
1258
1260
  inspectorBackend.registerEnum("ServiceWorker.ServiceWorkerVersionRunningStatus", {Stopped: "stopped", Starting: "starting", Running: "running", Stopping: "stopping"});
1259
1261
  inspectorBackend.registerEnum("ServiceWorker.ServiceWorkerVersionStatus", {New: "new", Installing: "installing", Installed: "installed", Activating: "activating", Activated: "activated", Redundant: "redundant"});
1262
+ inspectorBackend.registerEnum("ServiceWorker.ServiceWorkerRouterSourceType", {Cache: "cache", FetchEvent: "fetchEvent", Network: "network", RaceNetworkAndFetchHandler: "raceNetworkAndFetchHandler", RaceNetworkAndCache: "raceNetworkAndCache", SourceDict: "sourceDict"});
1260
1263
  inspectorBackend.registerEvent("ServiceWorker.workerErrorReported", ["errorMessage"]);
1261
1264
  inspectorBackend.registerEvent("ServiceWorker.workerRegistrationUpdated", ["registrations"]);
1262
1265
  inspectorBackend.registerEvent("ServiceWorker.workerVersionUpdated", ["versions"]);
@@ -1273,7 +1276,11 @@ inspectorBackend.registerCommand("ServiceWorker.stopWorker", [{"name": "versionI
1273
1276
  inspectorBackend.registerCommand("ServiceWorker.unregister", [{"name": "scopeURL", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "");
1274
1277
  inspectorBackend.registerCommand("ServiceWorker.updateRegistration", [{"name": "scopeURL", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "");
1275
1278
  inspectorBackend.registerType("ServiceWorker.ServiceWorkerRegistration", [{"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "scopeURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "isDeleted", "type": "boolean", "optional": false, "description": "", "typeRef": null}]);
1276
- inspectorBackend.registerType("ServiceWorker.ServiceWorkerVersion", [{"name": "versionId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "scriptURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "runningStatus", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionRunningStatus"}, {"name": "status", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionStatus"}, {"name": "scriptLastModified", "type": "number", "optional": true, "description": "The Last-Modified header value of the main script.", "typeRef": null}, {"name": "scriptResponseTime", "type": "number", "optional": true, "description": "The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.", "typeRef": null}, {"name": "controlledClients", "type": "array", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "targetId", "type": "string", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "routerRules", "type": "string", "optional": true, "description": "", "typeRef": null}]);
1279
+ inspectorBackend.registerType("ServiceWorker.ServiceWorkerRouterCondition", [{"name": "urlPattern", "type": "string", "optional": true, "description": "Plain text, or JSON serialization of URLPatternInit or URLPattern", "typeRef": null}, {"name": "requestMethod", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "requestMode", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "requestDestination", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "runningStatus", "type": "string", "optional": true, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionRunningStatus"}]);
1280
+ inspectorBackend.registerType("ServiceWorker.ServiceWorkerRouterSourceDict", [{"name": "cacheName", "type": "string", "optional": false, "description": "", "typeRef": null}]);
1281
+ inspectorBackend.registerType("ServiceWorker.ServiceWorkerRouterSource", [{"name": "type", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerRouterSourceType"}, {"name": "sourceDict", "type": "object", "optional": true, "description": "Non-empty iff `type` equals \\\"sourceDict\\\".", "typeRef": "ServiceWorker.ServiceWorkerRouterSourceDict"}]);
1282
+ inspectorBackend.registerType("ServiceWorker.ServiceWorkerRouterRule", [{"name": "condition", "type": "object", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerRouterCondition"}, {"name": "source", "type": "object", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerRouterSource"}, {"name": "id", "type": "number", "optional": false, "description": "Rule ID assigned by the browser. Unique within each ServiceWorkerVersion.", "typeRef": null}]);
1283
+ inspectorBackend.registerType("ServiceWorker.ServiceWorkerVersion", [{"name": "versionId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "scriptURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "runningStatus", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionRunningStatus"}, {"name": "status", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.ServiceWorkerVersionStatus"}, {"name": "scriptLastModified", "type": "number", "optional": true, "description": "The Last-Modified header value of the main script.", "typeRef": null}, {"name": "scriptResponseTime", "type": "number", "optional": true, "description": "The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.", "typeRef": null}, {"name": "controlledClients", "type": "array", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "targetId", "type": "string", "optional": true, "description": "", "typeRef": "Target.TargetID"}, {"name": "routerRules", "type": "string", "optional": true, "description": "Migration to `typedRouterRules` is in progress. The browser sends either `routerRules` or `typedRouterRules`. TODO(crbug.com/540469610): Remove `routerRules` after the migration.", "typeRef": null}, {"name": "typedRouterRules", "type": "array", "optional": true, "description": "", "typeRef": "ServiceWorker.ServiceWorkerRouterRule"}]);
1277
1284
  inspectorBackend.registerType("ServiceWorker.ServiceWorkerErrorMessage", [{"name": "errorMessage", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "registrationId", "type": "string", "optional": false, "description": "", "typeRef": "ServiceWorker.RegistrationID"}, {"name": "versionId", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "sourceURL", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "lineNumber", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "columnNumber", "type": "number", "optional": false, "description": "", "typeRef": null}]);
1278
1285
 
1279
1286
  // SmartCardEmulation.
@@ -1314,16 +1321,12 @@ inspectorBackend.registerType("SmartCardEmulation.ReaderStateIn", [{"name": "rea
1314
1321
  inspectorBackend.registerType("SmartCardEmulation.ReaderStateOut", [{"name": "reader", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "eventState", "type": "object", "optional": false, "description": "", "typeRef": "SmartCardEmulation.ReaderStateFlags"}, {"name": "eventCount", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "atr", "type": "string", "optional": false, "description": "", "typeRef": null}]);
1315
1322
 
1316
1323
  // Storage.
1317
- inspectorBackend.registerEnum("Storage.StorageType", {Cookies: "cookies", File_systems: "file_systems", Indexeddb: "indexeddb", Local_storage: "local_storage", Shader_cache: "shader_cache", Websql: "websql", Service_workers: "service_workers", Cache_storage: "cache_storage", Shared_storage: "shared_storage", Storage_buckets: "storage_buckets", All: "all", Other: "other"});
1318
- inspectorBackend.registerEnum("Storage.SharedStorageAccessScope", {Window: "window", SharedStorageWorklet: "sharedStorageWorklet", Header: "header"});
1319
- inspectorBackend.registerEnum("Storage.SharedStorageAccessMethod", {AddModule: "addModule", CreateWorklet: "createWorklet", SelectURL: "selectURL", Run: "run", BatchUpdate: "batchUpdate", Set: "set", Append: "append", Delete: "delete", Clear: "clear", Get: "get", Keys: "keys", Values: "values", Entries: "entries", Length: "length", RemainingBudget: "remainingBudget"});
1324
+ inspectorBackend.registerEnum("Storage.StorageType", {Cookies: "cookies", File_systems: "file_systems", Indexeddb: "indexeddb", Local_storage: "local_storage", Shader_cache: "shader_cache", Websql: "websql", Service_workers: "service_workers", Cache_storage: "cache_storage", Storage_buckets: "storage_buckets", All: "all", Other: "other"});
1320
1325
  inspectorBackend.registerEnum("Storage.StorageBucketsDurability", {Relaxed: "relaxed", Strict: "strict"});
1321
1326
  inspectorBackend.registerEvent("Storage.cacheStorageContentUpdated", ["origin", "storageKey", "bucketId", "cacheName"]);
1322
1327
  inspectorBackend.registerEvent("Storage.cacheStorageListUpdated", ["origin", "storageKey", "bucketId"]);
1323
1328
  inspectorBackend.registerEvent("Storage.indexedDBContentUpdated", ["origin", "storageKey", "bucketId", "databaseName", "objectStoreName"]);
1324
1329
  inspectorBackend.registerEvent("Storage.indexedDBListUpdated", ["origin", "storageKey", "bucketId"]);
1325
- inspectorBackend.registerEvent("Storage.sharedStorageAccessed", ["accessTime", "scope", "method", "mainFrameId", "ownerOrigin", "ownerSite", "params"]);
1326
- inspectorBackend.registerEvent("Storage.sharedStorageWorkletOperationExecutionFinished", ["finishedTime", "executionTime", "method", "operationId", "workletTargetId", "mainFrameId", "ownerOrigin"]);
1327
1330
  inspectorBackend.registerEvent("Storage.storageBucketCreatedOrUpdated", ["bucketInfo"]);
1328
1331
  inspectorBackend.registerEvent("Storage.storageBucketDeleted", ["bucketId"]);
1329
1332
  inspectorBackend.registerCommand("Storage.getStorageKeyForFrame", [{"name": "frameId", "type": "string", "optional": false, "description": "", "typeRef": "Page.FrameId"}], ["storageKey"], "Returns a storage key given a frame id. Deprecated. Please use Storage.getStorageKey instead.");
@@ -1345,25 +1348,12 @@ inspectorBackend.registerCommand("Storage.untrackIndexedDBForOrigin", [{"name":
1345
1348
  inspectorBackend.registerCommand("Storage.untrackIndexedDBForStorageKey", [{"name": "storageKey", "type": "string", "optional": false, "description": "Storage key.", "typeRef": null}], [], "Unregisters storage key from receiving notifications for IndexedDB.");
1346
1349
  inspectorBackend.registerCommand("Storage.getTrustTokens", [], ["tokens"], "Returns the number of stored Trust Tokens per issuer for the current browsing context.");
1347
1350
  inspectorBackend.registerCommand("Storage.clearTrustTokens", [{"name": "issuerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}], ["didDeleteTokens"], "Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact.");
1348
- inspectorBackend.registerCommand("Storage.getSharedStorageMetadata", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}], ["metadata"], "Gets metadata for an origin's shared storage.");
1349
- inspectorBackend.registerCommand("Storage.getSharedStorageEntries", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}], ["entries"], "Gets the entries in an given origin's shared storage.");
1350
- inspectorBackend.registerCommand("Storage.setSharedStorageEntry", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "value", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "ignoreIfPresent", "type": "boolean", "optional": true, "description": "If `ignoreIfPresent` is included and true, then only sets the entry if `key` doesn't already exist.", "typeRef": null}], [], "Sets entry with `key` and `value` for a given origin's shared storage.");
1351
- inspectorBackend.registerCommand("Storage.deleteSharedStorageEntry", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Deletes entry for `key` (if it exists) for a given origin's shared storage.");
1352
- inspectorBackend.registerCommand("Storage.clearSharedStorageEntries", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Clears all entries for a given origin's shared storage.");
1353
- inspectorBackend.registerCommand("Storage.resetSharedStorageBudget", [{"name": "ownerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}], [], "Resets the budget for `ownerOrigin` by clearing all budget withdrawals.");
1354
- inspectorBackend.registerCommand("Storage.setSharedStorageTracking", [{"name": "enable", "type": "boolean", "optional": false, "description": "", "typeRef": null}], [], "Enables/disables issuing of sharedStorageAccessed events.");
1355
1351
  inspectorBackend.registerCommand("Storage.setStorageBucketTracking", [{"name": "storageKey", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "enable", "type": "boolean", "optional": false, "description": "", "typeRef": null}], [], "Set tracking for a storage key's buckets.");
1356
1352
  inspectorBackend.registerCommand("Storage.deleteStorageBucket", [{"name": "bucket", "type": "object", "optional": false, "description": "", "typeRef": "Storage.StorageBucket"}], [], "Deletes the Storage Bucket with the given storage key and bucket name.");
1357
1353
  inspectorBackend.registerCommand("Storage.runBounceTrackingMitigations", [], ["deletedSites"], "Deletes state for sites identified as potential bounce trackers, immediately.");
1358
1354
  inspectorBackend.registerCommand("Storage.getRelatedWebsiteSets", [], ["sets"], "Returns the effective Related Website Sets in use by this profile for the browser session. The effective Related Website Sets will not change during a browser session.");
1359
1355
  inspectorBackend.registerType("Storage.UsageForType", [{"name": "storageType", "type": "string", "optional": false, "description": "Name of storage type.", "typeRef": "Storage.StorageType"}, {"name": "usage", "type": "number", "optional": false, "description": "Storage usage (bytes).", "typeRef": null}]);
1360
1356
  inspectorBackend.registerType("Storage.TrustTokens", [{"name": "issuerOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "count", "type": "number", "optional": false, "description": "", "typeRef": null}]);
1361
- inspectorBackend.registerType("Storage.SharedStorageEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "value", "type": "string", "optional": false, "description": "", "typeRef": null}]);
1362
- inspectorBackend.registerType("Storage.SharedStorageMetadata", [{"name": "creationTime", "type": "number", "optional": false, "description": "Time when the origin's shared storage was last created.", "typeRef": "Network.TimeSinceEpoch"}, {"name": "length", "type": "number", "optional": false, "description": "Number of key-value pairs stored in origin's shared storage.", "typeRef": null}, {"name": "remainingBudget", "type": "number", "optional": false, "description": "Current amount of bits of entropy remaining in the navigation budget.", "typeRef": null}, {"name": "bytesUsed", "type": "number", "optional": false, "description": "Total number of bytes stored as key-value pairs in origin's shared storage.", "typeRef": null}]);
1363
- inspectorBackend.registerType("Storage.SharedStoragePrivateAggregationConfig", [{"name": "aggregationCoordinatorOrigin", "type": "string", "optional": true, "description": "The chosen aggregation service deployment.", "typeRef": null}, {"name": "contextId", "type": "string", "optional": true, "description": "The context ID provided.", "typeRef": null}, {"name": "filteringIdMaxBytes", "type": "number", "optional": false, "description": "Configures the maximum size allowed for filtering IDs.", "typeRef": null}, {"name": "maxContributions", "type": "number", "optional": true, "description": "The limit on the number of contributions in the final report.", "typeRef": null}]);
1364
- inspectorBackend.registerType("Storage.SharedStorageReportingMetadata", [{"name": "eventType", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "reportingUrl", "type": "string", "optional": false, "description": "", "typeRef": null}]);
1365
- inspectorBackend.registerType("Storage.SharedStorageUrlWithMetadata", [{"name": "url", "type": "string", "optional": false, "description": "Spec of candidate URL.", "typeRef": null}, {"name": "reportingMetadata", "type": "array", "optional": false, "description": "Any associated reporting metadata.", "typeRef": "Storage.SharedStorageReportingMetadata"}]);
1366
- inspectorBackend.registerType("Storage.SharedStorageAccessParams", [{"name": "scriptSourceUrl", "type": "string", "optional": true, "description": "Spec of the module script URL. Present only for SharedStorageAccessMethods: addModule and createWorklet.", "typeRef": null}, {"name": "dataOrigin", "type": "string", "optional": true, "description": "String denoting \\\"context-origin\\\", \\\"script-origin\\\", or a custom origin to be used as the worklet's data origin. Present only for SharedStorageAccessMethod: createWorklet.", "typeRef": null}, {"name": "operationName", "type": "string", "optional": true, "description": "Name of the registered operation to be run. Present only for SharedStorageAccessMethods: run and selectURL.", "typeRef": null}, {"name": "operationId", "type": "string", "optional": true, "description": "ID of the operation call. Present only for SharedStorageAccessMethods: run and selectURL.", "typeRef": null}, {"name": "keepAlive", "type": "boolean", "optional": true, "description": "Whether or not to keep the worket alive for future run or selectURL calls. Present only for SharedStorageAccessMethods: run and selectURL.", "typeRef": null}, {"name": "privateAggregationConfig", "type": "object", "optional": true, "description": "Configures the private aggregation options. Present only for SharedStorageAccessMethods: run and selectURL.", "typeRef": "Storage.SharedStoragePrivateAggregationConfig"}, {"name": "serializedData", "type": "string", "optional": true, "description": "The operation's serialized data in bytes (converted to a string). Present only for SharedStorageAccessMethods: run and selectURL. TODO(crbug.com/401011862): Consider updating this parameter to binary.", "typeRef": null}, {"name": "urlsWithMetadata", "type": "array", "optional": true, "description": "Array of candidate URLs' specs, along with any associated metadata. Present only for SharedStorageAccessMethod: selectURL.", "typeRef": "Storage.SharedStorageUrlWithMetadata"}, {"name": "urnUuid", "type": "string", "optional": true, "description": "Spec of the URN:UUID generated for a selectURL call. Present only for SharedStorageAccessMethod: selectURL.", "typeRef": null}, {"name": "key", "type": "string", "optional": true, "description": "Key for a specific entry in an origin's shared storage. Present only for SharedStorageAccessMethods: set, append, delete, and get.", "typeRef": null}, {"name": "value", "type": "string", "optional": true, "description": "Value for a specific entry in an origin's shared storage. Present only for SharedStorageAccessMethods: set and append.", "typeRef": null}, {"name": "ignoreIfPresent", "type": "boolean", "optional": true, "description": "Whether or not to set an entry for a key if that key is already present. Present only for SharedStorageAccessMethod: set.", "typeRef": null}, {"name": "workletOrdinal", "type": "number", "optional": true, "description": "A number denoting the (0-based) order of the worklet's creation relative to all other shared storage worklets created by documents using the current storage partition. Present only for SharedStorageAccessMethods: addModule, createWorklet.", "typeRef": null}, {"name": "workletTargetId", "type": "string", "optional": true, "description": "Hex representation of the DevTools token used as the TargetID for the associated shared storage worklet. Present only for SharedStorageAccessMethods: addModule, createWorklet, run, selectURL, and any other SharedStorageAccessMethod when the SharedStorageAccessScope is sharedStorageWorklet.", "typeRef": "Target.TargetID"}, {"name": "withLock", "type": "string", "optional": true, "description": "Name of the lock to be acquired, if present. Optionally present only for SharedStorageAccessMethods: batchUpdate, set, append, delete, and clear.", "typeRef": null}, {"name": "batchUpdateId", "type": "string", "optional": true, "description": "If the method has been called as part of a batchUpdate, then this number identifies the batch to which it belongs. Optionally present only for SharedStorageAccessMethods: batchUpdate (required), set, append, delete, and clear.", "typeRef": null}, {"name": "batchSize", "type": "number", "optional": true, "description": "Number of modifier methods sent in batch. Present only for SharedStorageAccessMethod: batchUpdate.", "typeRef": null}]);
1367
1357
  inspectorBackend.registerType("Storage.StorageBucket", [{"name": "storageKey", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SerializedStorageKey"}, {"name": "name", "type": "string", "optional": true, "description": "If not specified, it is the default bucket of the storageKey.", "typeRef": null}]);
1368
1358
  inspectorBackend.registerType("Storage.StorageBucketInfo", [{"name": "bucket", "type": "object", "optional": false, "description": "", "typeRef": "Storage.StorageBucket"}, {"name": "id", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "expiration", "type": "number", "optional": false, "description": "", "typeRef": "Network.TimeSinceEpoch"}, {"name": "quota", "type": "number", "optional": false, "description": "Storage quota (bytes).", "typeRef": null}, {"name": "persistent", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "durability", "type": "string", "optional": false, "description": "", "typeRef": "Storage.StorageBucketsDurability"}]);
1369
1359
  inspectorBackend.registerType("Storage.RelatedWebsiteSet", [{"name": "primarySites", "type": "array", "optional": false, "description": "The primary site of this set, along with the ccTLDs if there is any.", "typeRef": "string"}, {"name": "associatedSites", "type": "array", "optional": false, "description": "The associated sites of this set, along with the ccTLDs if there is any.", "typeRef": "string"}, {"name": "serviceSites", "type": "array", "optional": false, "description": "The service sites of this set, along with the ccTLDs if there is any.", "typeRef": "string"}]);
@@ -1499,7 +1489,7 @@ inspectorBackend.registerCommand("WebMCP.enable", [], [], "Enables the WebMCP do
1499
1489
  inspectorBackend.registerCommand("WebMCP.disable", [], [], "Disables the WebMCP domain.");
1500
1490
  inspectorBackend.registerCommand("WebMCP.invokeTool", [{"name": "frameId", "type": "string", "optional": false, "description": "Frame in which to invoke the tool.", "typeRef": "Page.FrameId"}, {"name": "toolName", "type": "string", "optional": false, "description": "Name of the tool to invoke.", "typeRef": null}, {"name": "input", "type": "object", "optional": false, "description": "Input parameters for the tool, matching the tool's inputSchema.", "typeRef": null}], ["invocationId"], "Invokes a registered tool.");
1501
1491
  inspectorBackend.registerCommand("WebMCP.cancelInvocation", [{"name": "invocationId", "type": "string", "optional": false, "description": "Invocation identifier to cancel.", "typeRef": null}], [], "Cancels a pending tool invocation.");
1502
- inspectorBackend.registerType("WebMCP.Annotation", [{"name": "readOnly", "type": "boolean", "optional": true, "description": "A hint indicating that the tool does not modify any state.", "typeRef": null}, {"name": "untrustedContent", "type": "boolean", "optional": true, "description": "A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.", "typeRef": null}, {"name": "autosubmit", "type": "boolean", "optional": true, "description": "If the declarative tool was declared with the autosubmit attribute.", "typeRef": null}]);
1492
+ inspectorBackend.registerType("WebMCP.Annotation", [{"name": "readOnly", "type": "boolean", "optional": true, "description": "A hint indicating that the tool does not modify any state.", "typeRef": null}, {"name": "untrustedContent", "type": "boolean", "optional": true, "description": "A hint indicating that the tool output may contain untrusted content, ex: UGC, 3rd party data.", "typeRef": null}, {"name": "consequential", "type": "boolean", "optional": true, "description": "A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.", "typeRef": null}, {"name": "autosubmit", "type": "boolean", "optional": true, "description": "If the declarative tool was declared with the autosubmit attribute.", "typeRef": null}]);
1503
1493
  inspectorBackend.registerType("WebMCP.Tool", [{"name": "name", "type": "string", "optional": false, "description": "Tool name.", "typeRef": null}, {"name": "description", "type": "string", "optional": false, "description": "Tool description.", "typeRef": null}, {"name": "inputSchema", "type": "object", "optional": true, "description": "Schema for the tool's input parameters.", "typeRef": null}, {"name": "annotations", "type": "object", "optional": true, "description": "Optional annotations for the tool.", "typeRef": "WebMCP.Annotation"}, {"name": "frameId", "type": "string", "optional": false, "description": "Frame identifier associated with the tool registration.", "typeRef": "Page.FrameId"}, {"name": "backendNodeId", "type": "number", "optional": true, "description": "Optional node ID for declarative tools.", "typeRef": "DOM.BackendNodeId"}, {"name": "stackTrace", "type": "object", "optional": true, "description": "The stack trace at the time of the registration.", "typeRef": "Runtime.StackTrace"}]);
1504
1494
  inspectorBackend.registerType("WebMCP.RemovedTool", [{"name": "name", "type": "string", "optional": false, "description": "Tool name.", "typeRef": null}, {"name": "frameId", "type": "string", "optional": false, "description": "Frame identifier associated with the tool registration.", "typeRef": "Page.FrameId"}]);
1505
1495
 
@@ -775,16 +775,6 @@ export namespace ProtocolMapping {
775
775
  * The origin's IndexedDB database list has been modified.
776
776
  */
777
777
  'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
778
- /**
779
- * Shared storage was accessed by the associated page.
780
- * The following parameters are included in all events.
781
- */
782
- 'Storage.sharedStorageAccessed': [Protocol.Storage.SharedStorageAccessedEvent];
783
- /**
784
- * A shared storage run or selectURL operation finished its execution.
785
- * The following parameters are included in all events.
786
- */
787
- 'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
788
778
  'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
789
779
  'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
790
780
  /**
@@ -1073,6 +1063,15 @@ export namespace ProtocolMapping {
1073
1063
  paramsType: [];
1074
1064
  returnType: Protocol.Ads.GetAdMetricsResponse;
1075
1065
  };
1066
+ /**
1067
+ * Retrieves ad scripts for the current page. To minimize payload size, this
1068
+ * only returns the newly tracked ad scripts since the last call to
1069
+ * getAdScripts (i.e., the delta).
1070
+ */
1071
+ 'Ads.getAdScripts': {
1072
+ paramsType: [];
1073
+ returnType: Protocol.Ads.GetAdScriptsResponse;
1074
+ };
1076
1075
  /**
1077
1076
  * Disables animation domain notifications.
1078
1077
  */
@@ -4894,55 +4893,6 @@ export namespace ProtocolMapping {
4894
4893
  paramsType: [Protocol.Storage.ClearTrustTokensRequest];
4895
4894
  returnType: Protocol.Storage.ClearTrustTokensResponse;
4896
4895
  };
4897
- /**
4898
- * Gets metadata for an origin's shared storage.
4899
- */
4900
- 'Storage.getSharedStorageMetadata': {
4901
- paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
4902
- returnType: Protocol.Storage.GetSharedStorageMetadataResponse;
4903
- };
4904
- /**
4905
- * Gets the entries in an given origin's shared storage.
4906
- */
4907
- 'Storage.getSharedStorageEntries': {
4908
- paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
4909
- returnType: Protocol.Storage.GetSharedStorageEntriesResponse;
4910
- };
4911
- /**
4912
- * Sets entry with `key` and `value` for a given origin's shared storage.
4913
- */
4914
- 'Storage.setSharedStorageEntry': {
4915
- paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
4916
- returnType: void;
4917
- };
4918
- /**
4919
- * Deletes entry for `key` (if it exists) for a given origin's shared storage.
4920
- */
4921
- 'Storage.deleteSharedStorageEntry': {
4922
- paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
4923
- returnType: void;
4924
- };
4925
- /**
4926
- * Clears all entries for a given origin's shared storage.
4927
- */
4928
- 'Storage.clearSharedStorageEntries': {
4929
- paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
4930
- returnType: void;
4931
- };
4932
- /**
4933
- * Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
4934
- */
4935
- 'Storage.resetSharedStorageBudget': {
4936
- paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
4937
- returnType: void;
4938
- };
4939
- /**
4940
- * Enables/disables issuing of sharedStorageAccessed events.
4941
- */
4942
- 'Storage.setSharedStorageTracking': {
4943
- paramsType: [Protocol.Storage.SetSharedStorageTrackingRequest];
4944
- returnType: void;
4945
- };
4946
4896
  /**
4947
4897
  * Set tracking for a storage key's buckets.
4948
4898
  */
@@ -322,6 +322,13 @@ declare namespace ProtocolProxyApi {
322
322
  */
323
323
  invoke_getAdMetrics(): Promise<Protocol.Ads.GetAdMetricsResponse>;
324
324
 
325
+ /**
326
+ * Retrieves ad scripts for the current page. To minimize payload size, this
327
+ * only returns the newly tracked ad scripts since the last call to
328
+ * getAdScripts (i.e., the delta).
329
+ */
330
+ invoke_getAdScripts(): Promise<Protocol.Ads.GetAdScriptsResponse>;
331
+
325
332
  }
326
333
  export interface AdsDispatcher {
327
334
  }
@@ -4281,41 +4288,6 @@ declare namespace ProtocolProxyApi {
4281
4288
  */
4282
4289
  invoke_clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
4283
4290
 
4284
- /**
4285
- * Gets metadata for an origin's shared storage.
4286
- */
4287
- invoke_getSharedStorageMetadata(params: Protocol.Storage.GetSharedStorageMetadataRequest): Promise<Protocol.Storage.GetSharedStorageMetadataResponse>;
4288
-
4289
- /**
4290
- * Gets the entries in an given origin's shared storage.
4291
- */
4292
- invoke_getSharedStorageEntries(params: Protocol.Storage.GetSharedStorageEntriesRequest): Promise<Protocol.Storage.GetSharedStorageEntriesResponse>;
4293
-
4294
- /**
4295
- * Sets entry with `key` and `value` for a given origin's shared storage.
4296
- */
4297
- invoke_setSharedStorageEntry(params: Protocol.Storage.SetSharedStorageEntryRequest): Promise<Protocol.ProtocolResponseWithError>;
4298
-
4299
- /**
4300
- * Deletes entry for `key` (if it exists) for a given origin's shared storage.
4301
- */
4302
- invoke_deleteSharedStorageEntry(params: Protocol.Storage.DeleteSharedStorageEntryRequest): Promise<Protocol.ProtocolResponseWithError>;
4303
-
4304
- /**
4305
- * Clears all entries for a given origin's shared storage.
4306
- */
4307
- invoke_clearSharedStorageEntries(params: Protocol.Storage.ClearSharedStorageEntriesRequest): Promise<Protocol.ProtocolResponseWithError>;
4308
-
4309
- /**
4310
- * Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
4311
- */
4312
- invoke_resetSharedStorageBudget(params: Protocol.Storage.ResetSharedStorageBudgetRequest): Promise<Protocol.ProtocolResponseWithError>;
4313
-
4314
- /**
4315
- * Enables/disables issuing of sharedStorageAccessed events.
4316
- */
4317
- invoke_setSharedStorageTracking(params: Protocol.Storage.SetSharedStorageTrackingRequest): Promise<Protocol.ProtocolResponseWithError>;
4318
-
4319
4291
  /**
4320
4292
  * Set tracking for a storage key's buckets.
4321
4293
  */
@@ -4359,18 +4331,6 @@ declare namespace ProtocolProxyApi {
4359
4331
  */
4360
4332
  indexedDBListUpdated(params: Protocol.Storage.IndexedDBListUpdatedEvent): void;
4361
4333
 
4362
- /**
4363
- * Shared storage was accessed by the associated page.
4364
- * The following parameters are included in all events.
4365
- */
4366
- sharedStorageAccessed(params: Protocol.Storage.SharedStorageAccessedEvent): void;
4367
-
4368
- /**
4369
- * A shared storage run or selectURL operation finished its execution.
4370
- * The following parameters are included in all events.
4371
- */
4372
- sharedStorageWorkletOperationExecutionFinished(params: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent): void;
4373
-
4374
4334
  storageBucketCreatedOrUpdated(params: Protocol.Storage.StorageBucketCreatedOrUpdatedEvent): void;
4375
4335
 
4376
4336
  storageBucketDeleted(params: Protocol.Storage.StorageBucketDeletedEvent): void;