devtools-protocol 0.0.1604597 → 0.0.1608973

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1604597",
3
+ "version": "0.0.1608973",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -77,6 +77,7 @@ experimental domain Preload
77
77
  Network.LoaderId loaderId
78
78
  SpeculationAction action
79
79
  string url
80
+ optional boolean formSubmission
80
81
  optional SpeculationTargetHint targetHint
81
82
 
82
83
  # Lists sources for a preloading attempt, specifically the ids of rule sets
@@ -189,6 +190,7 @@ experimental domain Preload
189
190
  PrerenderFailedDuringPrefetch
190
191
  BrowsingDataRemoved
191
192
  PrerenderHostReused
193
+ FormSubmitWhenPrerendering
192
194
 
193
195
  # Fired when a preload enabled state is updated.
194
196
  event preloadEnabledStateUpdated
@@ -606,284 +606,6 @@ experimental domain Storage
606
606
  parameters
607
607
  string bucketId
608
608
 
609
- # https://wicg.github.io/attribution-reporting-api/
610
- experimental command setAttributionReportingLocalTestingMode
611
- parameters
612
- # If enabled, noise is suppressed and reports are sent immediately.
613
- boolean enabled
614
-
615
- # Enables/disables issuing of Attribution Reporting events.
616
- experimental command setAttributionReportingTracking
617
- parameters
618
- boolean enable
619
-
620
- # Sends all pending Attribution Reports immediately, regardless of their
621
- # scheduled report time.
622
- experimental command sendPendingAttributionReports
623
- returns
624
- # The number of reports that were sent.
625
- integer numSent
626
-
627
- experimental type AttributionReportingSourceType extends string
628
- enum
629
- navigation
630
- event
631
-
632
- experimental type UnsignedInt64AsBase10 extends string
633
- experimental type UnsignedInt128AsBase16 extends string
634
- experimental type SignedInt64AsBase10 extends string
635
-
636
- experimental type AttributionReportingFilterDataEntry extends object
637
- properties
638
- string key
639
- array of string values
640
-
641
- experimental type AttributionReportingFilterConfig extends object
642
- properties
643
- array of AttributionReportingFilterDataEntry filterValues
644
- # duration in seconds
645
- optional integer lookbackWindow
646
-
647
- experimental type AttributionReportingFilterPair extends object
648
- properties
649
- array of AttributionReportingFilterConfig filters
650
- array of AttributionReportingFilterConfig notFilters
651
-
652
- experimental type AttributionReportingAggregationKeysEntry extends object
653
- properties
654
- string key
655
- UnsignedInt128AsBase16 value
656
-
657
- experimental type AttributionReportingEventReportWindows extends object
658
- properties
659
- # duration in seconds
660
- integer start
661
- # duration in seconds
662
- array of integer ends
663
-
664
- experimental type AttributionReportingTriggerDataMatching extends string
665
- enum
666
- exact
667
- modulus
668
-
669
- experimental type AttributionReportingAggregatableDebugReportingData extends object
670
- properties
671
- UnsignedInt128AsBase16 keyPiece
672
- # number instead of integer because not all uint32 can be represented by
673
- # int
674
- number value
675
- array of string types
676
-
677
- experimental type AttributionReportingAggregatableDebugReportingConfig extends object
678
- properties
679
- # number instead of integer because not all uint32 can be represented by
680
- # int, only present for source registrations
681
- optional number budget
682
- UnsignedInt128AsBase16 keyPiece
683
- array of AttributionReportingAggregatableDebugReportingData debugData
684
- optional string aggregationCoordinatorOrigin
685
-
686
- experimental type AttributionScopesData extends object
687
- properties
688
- array of string values
689
- # number instead of integer because not all uint32 can be represented by
690
- # int
691
- number limit
692
- number maxEventStates
693
-
694
- experimental type AttributionReportingNamedBudgetDef extends object
695
- properties
696
- string name
697
- integer budget
698
-
699
- experimental type AttributionReportingSourceRegistration extends object
700
- properties
701
- Network.TimeSinceEpoch time
702
- # duration in seconds
703
- integer expiry
704
- # number instead of integer because not all uint32 can be represented by
705
- # int
706
- array of number triggerData
707
- AttributionReportingEventReportWindows eventReportWindows
708
- # duration in seconds
709
- integer aggregatableReportWindow
710
- AttributionReportingSourceType type
711
- string sourceOrigin
712
- string reportingOrigin
713
- array of string destinationSites
714
- UnsignedInt64AsBase10 eventId
715
- SignedInt64AsBase10 priority
716
- array of AttributionReportingFilterDataEntry filterData
717
- array of AttributionReportingAggregationKeysEntry aggregationKeys
718
- optional UnsignedInt64AsBase10 debugKey
719
- AttributionReportingTriggerDataMatching triggerDataMatching
720
- SignedInt64AsBase10 destinationLimitPriority
721
- AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
722
- optional AttributionScopesData scopesData
723
- integer maxEventLevelReports
724
- array of AttributionReportingNamedBudgetDef namedBudgets
725
- boolean debugReporting
726
- number eventLevelEpsilon
727
-
728
- experimental type AttributionReportingSourceRegistrationResult extends string
729
- enum
730
- success
731
- internalError
732
- insufficientSourceCapacity
733
- insufficientUniqueDestinationCapacity
734
- excessiveReportingOrigins
735
- prohibitedByBrowserPolicy
736
- successNoised
737
- destinationReportingLimitReached
738
- destinationGlobalLimitReached
739
- destinationBothLimitsReached
740
- reportingOriginsPerSiteLimitReached
741
- exceedsMaxChannelCapacity
742
- exceedsMaxScopesChannelCapacity
743
- exceedsMaxTriggerStateCardinality
744
- exceedsMaxEventStatesLimit
745
- destinationPerDayReportingLimitReached
746
-
747
- experimental event attributionReportingSourceRegistered
748
- parameters
749
- AttributionReportingSourceRegistration registration
750
- AttributionReportingSourceRegistrationResult result
751
-
752
- experimental type AttributionReportingSourceRegistrationTimeConfig extends string
753
- enum
754
- include
755
- exclude
756
-
757
- experimental type AttributionReportingAggregatableValueDictEntry extends object
758
- properties
759
- string key
760
- # number instead of integer because not all uint32 can be represented by
761
- # int
762
- number value
763
- UnsignedInt64AsBase10 filteringId
764
-
765
-
766
- experimental type AttributionReportingAggregatableValueEntry extends object
767
- properties
768
- array of AttributionReportingAggregatableValueDictEntry values
769
- AttributionReportingFilterPair filters
770
-
771
- experimental type AttributionReportingEventTriggerData extends object
772
- properties
773
- UnsignedInt64AsBase10 data
774
- SignedInt64AsBase10 priority
775
- optional UnsignedInt64AsBase10 dedupKey
776
- AttributionReportingFilterPair filters
777
-
778
- experimental type AttributionReportingAggregatableTriggerData extends object
779
- properties
780
- UnsignedInt128AsBase16 keyPiece
781
- array of string sourceKeys
782
- AttributionReportingFilterPair filters
783
-
784
- experimental type AttributionReportingAggregatableDedupKey extends object
785
- properties
786
- optional UnsignedInt64AsBase10 dedupKey
787
- AttributionReportingFilterPair filters
788
-
789
- experimental type AttributionReportingNamedBudgetCandidate extends object
790
- properties
791
- optional string name
792
- AttributionReportingFilterPair filters
793
-
794
- experimental type AttributionReportingTriggerRegistration extends object
795
- properties
796
- AttributionReportingFilterPair filters
797
- optional UnsignedInt64AsBase10 debugKey
798
- array of AttributionReportingAggregatableDedupKey aggregatableDedupKeys
799
- array of AttributionReportingEventTriggerData eventTriggerData
800
- array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
801
- array of AttributionReportingAggregatableValueEntry aggregatableValues
802
- integer aggregatableFilteringIdMaxBytes
803
- boolean debugReporting
804
- optional string aggregationCoordinatorOrigin
805
- AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
806
- optional string triggerContextId
807
- AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
808
- array of string scopes
809
- array of AttributionReportingNamedBudgetCandidate namedBudgets
810
-
811
- experimental type AttributionReportingEventLevelResult extends string
812
- enum
813
- success
814
- successDroppedLowerPriority
815
- internalError
816
- noCapacityForAttributionDestination
817
- noMatchingSources
818
- deduplicated
819
- excessiveAttributions
820
- priorityTooLow
821
- neverAttributedSource
822
- excessiveReportingOrigins
823
- noMatchingSourceFilterData
824
- prohibitedByBrowserPolicy
825
- noMatchingConfigurations
826
- excessiveReports
827
- falselyAttributedSource
828
- reportWindowPassed
829
- notRegistered
830
- reportWindowNotStarted
831
- noMatchingTriggerData
832
-
833
- experimental type AttributionReportingAggregatableResult extends string
834
- enum
835
- success
836
- internalError
837
- noCapacityForAttributionDestination
838
- noMatchingSources
839
- excessiveAttributions
840
- excessiveReportingOrigins
841
- noHistograms
842
- insufficientBudget
843
- insufficientNamedBudget
844
- noMatchingSourceFilterData
845
- notRegistered
846
- prohibitedByBrowserPolicy
847
- deduplicated
848
- reportWindowPassed
849
- excessiveReports
850
-
851
- experimental event attributionReportingTriggerRegistered
852
- parameters
853
- AttributionReportingTriggerRegistration registration
854
- AttributionReportingEventLevelResult eventLevel
855
- AttributionReportingAggregatableResult aggregatable
856
-
857
- experimental type AttributionReportingReportResult extends string
858
- enum
859
- # A network request was attempted for the report.
860
- sent
861
- # No request was attempted because of browser policy.
862
- prohibited
863
- # No request was attempted because of an error in report assembly,
864
- # e.g. the aggregation service was unavailable.
865
- failedToAssemble
866
- # No request was attempted because the report's expiry passed.
867
- expired
868
-
869
- experimental event attributionReportingReportSent
870
- parameters
871
- string url
872
- object body
873
- AttributionReportingReportResult result
874
- # If result is `sent`, populated with net/HTTP status.
875
- optional integer netError
876
- optional string netErrorName
877
- optional integer httpStatusCode
878
-
879
- experimental event attributionReportingVerboseDebugReportSent
880
- parameters
881
- string url
882
- optional array of object body
883
- optional integer netError
884
- optional string netErrorName
885
- optional integer httpStatusCode
886
-
887
609
  # A single Related Website Set object.
