chrome-devtools-frontend 1.0.1606789 → 1.0.1608453

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 (68) hide show
  1. package/docs/ui_engineering.md +2 -0
  2. package/eslint.config.mjs +2 -0
  3. package/front_end/core/common/VersionController.ts +18 -1
  4. package/front_end/core/host/UserMetrics.ts +0 -2
  5. package/front_end/core/platform/node/HostRuntime.ts +1 -1
  6. package/front_end/core/root/ExperimentNames.ts +0 -2
  7. package/front_end/core/sdk/AccessibilityModel.ts +13 -1
  8. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -13
  9. package/front_end/core/sdk/StorageBucketsModel.ts +0 -12
  10. package/front_end/entrypoints/main/MainImpl.ts +2 -11
  11. package/front_end/generated/InspectorBackendCommands.ts +3 -33
  12. package/front_end/generated/SupportedCSSProperties.js +8 -4
  13. package/front_end/generated/protocol-mapping.d.ts +7 -26
  14. package/front_end/generated/protocol-proxy-api.d.ts +5 -24
  15. package/front_end/generated/protocol.ts +2 -296
  16. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +38 -13
  17. package/front_end/{panels/profiler → models/heap_snapshot_model}/ChildrenProvider.ts +3 -4
  18. package/front_end/{panels/profiler → models/heap_snapshot_model}/HeapSnapshotProxy.ts +19 -36
  19. package/front_end/models/heap_snapshot_model/heap_snapshot_model.ts +4 -0
  20. package/front_end/models/javascript_metadata/NativeFunctions.js +0 -4
  21. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +53 -10
  22. package/front_end/panels/accessibility/accessibility.ts +0 -2
  23. package/front_end/panels/accessibility/accessibilitySidebarView.css +10 -0
  24. package/front_end/panels/ai_assistance/components/ChatMessage.ts +6 -5
  25. package/front_end/panels/ai_assistance/components/WalkthroughView.ts +36 -17
  26. package/front_end/panels/ai_assistance/components/chatMessage.css +7 -0
  27. package/front_end/panels/ai_assistance/components/walkthroughView.css +39 -11
  28. package/front_end/panels/application/CrashReportContextView.ts +237 -0
  29. package/front_end/panels/application/IndexedDBModel.ts +0 -10
  30. package/front_end/panels/application/InterestGroupStorageModel.ts +0 -11
  31. package/front_end/panels/application/SharedStorageModel.ts +0 -11
  32. package/front_end/panels/application/WebMCPView.ts +271 -52
  33. package/front_end/panels/application/application.ts +2 -0
  34. package/front_end/panels/application/components/CrashReportContextGrid.ts +154 -0
  35. package/front_end/panels/application/components/components.ts +2 -0
  36. package/front_end/panels/application/webMCPView.css +95 -10
  37. package/front_end/panels/common/AiCodeCompletionDisclaimer.ts +12 -2
  38. package/front_end/panels/elements/AccessibilityTreeView.ts +10 -6
  39. package/front_end/panels/elements/ElementsPanel.ts +9 -50
  40. package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
  41. package/front_end/panels/elements/elements-meta.ts +1 -0
  42. package/front_end/panels/elements/elementsPanel.css +4 -14
  43. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +23 -13
  44. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +30 -30
  45. package/front_end/panels/profiler/HeapSnapshotView.ts +16 -13
  46. package/front_end/panels/profiler/profiler.ts +0 -4
  47. package/front_end/panels/snippets/SnippetsQuickOpen.ts +5 -5
  48. package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +2 -2
  49. package/front_end/panels/sources/sources-meta.ts +7 -7
  50. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +1 -3
  51. package/front_end/panels/timeline/ThirdPartyTreeView.ts +6 -1
  52. package/front_end/panels/timeline/ThreadAppender.ts +1 -3
  53. package/front_end/panels/timeline/TimelineController.ts +2 -2
  54. package/front_end/panels/timeline/TimelinePanel.ts +2 -4
  55. package/front_end/panels/timeline/TimelineTreeView.ts +32 -2
  56. package/front_end/panels/timeline/components/LiveMetricsView.ts +75 -54
  57. package/front_end/panels/timeline/components/timelineRangeSummaryView.css +8 -0
  58. package/front_end/panels/timeline/thirdPartyTreeView.css +0 -1
  59. package/front_end/panels/timeline/timeline-meta.ts +13 -0
  60. package/front_end/third_party/chromium/README.chromium +1 -1
  61. package/front_end/ui/legacy/TabbedPane.ts +3 -1
  62. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +3 -3
  63. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +2 -5
  64. package/front_end/ui/legacy/components/quick_open/HelpQuickOpen.ts +4 -4
  65. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +5 -1
  66. package/front_end/ui/visual_logging/KnownContextValues.ts +2 -3
  67. package/package.json +1 -1
  68. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +0 -653