888
610
  experimental type RelatedWebsiteSet extends object
889
611
  properties
@@ -48,6 +48,9 @@ experimental domain WebMCP
48
48
  # all currently registered tools.
49
49
  command enable
50
50
 
51
+ # Disables the WebMCP domain.
52
+ command disable
53
+
51
54
  # Event fired when new tools are added.
52
55
  event toolsAdded
53
56
  parameters
@@ -80,7 +83,7 @@ experimental domain WebMCP
80
83
  # Status of the invocation.
81
84
  InvocationStatus status
82
85
  # Output or error delivered as delivered to the agent. Missing if `status` is anything other than Success.
83
- optional object output
86
+ optional any output
84
87
  # Error text for protocol users.
85
88
  optional string errorText
86
89
  # The exception object, if the javascript tool threw an error>
@@ -976,22 +976,6 @@ export namespace ProtocolMapping {
976
976
  'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
977
977
  'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
978
978
  'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
979
- /**
980
- * @experimental
981
- */
982
- 'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
983
- /**
984
- * @experimental
985
- */
986
- 'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
987
- /**
988
- * @experimental
989
- */
990
- 'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
991
- /**
992
- * @experimental
993
- */
994
- 'Storage.attributionReportingVerboseDebugReportSent': [Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent];
995
979
  /**
996
980
  * Issued when attached to target because of auto-attach or `attachToTarget` command.
997
981
  * @experimental
@@ -5929,31 +5913,6 @@ export namespace ProtocolMapping {
5929
5913
  paramsType: [];
5930
5914
  returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
5931
5915
  };
5932
- /**
5933
- * https://wicg.github.io/attribution-reporting-api/
5934
- * @experimental
5935
- */
5936
- 'Storage.setAttributionReportingLocalTestingMode': {
5937
- paramsType: [Protocol.Storage.SetAttributionReportingLocalTestingModeRequest];
5938
- returnType: void;
5939
- };
5940
- /**
5941
- * Enables/disables issuing of Attribution Reporting events.
5942
- * @experimental
5943
- */
5944
- 'Storage.setAttributionReportingTracking': {
5945
- paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
5946
- returnType: void;
5947
- };
5948
- /**
5949
- * Sends all pending Attribution Reports immediately, regardless of their
5950
- * scheduled report time.
5951
- * @experimental
5952
- */
5953
- 'Storage.sendPendingAttributionReports': {
5954
- paramsType: [];
5955
- returnType: Protocol.Storage.SendPendingAttributionReportsResponse;
5956
- };
5957
5916
  /**
5958
5917
  * Returns the effective Related Website Sets in use by this profile for the browser
5959
5918
  * session. The effective Related Website Sets will not change during a browser session.
@@ -6349,6 +6308,13 @@ export namespace ProtocolMapping {
6349
6308
  paramsType: [];
6350
6309
  returnType: void;
6351
6310
  };
6311
+ /**
6312
+ * Disables the WebMCP domain.
6313
+ */
6314
+ 'WebMCP.disable': {
6315
+ paramsType: [];
6316
+ returnType: void;
6317
+ };
6352
6318
  }
6353
6319
  }
6354
6320
 
@@ -4954,25 +4954,6 @@ export namespace ProtocolProxyApi {
4954
4954
  */
4955
4955
  runBounceTrackingMitigations(): Promise<Protocol.Storage.RunBounceTrackingMitigationsResponse>;
4956
4956
 
4957
- /**
4958
- * https://wicg.github.io/attribution-reporting-api/
4959
- * @experimental
4960
- */
4961
- setAttributionReportingLocalTestingMode(params: Protocol.Storage.SetAttributionReportingLocalTestingModeRequest): Promise<void>;
4962
-
4963
- /**
4964
- * Enables/disables issuing of Attribution Reporting events.
4965
- * @experimental
4966
- */
4967
- setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<void>;
4968
-
4969
- /**
4970
- * Sends all pending Attribution Reports immediately, regardless of their
4971
- * scheduled report time.
4972
- * @experimental
4973
- */
4974
- sendPendingAttributionReports(): Promise<Protocol.Storage.SendPendingAttributionReportsResponse>;
4975
-
4976
4957
  /**
4977
4958
  * Returns the effective Related Website Sets in use by this profile for the browser
4978
4959
  * session. The effective Related Website Sets will not change during a browser session.
@@ -5046,26 +5027,6 @@ export namespace ProtocolProxyApi {
5046
5027
 
5047
5028
  on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
5048
5029
 
5049
- /**
5050
- * @experimental
5051
- */
5052
- on(event: 'attributionReportingSourceRegistered', listener: (params: Protocol.Storage.AttributionReportingSourceRegisteredEvent) => void): void;
5053
-
5054
- /**
5055
- * @experimental
5056
- */
5057
- on(event: 'attributionReportingTriggerRegistered', listener: (params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent) => void): void;
5058
-
5059
- /**
5060
- * @experimental
5061
- */
5062
- on(event: 'attributionReportingReportSent', listener: (params: Protocol.Storage.AttributionReportingReportSentEvent) => void): void;
5063
-
5064
- /**
5065
- * @experimental
5066
- */
5067
- on(event: 'attributionReportingVerboseDebugReportSent', listener: (params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent) => void): void;
5068
-
5069
5030
  }