@@ -90,6 +90,8 @@ render(html`
90
90
 
91
91
  In this example, the `.title` style will apply within the parent widget but will not leak into the nested widget. Because this convention relies on developer discipline, it is important to verify its correct application during code reviews.
92
92
 
93
+ **Note:** Inside a `<devtools-data-grid>`, any `<style>` tags must be placed as direct children of the `<table>` element.
94
+
93
95
  ## Examples
94
96
 
95
97
  ```html
package/eslint.config.mjs CHANGED
@@ -763,6 +763,8 @@ export default defineConfig([
763
763
  '@devtools/prefer-url-string': 'error',
764
764
  '@devtools/trace-engine-test-timeouts': 'error',
765
765
  '@devtools/no-document-body-mutation': 'error',
766
+ // Don't update the KnownContext with test data.
767
+ '@devtools/jslog-context-list': 'off',
766
768
  '@devtools/enforce-custom-element-definitions-location': 'off',
767
769
  '@devtools/enforce-custom-element-prefix': 'off',
768
770
  },
@@ -3,6 +3,7 @@
3
3
  // found in the LICENSE file.
4
4
 
5
5
  import * as Platform from '../platform/platform.js';
6
+ import * as Root from '../root/root.js';
6
7
 
7
8
  /* eslint @devtools/enforce-version-controller-methods: "error" */
8
9
 
@@ -16,7 +17,7 @@ export class VersionController {
16
17
  static readonly SYNCED_VERSION_SETTING_NAME = 'syncedInspectorVersion';
17
18
  static readonly LOCAL_VERSION_SETTING_NAME = 'localInspectorVersion';
18
19
 
19
- static readonly CURRENT_VERSION = 42;
20
+ static readonly CURRENT_VERSION = 43;
20
21
 
21
22
  readonly #settings: Settings;
22
23
  readonly #globalVersionSetting: Setting<number>;
@@ -831,6 +832,22 @@ export class VersionController {
831
832
  recordingsSetting.set(recordings);
832
833
  }
833
834
 
835
+ updateVersionFrom42To43(): void {
836
+ const timelineShowAllEventsExperimentEnabled =
837
+ Root.Runtime.experiments.getValueFromStorage('timeline-show-all-events' as Root.ExperimentNames.ExperimentName);
838
+ if (timelineShowAllEventsExperimentEnabled !== undefined) {
839
+ if (this.#settings.syncedStorage.has('timeline-show-all-events')) {
840
+ return; // Already migrated
841
+ }
842
+ try {
843
+ const timelineShowAllEventsSetting = this.#settings.moduleSetting('timeline-show-all-events');
844
+ timelineShowAllEventsSetting.set(timelineShowAllEventsExperimentEnabled);
845
+ } catch {
846
+ // If the setting is not registered yet (e.g. in tests), skip.
847
+ }
848
+ }
849
+ }
850
+
834
851
  /*
835
852
  * Any new migration should be added before this comment.
836
853
  *
@@ -816,10 +816,8 @@ export enum DevtoolsExperiments {
816
816
  'protocol-monitor' = 13,
817
817
  'sampling-heap-profiler-timeline' = 17,
818
818
  'timeline-invalidation-tracking' = 26,
819
- 'timeline-show-all-events' = 27,
820
819
  apca = 39,
821
820
  'font-editor' = 41,
822
- 'full-accessibility-tree' = 42,
823
821
  'instrumentation-breakpoints' = 61,
824
822
  'use-source-map-scopes' = 76,
825
823
  'timeline-debug-mode' = 93,
@@ -39,7 +39,7 @@ class NodeWorker implements Api.HostRuntime.Worker {
39
39
  postMessage(message: unknown, transfer?: Api.HostRuntime.WorkerTransferable[]): void {
40
40
  void this.#workerPromise.then(worker => {
41
41
  if (!this.#disposed) {
42
- worker.postMessage(message, transfer);
42
+ worker.postMessage(message, transfer as unknown as WorkerThreads.Transferable[]);
43
43
  }
44
44
  });
45
45
  }
@@ -9,10 +9,8 @@ export enum ExperimentName {
9
9
  PROTOCOL_MONITOR = 'protocol-monitor',
10
10
  SAMPLING_HEAP_PROFILER_TIMELINE = 'sampling-heap-profiler-timeline',
11
11
  TIMELINE_INVALIDATION_TRACKING = 'timeline-invalidation-tracking',
12
- TIMELINE_SHOW_ALL_EVENTS = 'timeline-show-all-events',
13
12
  APCA = 'apca',
14
13
  FONT_EDITOR = 'font-editor',
15
- FULL_ACCESSIBILITY_TREE = 'full-accessibility-tree',
16
14
  INSTRUMENTATION_BREAKPOINTS = 'instrumentation-breakpoints',
17
15
  USE_SOURCE_MAP_SCOPES = 'use-source-map-scopes',
18
16
  TIMELINE_DEBUG_MODE = 'timeline-debug-mode',
@@ -5,7 +5,7 @@
5
5
  import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
6
6
  import type * as Protocol from '../../generated/protocol.js';
7
7
 
8
- import {DeferredDOMNode, type DOMNode} from './DOMModel.js';
8
+ import {DeferredDOMNode, DOMModel, type DOMNode, Events as DOMModelEvents} from './DOMModel.js';
9
9
  import {SDKModel} from './SDKModel.js';
10
10
  import {Capability, type Target} from './Target.js';
11
11
 
@@ -213,6 +213,18 @@ export class AccessibilityModel extends SDKModel<EventTypes> implements Protocol
213
213
  target.registerAccessibilityDispatcher(this);
214
214
  this.agent = target.accessibilityAgent();
215
215
  void this.resumeModel();
216
+
217
+ const domModel = target.model(DOMModel);
218
+ if (domModel) {
219
+ domModel.addEventListener(DOMModelEvents.NodeRemoved, () => {
220
+ this.clear();
221
+ this.dispatchEventToListeners(Events.TREE_UPDATED, {});
222
+ });
223
+ domModel.addEventListener(DOMModelEvents.NodeInserted, () => {
224
+ this.clear();
225
+ this.dispatchEventToListeners(Events.TREE_UPDATED, {});
226
+ });
227
+ }
216
228
  }
217
229
 
218
230
  clear(): void {
@@ -265,9 +265,6 @@ export class ServiceWorkerCacheModel extends SDKModel<EventTypes> implements Pro
265
265
  }
266
266
  }
267
267
 
268
- attributionReportingTriggerRegistered(_event: Protocol.Storage.AttributionReportingTriggerRegisteredEvent): void {
269
- }
270
-
271
268
  indexedDBListUpdated(_event: Protocol.Storage.IndexedDBListUpdatedEvent): void {
272
269
  }
273
270
 
@@ -300,16 +297,6 @@ export class ServiceWorkerCacheModel extends SDKModel<EventTypes> implements Pro
300
297
  setThrottlerSchedulesAsSoonAsPossibleForTest(): void {
301
298
  this.#scheduleAsSoonAsPossible = true;
302
299
  }
303
-
304
- attributionReportingSourceRegistered(_event: Protocol.Storage.AttributionReportingSourceRegisteredEvent): void {
305
- }
306
-
307
- attributionReportingReportSent(_event: Protocol.Storage.AttributionReportingReportSentEvent): void {
308
- }
309
-
310
- attributionReportingVerboseDebugReportSent(_event: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent):
311
- void {
312
- }
313
300
  }
314
301
 
315
302
  export const enum Events {
@@ -142,9 +142,6 @@ export class StorageBucketsModel extends SDKModel<EventTypes> implements Protoco
142
142
  }
143
143
  }
144
144
 
145
- attributionReportingTriggerRegistered(_event: Protocol.Storage.AttributionReportingTriggerRegisteredEvent): void {
146
- }
147
-
148
145
  interestGroupAccessed(_event: Protocol.Storage.InterestGroupAccessedEvent): void {
149
146
  }
150
147
 
@@ -173,15 +170,6 @@ export class StorageBucketsModel extends SDKModel<EventTypes> implements Protoco
173
170
  sharedStorageWorkletOperationExecutionFinished(
174
171
  _event: Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent): void {
175
172
  }
176
-
177
- attributionReportingSourceRegistered(_event: Protocol.Storage.AttributionReportingSourceRegisteredEvent): void {
178
- }
179
- attributionReportingReportSent(_event: Protocol.Storage.AttributionReportingReportSentEvent): void {
180
- }
181
-
182
- attributionReportingVerboseDebugReportSent(_event: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent):
183
- void {
184
- }
185
173
  }
186
174
 
187
175
  SDKModel.register(StorageBucketsModel, {capabilities: Capability.STORAGE, autostart: false});
@@ -199,6 +199,8 @@ export class MainImpl {
199
199
  this.#universe = new Foundation.Universe.Universe(creationOptions);
200
200
  Root.DevToolsContext.setGlobalInstance(this.#universe.context as Root.DevToolsContext.WritableDevToolsContext);
201
201
 
202
+ Root.Runtime.experiments.cleanUpStaleExperiments();
203
+
202
204
  await this.requestAndRegisterLocaleData();
203
205
 
204
206
  Host.userMetrics.syncSetting(Common.Settings.Settings.instance().moduleSetting<boolean>('sync-preferences').get());
@@ -360,8 +362,6 @@ export class MainImpl {
360
362
  // Timeline
361
363
  Root.Runtime.experiments.register(
362
364
  Root.ExperimentNames.ExperimentName.TIMELINE_INVALIDATION_TRACKING, 'Performance panel: invalidation tracking');
363
- Root.Runtime.experiments.register(
364
- Root.ExperimentNames.ExperimentName.TIMELINE_SHOW_ALL_EVENTS, 'Performance panel: show all events');
365
365
  Root.Runtime.experiments.register(
366
366
  Root.ExperimentNames.ExperimentName.TIMELINE_DEBUG_MODE,
367
367
  'Performance panel: debug mode (trace event details, etc)');
@@ -378,13 +378,6 @@ export class MainImpl {
378
378
  'Advanced Perceptual Contrast Algorithm (APCA) replacing previous contrast ratio and AA/AAA guidelines',
379
379
  'https://developer.chrome.com/blog/new-in-devtools-89/#apca');
380
380
 
381
- // Full Accessibility Tree
382
- Root.Runtime.experiments.register(
383
- Root.ExperimentNames.ExperimentName.FULL_ACCESSIBILITY_TREE,
384
- 'Full accessibility tree view in the Elements panel',
385
- 'https://developer.chrome.com/blog/new-in-devtools-90/#accessibility-tree',
386
- 'https://g.co/devtools/a11y-tree-feedback');
387
-
388
381
  // Font Editor
389
382
  Root.Runtime.experiments.register(
390
383
  Root.ExperimentNames.ExperimentName.FONT_EDITOR, 'New font editor in the Styles tab',
@@ -407,11 +400,9 @@ export class MainImpl {
407
400
  });
408
401
 
409
402
  Root.Runtime.experiments.enableExperimentsByDefault([
410
- Root.ExperimentNames.ExperimentName.FULL_ACCESSIBILITY_TREE,
411
403
  Root.ExperimentNames.ExperimentName.USE_SOURCE_MAP_SCOPES,
412
404
  ]);
413
405
 
414
- Root.Runtime.experiments.cleanUpStaleExperiments();
415
406
  const enabledExperiments = Root.Runtime.Runtime.queryParam('enabledExperiments');
416
407
  if (enabledExperiments) {
417
408
  Root.Runtime.experiments.setServerEnabledExperiments(enabledExperiments.split(';'));
@@ -1208,7 +1208,7 @@ inspectorBackend.registerType("PerformanceTimeline.TimelineEvent", [{"name": "fr
1208
1208
  inspectorBackend.registerEnum("Preload.RuleSetErrorType", {SourceIsNotJsonObject: "SourceIsNotJsonObject", InvalidRulesSkipped: "InvalidRulesSkipped", InvalidRulesetLevelTag: "InvalidRulesetLevelTag"});
1209
1209
  inspectorBackend.registerEnum("Preload.SpeculationAction", {Prefetch: "Prefetch", Prerender: "Prerender", PrerenderUntilScript: "PrerenderUntilScript"});
1210
1210
  inspectorBackend.registerEnum("Preload.SpeculationTargetHint", {Blank: "Blank", Self: "Self"});
1211
- inspectorBackend.registerEnum("Preload.PrerenderFinalStatus", {Activated: "Activated", Destroyed: "Destroyed", LowEndDevice: "LowEndDevice", InvalidSchemeRedirect: "InvalidSchemeRedirect", InvalidSchemeNavigation: "InvalidSchemeNavigation", NavigationRequestBlockedByCsp: "NavigationRequestBlockedByCsp", MojoBinderPolicy: "MojoBinderPolicy", RendererProcessCrashed: "RendererProcessCrashed", RendererProcessKilled: "RendererProcessKilled", Download: "Download", TriggerDestroyed: "TriggerDestroyed", NavigationNotCommitted: "NavigationNotCommitted", NavigationBadHttpStatus: "NavigationBadHttpStatus", ClientCertRequested: "ClientCertRequested", NavigationRequestNetworkError: "NavigationRequestNetworkError", CancelAllHostsForTesting: "CancelAllHostsForTesting", DidFailLoad: "DidFailLoad", Stop: "Stop", SslCertificateError: "SslCertificateError", LoginAuthRequested: "LoginAuthRequested", UaChangeRequiresReload: "UaChangeRequiresReload", BlockedByClient: "BlockedByClient", AudioOutputDeviceRequested: "AudioOutputDeviceRequested", MixedContent: "MixedContent", TriggerBackgrounded: "TriggerBackgrounded", MemoryLimitExceeded: "MemoryLimitExceeded", DataSaverEnabled: "DataSaverEnabled", TriggerUrlHasEffectiveUrl: "TriggerUrlHasEffectiveUrl", ActivatedBeforeStarted: "ActivatedBeforeStarted", InactivePageRestriction: "InactivePageRestriction", StartFailed: "StartFailed", TimeoutBackgrounded: "TimeoutBackgrounded", CrossSiteRedirectInInitialNavigation: "CrossSiteRedirectInInitialNavigation", CrossSiteNavigationInInitialNavigation: "CrossSiteNavigationInInitialNavigation", SameSiteCrossOriginRedirectNotOptInInInitialNavigation: "SameSiteCrossOriginRedirectNotOptInInInitialNavigation", SameSiteCrossOriginNavigationNotOptInInInitialNavigation: "SameSiteCrossOriginNavigationNotOptInInInitialNavigation", ActivationNavigationParameterMismatch: "ActivationNavigationParameterMismatch", ActivatedInBackground: "ActivatedInBackground", EmbedderHostDisallowed: "EmbedderHostDisallowed", ActivationNavigationDestroyedBeforeSuccess: "ActivationNavigationDestroyedBeforeSuccess", TabClosedByUserGesture: "TabClosedByUserGesture", TabClosedWithoutUserGesture: "TabClosedWithoutUserGesture", PrimaryMainFrameRendererProcessCrashed: "PrimaryMainFrameRendererProcessCrashed", PrimaryMainFrameRendererProcessKilled: "PrimaryMainFrameRendererProcessKilled", ActivationFramePolicyNotCompatible: "ActivationFramePolicyNotCompatible", PreloadingDisabled: "PreloadingDisabled", BatterySaverEnabled: "BatterySaverEnabled", ActivatedDuringMainFrameNavigation: "ActivatedDuringMainFrameNavigation", PreloadingUnsupportedByWebContents: "PreloadingUnsupportedByWebContents", CrossSiteRedirectInMainFrameNavigation: "CrossSiteRedirectInMainFrameNavigation", CrossSiteNavigationInMainFrameNavigation: "CrossSiteNavigationInMainFrameNavigation", SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation: "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation", SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation: "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation", MemoryPressureOnTrigger: "MemoryPressureOnTrigger", MemoryPressureAfterTriggered: "MemoryPressureAfterTriggered", PrerenderingDisabledByDevTools: "PrerenderingDisabledByDevTools", SpeculationRuleRemoved: "SpeculationRuleRemoved", ActivatedWithAuxiliaryBrowsingContexts: "ActivatedWithAuxiliaryBrowsingContexts", MaxNumOfRunningEagerPrerendersExceeded: "MaxNumOfRunningEagerPrerendersExceeded", MaxNumOfRunningNonEagerPrerendersExceeded: "MaxNumOfRunningNonEagerPrerendersExceeded", MaxNumOfRunningEmbedderPrerendersExceeded: "MaxNumOfRunningEmbedderPrerendersExceeded", PrerenderingUrlHasEffectiveUrl: "PrerenderingUrlHasEffectiveUrl", RedirectedPrerenderingUrlHasEffectiveUrl: "RedirectedPrerenderingUrlHasEffectiveUrl", ActivationUrlHasEffectiveUrl: "ActivationUrlHasEffectiveUrl", JavaScriptInterfaceAdded: "JavaScriptInterfaceAdded", JavaScriptInterfaceRemoved: "JavaScriptInterfaceRemoved", AllPrerenderingCanceled: "AllPrerenderingCanceled", WindowClosed: "WindowClosed", SlowNetwork: "SlowNetwork", OtherPrerenderedPageActivated: "OtherPrerenderedPageActivated", V8OptimizerDisabled: "V8OptimizerDisabled", PrerenderFailedDuringPrefetch: "PrerenderFailedDuringPrefetch", BrowsingDataRemoved: "BrowsingDataRemoved", PrerenderHostReused: "PrerenderHostReused"});
1211
+ inspectorBackend.registerEnum("Preload.PrerenderFinalStatus", {Activated: "Activated", Destroyed: "Destroyed", LowEndDevice: "LowEndDevice", InvalidSchemeRedirect: "InvalidSchemeRedirect", InvalidSchemeNavigation: "InvalidSchemeNavigation", NavigationRequestBlockedByCsp: "NavigationRequestBlockedByCsp", MojoBinderPolicy: "MojoBinderPolicy", RendererProcessCrashed: "RendererProcessCrashed", RendererProcessKilled: "RendererProcessKilled", Download: "Download", TriggerDestroyed: "TriggerDestroyed", NavigationNotCommitted: "NavigationNotCommitted", NavigationBadHttpStatus: "NavigationBadHttpStatus", ClientCertRequested: "ClientCertRequested", NavigationRequestNetworkError: "NavigationRequestNetworkError", CancelAllHostsForTesting: "CancelAllHostsForTesting", DidFailLoad: "DidFailLoad", Stop: "Stop", SslCertificateError: "SslCertificateError", LoginAuthRequested: "LoginAuthRequested", UaChangeRequiresReload: "UaChangeRequiresReload", BlockedByClient: "BlockedByClient", AudioOutputDeviceRequested: "AudioOutputDeviceRequested", MixedContent: "MixedContent", TriggerBackgrounded: "TriggerBackgrounded", MemoryLimitExceeded: "MemoryLimitExceeded", DataSaverEnabled: "DataSaverEnabled", TriggerUrlHasEffectiveUrl: "TriggerUrlHasEffectiveUrl", ActivatedBeforeStarted: "ActivatedBeforeStarted", InactivePageRestriction: "InactivePageRestriction", StartFailed: "StartFailed", TimeoutBackgrounded: "TimeoutBackgrounded", CrossSiteRedirectInInitialNavigation: "CrossSiteRedirectInInitialNavigation", CrossSiteNavigationInInitialNavigation: "CrossSiteNavigationInInitialNavigation", SameSiteCrossOriginRedirectNotOptInInInitialNavigation: "SameSiteCrossOriginRedirectNotOptInInInitialNavigation", SameSiteCrossOriginNavigationNotOptInInInitialNavigation: "SameSiteCrossOriginNavigationNotOptInInInitialNavigation", ActivationNavigationParameterMismatch: "ActivationNavigationParameterMismatch", ActivatedInBackground: "ActivatedInBackground", EmbedderHostDisallowed: "EmbedderHostDisallowed", ActivationNavigationDestroyedBeforeSuccess: "ActivationNavigationDestroyedBeforeSuccess", TabClosedByUserGesture: "TabClosedByUserGesture", TabClosedWithoutUserGesture: "TabClosedWithoutUserGesture", PrimaryMainFrameRendererProcessCrashed: "PrimaryMainFrameRendererProcessCrashed", PrimaryMainFrameRendererProcessKilled: "PrimaryMainFrameRendererProcessKilled", ActivationFramePolicyNotCompatible: "ActivationFramePolicyNotCompatible", PreloadingDisabled: "PreloadingDisabled", BatterySaverEnabled: "BatterySaverEnabled", ActivatedDuringMainFrameNavigation: "ActivatedDuringMainFrameNavigation", PreloadingUnsupportedByWebContents: "PreloadingUnsupportedByWebContents", CrossSiteRedirectInMainFrameNavigation: "CrossSiteRedirectInMainFrameNavigation", CrossSiteNavigationInMainFrameNavigation: "CrossSiteNavigationInMainFrameNavigation", SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation: "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation", SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation: "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation", MemoryPressureOnTrigger: "MemoryPressureOnTrigger", MemoryPressureAfterTriggered: "MemoryPressureAfterTriggered", PrerenderingDisabledByDevTools: "PrerenderingDisabledByDevTools", SpeculationRuleRemoved: "SpeculationRuleRemoved", ActivatedWithAuxiliaryBrowsingContexts: "ActivatedWithAuxiliaryBrowsingContexts", MaxNumOfRunningEagerPrerendersExceeded: "MaxNumOfRunningEagerPrerendersExceeded", MaxNumOfRunningNonEagerPrerendersExceeded: "MaxNumOfRunningNonEagerPrerendersExceeded", MaxNumOfRunningEmbedderPrerendersExceeded: "MaxNumOfRunningEmbedderPrerendersExceeded", PrerenderingUrlHasEffectiveUrl: "PrerenderingUrlHasEffectiveUrl", RedirectedPrerenderingUrlHasEffectiveUrl: "RedirectedPrerenderingUrlHasEffectiveUrl", ActivationUrlHasEffectiveUrl: "ActivationUrlHasEffectiveUrl", JavaScriptInterfaceAdded: "JavaScriptInterfaceAdded", JavaScriptInterfaceRemoved: "JavaScriptInterfaceRemoved", AllPrerenderingCanceled: "AllPrerenderingCanceled", WindowClosed: "WindowClosed", SlowNetwork: "SlowNetwork", OtherPrerenderedPageActivated: "OtherPrerenderedPageActivated", V8OptimizerDisabled: "V8OptimizerDisabled", PrerenderFailedDuringPrefetch: "PrerenderFailedDuringPrefetch", BrowsingDataRemoved: "BrowsingDataRemoved", PrerenderHostReused: "PrerenderHostReused", FormSubmitWhenPrerendering: "FormSubmitWhenPrerendering"});
1212
1212
  inspectorBackend.registerEnum("Preload.PreloadingStatus", {Pending: "Pending", Running: "Running", Ready: "Ready", Success: "Success", Failure: "Failure", NotSupported: "NotSupported"});
1213
1213
  inspectorBackend.registerEnum("Preload.PrefetchStatus", {PrefetchAllowed: "PrefetchAllowed", PrefetchFailedIneligibleRedirect: "PrefetchFailedIneligibleRedirect", PrefetchFailedInvalidRedirect: "PrefetchFailedInvalidRedirect", PrefetchFailedMIMENotSupported: "PrefetchFailedMIMENotSupported", PrefetchFailedNetError: "PrefetchFailedNetError", PrefetchFailedNon2XX: "PrefetchFailedNon2XX", PrefetchEvictedAfterBrowsingDataRemoved: "PrefetchEvictedAfterBrowsingDataRemoved", PrefetchEvictedAfterCandidateRemoved: "PrefetchEvictedAfterCandidateRemoved", PrefetchEvictedForNewerPrefetch: "PrefetchEvictedForNewerPrefetch", PrefetchHeldback: "PrefetchHeldback", PrefetchIneligibleRetryAfter: "PrefetchIneligibleRetryAfter", PrefetchIsPrivacyDecoy: "PrefetchIsPrivacyDecoy", PrefetchIsStale: "PrefetchIsStale", PrefetchNotEligibleBrowserContextOffTheRecord: "PrefetchNotEligibleBrowserContextOffTheRecord", PrefetchNotEligibleDataSaverEnabled: "PrefetchNotEligibleDataSaverEnabled", PrefetchNotEligibleExistingProxy: "PrefetchNotEligibleExistingProxy", PrefetchNotEligibleHostIsNonUnique: "PrefetchNotEligibleHostIsNonUnique", PrefetchNotEligibleNonDefaultStoragePartition: "PrefetchNotEligibleNonDefaultStoragePartition", PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy: "PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy", PrefetchNotEligibleSchemeIsNotHttps: "PrefetchNotEligibleSchemeIsNotHttps", PrefetchNotEligibleUserHasCookies: "PrefetchNotEligibleUserHasCookies", PrefetchNotEligibleUserHasServiceWorker: "PrefetchNotEligibleUserHasServiceWorker", PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler: "PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler", PrefetchNotEligibleRedirectFromServiceWorker: "PrefetchNotEligibleRedirectFromServiceWorker", PrefetchNotEligibleRedirectToServiceWorker: "PrefetchNotEligibleRedirectToServiceWorker", PrefetchNotEligibleBatterySaverEnabled: "PrefetchNotEligibleBatterySaverEnabled", PrefetchNotEligiblePreloadingDisabled: "PrefetchNotEligiblePreloadingDisabled", PrefetchNotFinishedInTime: "PrefetchNotFinishedInTime", PrefetchNotStarted: "PrefetchNotStarted", PrefetchNotUsedCookiesChanged: "PrefetchNotUsedCookiesChanged", PrefetchProxyNotAvailable: "PrefetchProxyNotAvailable", PrefetchResponseUsed: "PrefetchResponseUsed", PrefetchSuccessfulButNotUsed: "PrefetchSuccessfulButNotUsed", PrefetchNotUsedProbeFailed: "PrefetchNotUsedProbeFailed"});
1214
1214
  inspectorBackend.registerEvent("Preload.ruleSetUpdated", ["ruleSet"]);
@@ -1220,7 +1220,7 @@ inspectorBackend.registerEvent("Preload.preloadingAttemptSourcesUpdated", ["load
1220
1220
  inspectorBackend.registerCommand("Preload.enable", [], [], "");
1221
1221
  inspectorBackend.registerCommand("Preload.disable", [], [], "");
1222
1222
  inspectorBackend.registerType("Preload.RuleSet", [{"name": "id", "type": "string", "optional": false, "description": "", "typeRef": "Preload.RuleSetId"}, {"name": "loaderId", "type": "string", "optional": false, "description": "Identifies a document which the rule set is associated with.", "typeRef": "Network.LoaderId"}, {"name": "sourceText", "type": "string", "optional": false, "description": "Source text of JSON representing the rule set. If it comes from `<script>` tag, it is the textContent of the node. Note that it is a JSON for valid case. See also: - https://wicg.github.io/nav-speculation/speculation-rules.html - https://github.com/WICG/nav-speculation/blob/main/triggers.md", "typeRef": null}, {"name": "backendNodeId", "type": "number", "optional": true, "description": "A speculation rule set is either added through an inline `<script>` tag or through an external resource via the 'Speculation-Rules' HTTP header. For the first case, we include the BackendNodeId of the relevant `<script>` tag. For the second case, we include the external URL where the rule set was loaded from, and also RequestId if Network domain is enabled. See also: - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-script - https://wicg.github.io/nav-speculation/speculation-rules.html#speculation-rules-header", "typeRef": "DOM.BackendNodeId"}, {"name": "url", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "requestId", "type": "string", "optional": true, "description": "", "typeRef": "Network.RequestId"}, {"name": "errorType", "type": "string", "optional": true, "description": "Error information `errorMessage` is null iff `errorType` is null.", "typeRef": "Preload.RuleSetErrorType"}, {"name": "errorMessage", "type": "string", "optional": true, "description": "TODO(https://crbug.com/1425354): Replace this property with structured error.", "typeRef": null}, {"name": "tag", "type": "string", "optional": true, "description": "For more details, see: https://github.com/WICG/nav-speculation/blob/main/speculation-rules-tags.md", "typeRef": null}]);
1223
- inspectorBackend.registerType("Preload.PreloadingAttemptKey", [{"name": "loaderId", "type": "string", "optional": false, "description": "", "typeRef": "Network.LoaderId"}, {"name": "action", "type": "string", "optional": false, "description": "", "typeRef": "Preload.SpeculationAction"}, {"name": "url", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "targetHint", "type": "string", "optional": true, "description": "", "typeRef": "Preload.SpeculationTargetHint"}]);
1223
+ inspectorBackend.registerType("Preload.PreloadingAttemptKey", [{"name": "loaderId", "type": "string", "optional": false, "description": "", "typeRef": "Network.LoaderId"}, {"name": "action", "type": "string", "optional": false, "description": "", "typeRef": "Preload.SpeculationAction"}, {"name": "url", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "formSubmission", "type": "boolean", "optional": true, "description": "", "typeRef": null}, {"name": "targetHint", "type": "string", "optional": true, "description": "", "typeRef": "Preload.SpeculationTargetHint"}]);
1224
1224
  inspectorBackend.registerType("Preload.PreloadingAttemptSource", [{"name": "key", "type": "object", "optional": false, "description": "", "typeRef": "Preload.PreloadingAttemptKey"}, {"name": "ruleSetIds", "type": "array", "optional": false, "description": "", "typeRef": "Preload.RuleSetId"}, {"name": "nodeIds", "type": "array", "optional": false, "description": "", "typeRef": "DOM.BackendNodeId"}]);
1225
1225
  inspectorBackend.registerType("Preload.PrerenderMismatchedHeaders", [{"name": "headerName", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "initialValue", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "activationValue", "type": "string", "optional": true, "description": "", "typeRef": null}]);
1226
1226
 
@@ -1310,13 +1310,6 @@ inspectorBackend.registerEnum("Storage.InterestGroupAuctionFetchType", {BidderJs
1310
1310
  inspectorBackend.registerEnum("Storage.SharedStorageAccessScope", {Window: "window", SharedStorageWorklet: "sharedStorageWorklet", ProtectedAudienceWorklet: "protectedAudienceWorklet", Header: "header"});
1311
1311
  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"});
1312
1312
  inspectorBackend.registerEnum("Storage.StorageBucketsDurability", {Relaxed: "relaxed", Strict: "strict"});
1313
- inspectorBackend.registerEnum("Storage.AttributionReportingSourceType", {Navigation: "navigation", Event: "event"});
1314
- inspectorBackend.registerEnum("Storage.AttributionReportingTriggerDataMatching", {Exact: "exact", Modulus: "modulus"});
1315
- inspectorBackend.registerEnum("Storage.AttributionReportingSourceRegistrationResult", {Success: "success", InternalError: "internalError", InsufficientSourceCapacity: "insufficientSourceCapacity", InsufficientUniqueDestinationCapacity: "insufficientUniqueDestinationCapacity", ExcessiveReportingOrigins: "excessiveReportingOrigins", ProhibitedByBrowserPolicy: "prohibitedByBrowserPolicy", SuccessNoised: "successNoised", DestinationReportingLimitReached: "destinationReportingLimitReached", DestinationGlobalLimitReached: "destinationGlobalLimitReached", DestinationBothLimitsReached: "destinationBothLimitsReached", ReportingOriginsPerSiteLimitReached: "reportingOriginsPerSiteLimitReached", ExceedsMaxChannelCapacity: "exceedsMaxChannelCapacity", ExceedsMaxScopesChannelCapacity: "exceedsMaxScopesChannelCapacity", ExceedsMaxTriggerStateCardinality: "exceedsMaxTriggerStateCardinality", ExceedsMaxEventStatesLimit: "exceedsMaxEventStatesLimit", DestinationPerDayReportingLimitReached: "destinationPerDayReportingLimitReached"});
1316
- inspectorBackend.registerEnum("Storage.AttributionReportingSourceRegistrationTimeConfig", {Include: "include", Exclude: "exclude"});
1317
- inspectorBackend.registerEnum("Storage.AttributionReportingEventLevelResult", {Success: "success", SuccessDroppedLowerPriority: "successDroppedLowerPriority", InternalError: "internalError", NoCapacityForAttributionDestination: "noCapacityForAttributionDestination", NoMatchingSources: "noMatchingSources", Deduplicated: "deduplicated", ExcessiveAttributions: "excessiveAttributions", PriorityTooLow: "priorityTooLow", NeverAttributedSource: "neverAttributedSource", ExcessiveReportingOrigins: "excessiveReportingOrigins", NoMatchingSourceFilterData: "noMatchingSourceFilterData", ProhibitedByBrowserPolicy: "prohibitedByBrowserPolicy", NoMatchingConfigurations: "noMatchingConfigurations", ExcessiveReports: "excessiveReports", FalselyAttributedSource: "falselyAttributedSource", ReportWindowPassed: "reportWindowPassed", NotRegistered: "notRegistered", ReportWindowNotStarted: "reportWindowNotStarted", NoMatchingTriggerData: "noMatchingTriggerData"});
1318
- inspectorBackend.registerEnum("Storage.AttributionReportingAggregatableResult", {Success: "success", InternalError: "internalError", NoCapacityForAttributionDestination: "noCapacityForAttributionDestination", NoMatchingSources: "noMatchingSources", ExcessiveAttributions: "excessiveAttributions", ExcessiveReportingOrigins: "excessiveReportingOrigins", NoHistograms: "noHistograms", InsufficientBudget: "insufficientBudget", InsufficientNamedBudget: "insufficientNamedBudget", NoMatchingSourceFilterData: "noMatchingSourceFilterData", NotRegistered: "notRegistered", ProhibitedByBrowserPolicy: "prohibitedByBrowserPolicy", Deduplicated: "deduplicated", ReportWindowPassed: "reportWindowPassed", ExcessiveReports: "excessiveReports"});
1319
- inspectorBackend.registerEnum("Storage.AttributionReportingReportResult", {Sent: "sent", Prohibited: "prohibited", FailedToAssemble: "failedToAssemble", Expired: "expired"});
1320
1313
  inspectorBackend.registerEvent("Storage.cacheStorageContentUpdated", ["origin", "storageKey", "bucketId", "cacheName"]);
1321
1314
  inspectorBackend.registerEvent("Storage.cacheStorageListUpdated", ["origin", "storageKey", "bucketId"]);
1322
1315
  inspectorBackend.registerEvent("Storage.indexedDBContentUpdated", ["origin", "storageKey", "bucketId", "databaseName", "objectStoreName"]);
@@ -1328,10 +1321,6 @@ inspectorBackend.registerEvent("Storage.sharedStorageAccessed", ["accessTime", "
1328
1321
  inspectorBackend.registerEvent("Storage.sharedStorageWorkletOperationExecutionFinished", ["finishedTime", "executionTime", "method", "operationId", "workletTargetId", "mainFrameId", "ownerOrigin"]);
1329
1322
  inspectorBackend.registerEvent("Storage.storageBucketCreatedOrUpdated", ["bucketInfo"]);
1330
1323
  inspectorBackend.registerEvent("Storage.storageBucketDeleted", ["bucketId"]);
1331
- inspectorBackend.registerEvent("Storage.attributionReportingSourceRegistered", ["registration", "result"]);
1332
- inspectorBackend.registerEvent("Storage.attributionReportingTriggerRegistered", ["registration", "eventLevel", "aggregatable"]);
1333
- inspectorBackend.registerEvent("Storage.attributionReportingReportSent", ["url", "body", "result", "netError", "netErrorName", "httpStatusCode"]);
1334
- inspectorBackend.registerEvent("Storage.attributionReportingVerboseDebugReportSent", ["url", "body", "netError", "netErrorName", "httpStatusCode"]);
1335
1324
  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.");
1336
1325
  inspectorBackend.registerCommand("Storage.getStorageKey", [{"name": "frameId", "type": "string", "optional": true, "description": "", "typeRef": "Page.FrameId"}], ["storageKey"], "Returns storage key for the given frame. If no frame ID is provided, the storage key of the target executing this command is returned.");
1337
1326
  inspectorBackend.registerCommand("Storage.clearDataForOrigin", [{"name": "origin", "type": "string", "optional": false, "description": "Security origin.", "typeRef": null}, {"name": "storageTypes", "type": "string", "optional": false, "description": "Comma separated list of StorageType to clear.", "typeRef": null}], [], "Clears storage for origin.");
@@ -1364,9 +1353,6 @@ inspectorBackend.registerCommand("Storage.setSharedStorageTracking", [{"name": "
1364
1353
  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.");
1365
1354
  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.");
1366
1355
  inspectorBackend.registerCommand("Storage.runBounceTrackingMitigations", [], ["deletedSites"], "Deletes state for sites identified as potential bounce trackers, immediately.");
1367
- inspectorBackend.registerCommand("Storage.setAttributionReportingLocalTestingMode", [{"name": "enabled", "type": "boolean", "optional": false, "description": "If enabled, noise is suppressed and reports are sent immediately.", "typeRef": null}], [], "https://wicg.github.io/attribution-reporting-api/");
1368
- inspectorBackend.registerCommand("Storage.setAttributionReportingTracking", [{"name": "enable", "type": "boolean", "optional": false, "description": "", "typeRef": null}], [], "Enables/disables issuing of Attribution Reporting events.");
1369
- inspectorBackend.registerCommand("Storage.sendPendingAttributionReports", [], ["numSent"], "Sends all pending Attribution Reports immediately, regardless of their scheduled report time.");
1370
1356
  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.");
1371
1357
  inspectorBackend.registerCommand("Storage.getAffectedUrlsForThirdPartyCookieMetadata", [{"name": "firstPartyUrl", "type": "string", "optional": false, "description": "The URL of the page currently being visited.", "typeRef": null}, {"name": "thirdPartyUrls", "type": "array", "optional": false, "description": "The list of embedded resource URLs from the page.", "typeRef": "string"}], ["matchedUrls"], "Returns the list of URLs from a page and its embedded resources that match existing grace period URL pattern rules. https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period");
1372
1358
  inspectorBackend.registerCommand("Storage.setProtectedAudienceKAnonymity", [{"name": "owner", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "name", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "hashes", "type": "array", "optional": false, "description": "", "typeRef": "binary"}], [], "");
@@ -1380,23 +1366,6 @@ inspectorBackend.registerType("Storage.SharedStorageUrlWithMetadata", [{"name":
1380
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}]);
1381
1367
  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}]);
1382
1368
  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"}]);
1383
- inspectorBackend.registerType("Storage.AttributionReportingFilterDataEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "values", "type": "array", "optional": false, "description": "", "typeRef": "string"}]);
1384
- inspectorBackend.registerType("Storage.AttributionReportingFilterConfig", [{"name": "filterValues", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterDataEntry"}, {"name": "lookbackWindow", "type": "number", "optional": true, "description": "duration in seconds", "typeRef": null}]);
1385
- inspectorBackend.registerType("Storage.AttributionReportingFilterPair", [{"name": "filters", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterConfig"}, {"name": "notFilters", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterConfig"}]);
1386
- inspectorBackend.registerType("Storage.AttributionReportingAggregationKeysEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "value", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt128AsBase16"}]);
1387
- inspectorBackend.registerType("Storage.AttributionReportingEventReportWindows", [{"name": "start", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "ends", "type": "array", "optional": false, "description": "duration in seconds", "typeRef": "integer"}]);
1388
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableDebugReportingData", [{"name": "keyPiece", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt128AsBase16"}, {"name": "value", "type": "number", "optional": false, "description": "number instead of integer because not all uint32 can be represented by int", "typeRef": null}, {"name": "types", "type": "array", "optional": false, "description": "", "typeRef": "string"}]);
1389
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableDebugReportingConfig", [{"name": "budget", "type": "number", "optional": true, "description": "number instead of integer because not all uint32 can be represented by int, only present for source registrations", "typeRef": null}, {"name": "keyPiece", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt128AsBase16"}, {"name": "debugData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableDebugReportingData"}, {"name": "aggregationCoordinatorOrigin", "type": "string", "optional": true, "description": "", "typeRef": null}]);
1390
- inspectorBackend.registerType("Storage.AttributionScopesData", [{"name": "values", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "limit", "type": "number", "optional": false, "description": "number instead of integer because not all uint32 can be represented by int", "typeRef": null}, {"name": "maxEventStates", "type": "number", "optional": false, "description": "", "typeRef": null}]);
1391
- inspectorBackend.registerType("Storage.AttributionReportingNamedBudgetDef", [{"name": "name", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "budget", "type": "number", "optional": false, "description": "", "typeRef": null}]);
1392
- inspectorBackend.registerType("Storage.AttributionReportingSourceRegistration", [{"name": "time", "type": "number", "optional": false, "description": "", "typeRef": "Network.TimeSinceEpoch"}, {"name": "expiry", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "triggerData", "type": "array", "optional": false, "description": "number instead of integer because not all uint32 can be represented by int", "typeRef": "number"}, {"name": "eventReportWindows", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingEventReportWindows"}, {"name": "aggregatableReportWindow", "type": "number", "optional": false, "description": "duration in seconds", "typeRef": null}, {"name": "type", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingSourceType"}, {"name": "sourceOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "reportingOrigin", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "destinationSites", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "eventId", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "priority", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SignedInt64AsBase10"}, {"name": "filterData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterDataEntry"}, {"name": "aggregationKeys", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregationKeysEntry"}, {"name": "debugKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "triggerDataMatching", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingTriggerDataMatching"}, {"name": "destinationLimitPriority", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SignedInt64AsBase10"}, {"name": "aggregatableDebugReportingConfig", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableDebugReportingConfig"}, {"name": "scopesData", "type": "object", "optional": true, "description": "", "typeRef": "Storage.AttributionScopesData"}, {"name": "maxEventLevelReports", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "namedBudgets", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingNamedBudgetDef"}, {"name": "debugReporting", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "eventLevelEpsilon", "type": "number", "optional": false, "description": "", "typeRef": null}]);
1393
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableValueDictEntry", [{"name": "key", "type": "string", "optional": false, "description": "", "typeRef": null}, {"name": "value", "type": "number", "optional": false, "description": "number instead of integer because not all uint32 can be represented by int", "typeRef": null}, {"name": "filteringId", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}]);
1394
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableValueEntry", [{"name": "values", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableValueDictEntry"}, {"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}]);
1395
- inspectorBackend.registerType("Storage.AttributionReportingEventTriggerData", [{"name": "data", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "priority", "type": "string", "optional": false, "description": "", "typeRef": "Storage.SignedInt64AsBase10"}, {"name": "dedupKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}]);
1396
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableTriggerData", [{"name": "keyPiece", "type": "string", "optional": false, "description": "", "typeRef": "Storage.UnsignedInt128AsBase16"}, {"name": "sourceKeys", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}]);
1397
- inspectorBackend.registerType("Storage.AttributionReportingAggregatableDedupKey", [{"name": "dedupKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}]);
1398
- inspectorBackend.registerType("Storage.AttributionReportingNamedBudgetCandidate", [{"name": "name", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}]);
1399
- inspectorBackend.registerType("Storage.AttributionReportingTriggerRegistration", [{"name": "filters", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingFilterPair"}, {"name": "debugKey", "type": "string", "optional": true, "description": "", "typeRef": "Storage.UnsignedInt64AsBase10"}, {"name": "aggregatableDedupKeys", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableDedupKey"}, {"name": "eventTriggerData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingEventTriggerData"}, {"name": "aggregatableTriggerData", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableTriggerData"}, {"name": "aggregatableValues", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableValueEntry"}, {"name": "aggregatableFilteringIdMaxBytes", "type": "number", "optional": false, "description": "", "typeRef": null}, {"name": "debugReporting", "type": "boolean", "optional": false, "description": "", "typeRef": null}, {"name": "aggregationCoordinatorOrigin", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "sourceRegistrationTimeConfig", "type": "string", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingSourceRegistrationTimeConfig"}, {"name": "triggerContextId", "type": "string", "optional": true, "description": "", "typeRef": null}, {"name": "aggregatableDebugReportingConfig", "type": "object", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingAggregatableDebugReportingConfig"}, {"name": "scopes", "type": "array", "optional": false, "description": "", "typeRef": "string"}, {"name": "namedBudgets", "type": "array", "optional": false, "description": "", "typeRef": "Storage.AttributionReportingNamedBudgetCandidate"}]);
1400
1369
  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"}]);
1401
1370
 
1402
1371
  // SystemInfo.
@@ -1527,6 +1496,7 @@ inspectorBackend.registerEvent("WebMCP.toolsRemoved", ["tools"]);
1527
1496
  inspectorBackend.registerEvent("WebMCP.toolInvoked", ["toolName", "frameId", "invocationId", "input"]);
1528
1497
  inspectorBackend.registerEvent("WebMCP.toolResponded", ["invocationId", "status", "output", "errorText", "exception"]);
1529
1498
  inspectorBackend.registerCommand("WebMCP.enable", [], [], "Enables the WebMCP domain, allowing events to be sent. Enabling the domain will trigger a toolsAdded event for all currently registered tools.");
1499
+ inspectorBackend.registerCommand("WebMCP.disable", [], [], "Disables the WebMCP domain.");
1530
1500
  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": "autosubmit", "type": "boolean", "optional": true, "description": "If the declarative tool was declared with the autosubmit attribute.", "typeRef": null}]);
1531
1501
  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"}]);
1532
1502
 
@@ -998,7 +998,8 @@ export const generatedProperties = [
998
998
  "border-box",
999
999
  "padding-box",
1000
1000
  "content-box",
1001
- "text"
1001
+ "text",
1002
+ "border-area"
1002
1003
  ],
1003
1004
  "name": "background-clip"
1004
1005
  },
@@ -2833,7 +2834,8 @@ export const generatedProperties = [
2833
2834
  "optimizespeed",
2834
2835
  "optimizequality",
2835
2836
  "-webkit-optimize-contrast",
2836
- "pixelated"
2837
+ "pixelated",
2838
+ "crisp-edges"
2837
2839
  ],
2838
2840
  "name": "image-rendering"
2839
2841
  },
@@ -5249,7 +5251,8 @@ export const generatedPropertyValues = {
5249
5251
  "border-box",
5250
5252
  "padding-box",
5251
5253
  "content-box",
5252
- "text"
5254
+ "text",
5255
+ "border-area"
5253
5256
  ]
5254
5257
  },
5255
5258
  "background-color": {
@@ -6275,7 +6278,8 @@ export const generatedPropertyValues = {
6275
6278
  "optimizespeed",
6276
6279
  "optimizequality",
6277
6280
  "-webkit-optimize-contrast",
6278
- "pixelated"
6281
+ "pixelated",
6282
+ "crisp-edges"
6279
6283
  ]
6280
6284
  },
6281
6285
  "initial-letter": {
@@ -810,10 +810,6 @@ export namespace ProtocolMapping {
810
810
  'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
811
811
  'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
812
812
  'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
813
- 'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
814
- 'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
815
- 'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
816
- 'Storage.attributionReportingVerboseDebugReportSent': [Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent];
817
813
  /**
818
814
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
819
815
  */
@@ -5000,28 +4996,6 @@ export namespace ProtocolMapping {
5000
4996
  paramsType: [];
5001
4997
  returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
5002
4998
  };
5003
- /**
5004
- * https://wicg.github.io/attribution-reporting-api/
5005
- */
5006
- 'Storage.setAttributionReportingLocalTestingMode': {
5007
- paramsType: [Protocol.Storage.SetAttributionReportingLocalTestingModeRequest];
5008
- returnType: void;
5009
- };
5010
- /**
5011
- * Enables/disables issuing of Attribution Reporting events.
5012
- */
5013
- 'Storage.setAttributionReportingTracking': {
5014
- paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
5015
- returnType: void;
5016
- };
5017
- /**
5018
- * Sends all pending Attribution Reports immediately, regardless of their
5019
- * scheduled report time.
5020
- */
5021
- 'Storage.sendPendingAttributionReports': {
5022
- paramsType: [];
5023
- returnType: Protocol.Storage.SendPendingAttributionReportsResponse;
5024
- };
5025
4999
  /**
5026
5000
  * Returns the effective Related Website Sets in use by this profile for the browser
5027
5001
  * session. The effective Related Website Sets will not change during a browser session.
@@ -5403,6 +5377,13 @@ export namespace ProtocolMapping {
5403
5377
  paramsType: [];
5404
5378
  returnType: void;
5405
5379
  };
5380
+ /**
5381
+ * Disables the WebMCP domain.
5382
+ */
5383
+ 'WebMCP.disable': {
5384
+ paramsType: [];
5385
+ returnType: void;
5386
+ };
5406
5387
  /**
5407
5388
  * Continues execution until specific location is reached.
5408
5389
  */
@@ -4333,22 +4333,6 @@ declare namespace ProtocolProxyApi {
4333
4333
  */
4334
4334
  invoke_runBounceTrackingMitigations(): Promise<Protocol.Storage.RunBounceTrackingMitigationsResponse>;
4335
4335
 
4336
- /**
4337
- * https://wicg.github.io/attribution-reporting-api/
4338
- */
4339
- invoke_setAttributionReportingLocalTestingMode(params: Protocol.Storage.SetAttributionReportingLocalTestingModeRequest): Promise<Protocol.ProtocolResponseWithError>;
4340
-
4341
- /**
4342
- * Enables/disables issuing of Attribution Reporting events.
4343
- */
4344
- invoke_setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<Protocol.ProtocolResponseWithError>;
4345
-
4346
- /**
4347
- * Sends all pending Attribution Reports immediately, regardless of their
4348
- * scheduled report time.
4349
- */
4350
- invoke_sendPendingAttributionReports(): Promise<Protocol.Storage.SendPendingAttributionReportsResponse>;
4351
-
4352
4336
  /**
4353
4337
  * Returns the effective Related Website Sets in use by this profile for the browser
4354
4338
  * session. The effective Related Website Sets will not change during a browser session.
@@ -4422,14 +4406,6 @@ declare namespace ProtocolProxyApi {
4422
4406
 
4423
4407
  storageBucketDeleted(params: Protocol.Storage.StorageBucketDeletedEvent): void;
4424
4408
 
4425
- attributionReportingSourceRegistered(params: Protocol.Storage.AttributionReportingSourceRegisteredEvent): void;
4426
-
4427
- attributionReportingTriggerRegistered(params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent): void;
4428
-
4429
- attributionReportingReportSent(params: Protocol.Storage.AttributionReportingReportSentEvent): void;
4430
-
4431
- attributionReportingVerboseDebugReportSent(params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent): void;
4432
-
4433
4409
  }
4434
4410
 
4435
4411
  export interface SystemInfoApi {
@@ -4874,6 +4850,11 @@ declare namespace ProtocolProxyApi {
4874
4850
  */
4875
4851
  invoke_enable(): Promise<Protocol.ProtocolResponseWithError>;
4876
4852
 
4853
+ /**
4854
+ * Disables the WebMCP domain.
4855
+ */
4856
+ invoke_disable(): Promise<Protocol.ProtocolResponseWithError>;
4857
+
4877
4858
  }
4878
4859
  export interface WebMCPDispatcher {
4879
4860
  /**