5070
5031
 
5071
5032
  export interface SystemInfoApi {
@@ -5515,6 +5476,11 @@ export namespace ProtocolProxyApi {
5515
5476
  */
5516
5477
  enable(): Promise<void>;
5517
5478
 
5479
+ /**
5480
+ * Disables the WebMCP domain.
5481
+ */
5482
+ disable(): Promise<void>;
5483
+
5518
5484
  /**
5519
5485
  * Event fired when new tools are added.
5520
5486
  */
@@ -5342,25 +5342,6 @@ export namespace ProtocolTestsProxyApi {
5342
5342
  */
5343
5343
  runBounceTrackingMitigations(): Promise<{id: number, result: Protocol.Storage.RunBounceTrackingMitigationsResponse, sessionId: string}>;
5344
5344
 
5345
- /**
5346
- * https://wicg.github.io/attribution-reporting-api/
5347
- * @experimental
5348
- */
5349
- setAttributionReportingLocalTestingMode(params: Protocol.Storage.SetAttributionReportingLocalTestingModeRequest): Promise<{id: number, result: void, sessionId: string}>;
5350
-
5351
- /**
5352
- * Enables/disables issuing of Attribution Reporting events.
5353
- * @experimental
5354
- */
5355
- setAttributionReportingTracking(params: Protocol.Storage.SetAttributionReportingTrackingRequest): Promise<{id: number, result: void, sessionId: string}>;
5356
-
5357
- /**
5358
- * Sends all pending Attribution Reports immediately, regardless of their
5359
- * scheduled report time.
5360
- * @experimental
5361
- */
5362
- sendPendingAttributionReports(): Promise<{id: number, result: Protocol.Storage.SendPendingAttributionReportsResponse, sessionId: string}>;
5363
-
5364
5345
  /**
5365
5346
  * Returns the effective Related Website Sets in use by this profile for the browser
5366
5347
  * session. The effective Related Website Sets will not change during a browser session.
@@ -5456,34 +5437,6 @@ export namespace ProtocolTestsProxyApi {
5456
5437
  offStorageBucketDeleted(listener: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => void): void;
5457
5438
  onceStorageBucketDeleted(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketDeletedEvent }>;
5458
5439
 
5459
- /**
5460
- * @experimental
5461
- */
5462
- onAttributionReportingSourceRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingSourceRegisteredEvent }) => void): void;
5463
- offAttributionReportingSourceRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingSourceRegisteredEvent }) => void): void;
5464
- onceAttributionReportingSourceRegistered(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingSourceRegisteredEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingSourceRegisteredEvent }>;
5465
-
5466
- /**
5467
- * @experimental
5468
- */
5469
- onAttributionReportingTriggerRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => void): void;
5470
- offAttributionReportingTriggerRegistered(listener: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => void): void;
5471
- onceAttributionReportingTriggerRegistered(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingTriggerRegisteredEvent }>;
5472
-
5473
- /**
5474
- * @experimental
5475
- */
5476
- onAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
5477
- offAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
5478
- onceAttributionReportingReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingReportSentEvent }>;
5479
-
5480
- /**
5481
- * @experimental
5482
- */
5483
- onAttributionReportingVerboseDebugReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => void): void;
5484
- offAttributionReportingVerboseDebugReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => void): void;
5485
- onceAttributionReportingVerboseDebugReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }>;
5486
-
5487
5440
  }
5488
5441
 
5489
5442
  export interface SystemInfoApi {
@@ -5989,6 +5942,11 @@ export namespace ProtocolTestsProxyApi {
5989
5942
  */
5990
5943
  enable(): Promise<{id: number, result: void, sessionId: string}>;
5991
5944
 
5945
+ /**
5946
+ * Disables the WebMCP domain.
5947
+ */
5948
+ disable(): Promise<{id: number, result: void, sessionId: string}>;
5949
+
5992
5950
  /**
5993
5951
  * Event fired when new tools are added.
5994
5952
  */