devtools-protocol 0.0.1252439 → 0.0.1253724

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.
@@ -12770,6 +12770,23 @@
12770
12770
  "NameValuePairExceedsMaxSize"
12771
12771
  ]
12772
12772
  },
12773
+ {
12774
+ "id": "CookieExemptionReason",
12775
+ "description": "Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.",
12776
+ "experimental": true,
12777
+ "type": "string",
12778
+ "enum": [
12779
+ "None",
12780
+ "UserSetting",
12781
+ "TPCDMetadata",
12782
+ "TPCDDeprecationTrial",
12783
+ "TPCDHeuristics",
12784
+ "EnterprisePolicy",
12785
+ "StorageAccess",
12786
+ "TopLevelStorageAccess",
12787
+ "BrowserHeuristics"
12788
+ ]
12789
+ },
12773
12790
  {
12774
12791
  "id": "BlockedSetCookieWithReason",
12775
12792
  "description": "A cookie which was not stored from a response with the corresponding reason.",
@@ -12798,23 +12815,47 @@
12798
12815
  ]
12799
12816
  },
12800
12817
  {
12801
- "id": "BlockedCookieWithReason",
12802
- "description": "A cookie with was not sent with a request with the corresponding reason.",
12818
+ "id": "ExemptedSetCookieWithReason",
12819
+ "description": "A cookie should have been blocked by 3PCD but is exempted and stored from a response with the\ncorresponding reason. A cookie could only have at most one exemption reason.",
12803
12820
  "experimental": true,
12804
12821
  "type": "object",
12805
12822
  "properties": [
12823
+ {
12824
+ "name": "exemptionReason",
12825
+ "description": "The reason the cookie was exempted.",
12826
+ "$ref": "CookieExemptionReason"
12827
+ },
12828
+ {
12829
+ "name": "cookie",
12830
+ "description": "The cookie object representing the cookie.",
12831
+ "$ref": "Cookie"
12832
+ }
12833
+ ]
12834
+ },
12835
+ {
12836
+ "id": "AssociatedCookie",
12837
+ "description": "A cookie associated with the request which may or may not be sent with it.\nIncludes the cookies itself and reasons for blocking or exemption.",
12838
+ "experimental": true,
12839
+ "type": "object",
12840
+ "properties": [
12841
+ {
12842
+ "name": "cookie",
12843
+ "description": "The cookie object representing the cookie which was not sent.",
12844
+ "$ref": "Cookie"
12845
+ },
12806
12846
  {
12807
12847
  "name": "blockedReasons",
12808
- "description": "The reason(s) the cookie was blocked.",
12848
+ "description": "The reason(s) the cookie was blocked. If empty means the cookie is included.",
12809
12849
  "type": "array",
12810
12850
  "items": {
12811
12851
  "$ref": "CookieBlockedReason"
12812
12852
  }
12813
12853
  },
12814
12854
  {
12815
- "name": "cookie",
12816
- "description": "The cookie object representing the cookie which was not sent.",
12817
- "$ref": "Cookie"
12855
+ "name": "exemptionReason",
12856
+ "description": "The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could\nonly have at most one exemption reason.",
12857
+ "optional": true,
12858
+ "$ref": "CookieExemptionReason"
12818
12859
  }
12819
12860
  ]
12820
12861
  },
@@ -14805,10 +14846,10 @@
14805
14846
  },
14806
14847
  {
14807
14848
  "name": "associatedCookies",
14808
- "description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having blockedReason field set.",
14849
+ "description": "A list of cookies potentially associated to the requested URL. This includes both cookies sent with\nthe request and the ones not sent; the latter are distinguished by having blockedReasons field set.",
14809
14850
  "type": "array",
14810
14851
  "items": {
14811
- "$ref": "BlockedCookieWithReason"
14852
+ "$ref": "AssociatedCookie"
14812
14853
  }
14813
14854
  },
14814
14855
  {
@@ -14886,6 +14927,15 @@
14886
14927
  "description": "True if partitioned cookies are enabled, but the partition key is not serializeable to string.",
14887
14928
  "optional": true,
14888
14929
  "type": "boolean"
14930
+ },
14931
+ {
14932
+ "name": "exemptedCookies",
14933
+ "description": "A list of cookies which should have been blocked by 3PCD but are exempted and stored from\nthe response with the corresponding reason.",
14934
+ "optional": true,
14935
+ "type": "array",
14936
+ "items": {
14937
+ "$ref": "ExemptedSetCookieWithReason"
14938
+ }
14889
14939
  }
14890
14940
  ]
14891
14941
  },
@@ -22722,7 +22772,6 @@
22722
22772
  },
22723
22773
  {
22724
22774
  "domain": "Tracing",
22725
- "experimental": true,
22726
22775
  "dependencies": [
22727
22776
  "IO"
22728
22777
  ],
@@ -22730,6 +22779,7 @@
22730
22779
  {
22731
22780
  "id": "MemoryDumpConfig",
22732
22781
  "description": "Configuration for memory dump. Used only when \"memory-infra\" category is enabled.",
22782
+ "experimental": true,
22733
22783
  "type": "object"
22734
22784
  },
22735
22785
  {
@@ -22739,6 +22789,7 @@
22739
22789
  {
22740
22790
  "name": "recordMode",
22741
22791
  "description": "Controls how the trace buffer stores data.",
22792
+ "experimental": true,
22742
22793
  "optional": true,
22743
22794
  "type": "string",
22744
22795
  "enum": [
@@ -22751,24 +22802,28 @@
22751
22802
  {
22752
22803
  "name": "traceBufferSizeInKb",
22753
22804
  "description": "Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value\nof 200 MB would be used.",
22805
+ "experimental": true,
22754
22806
  "optional": true,
22755
22807
  "type": "number"
22756
22808
  },
22757
22809
  {
22758
22810
  "name": "enableSampling",
22759
22811
  "description": "Turns on JavaScript stack sampling.",
22812
+ "experimental": true,
22760
22813
  "optional": true,
22761
22814
  "type": "boolean"
22762
22815
  },
22763
22816
  {
22764
22817
  "name": "enableSystrace",
22765
22818
  "description": "Turns on system tracing.",
22819
+ "experimental": true,
22766
22820
  "optional": true,
22767
22821
  "type": "boolean"
22768
22822
  },
22769
22823
  {
22770
22824
  "name": "enableArgumentFilter",
22771
22825
  "description": "Turns on argument filter.",
22826
+ "experimental": true,
22772
22827
  "optional": true,
22773
22828
  "type": "boolean"
22774
22829
  },
@@ -22793,6 +22848,7 @@
22793
22848
  {
22794
22849
  "name": "syntheticDelays",
22795
22850
  "description": "Configuration to synthesize the delays in tracing.",
22851
+ "experimental": true,
22796
22852
  "optional": true,
22797
22853
  "type": "array",
22798
22854
  "items": {
@@ -22802,6 +22858,7 @@
22802
22858
  {
22803
22859
  "name": "memoryDumpConfig",
22804
22860
  "description": "Configuration for memory dump triggers. Used only when \"memory-infra\" category is enabled.",
22861
+ "experimental": true,
22805
22862
  "optional": true,
22806
22863
  "$ref": "MemoryDumpConfig"
22807
22864
  }
@@ -22810,6 +22867,7 @@
22810
22867
  {
22811
22868
  "id": "StreamFormat",
22812
22869
  "description": "Data format of a trace. Can be either the legacy JSON format or the\nprotocol buffer format. Note that the JSON format will be deprecated soon.",
22870
+ "experimental": true,
22813
22871
  "type": "string",
22814
22872
  "enum": [
22815
22873
  "json",
@@ -22819,6 +22877,7 @@
22819
22877
  {
22820
22878
  "id": "StreamCompression",
22821
22879
  "description": "Compression type to use for traces returned via streams.",
22880
+ "experimental": true,
22822
22881
  "type": "string",
22823
22882
  "enum": [
22824
22883
  "none",
@@ -22828,6 +22887,7 @@
22828
22887
  {
22829
22888
  "id": "MemoryDumpLevelOfDetail",
22830
22889
  "description": "Details exposed when memory request explicitly declared.\nKeep consistent with memory_dump_request_args.h and\nmemory_instrumentation.mojom",
22890
+ "experimental": true,
22831
22891
  "type": "string",
22832
22892
  "enum": [
22833
22893
  "background",
@@ -22838,6 +22898,7 @@
22838
22898
  {
22839
22899
  "id": "TracingBackend",
22840
22900
  "description": "Backend type to use for tracing. `chrome` uses the Chrome-integrated\ntracing service and is supported on all platforms. `system` is only\nsupported on Chrome OS and uses the Perfetto system tracing service.\n`auto` chooses `system` when the perfettoConfig provided to Tracing.start\nspecifies at least one non-Chrome data source; otherwise uses `chrome`.",
22901
+ "experimental": true,
22841
22902
  "type": "string",
22842
22903
  "enum": [
22843
22904
  "auto",
@@ -22854,6 +22915,7 @@
22854
22915
  {
22855
22916
  "name": "getCategories",
22856
22917
  "description": "Gets supported tracing categories.",
22918
+ "experimental": true,
22857
22919
  "returns": [
22858
22920
  {
22859
22921
  "name": "categories",
@@ -22868,6 +22930,7 @@
22868
22930
  {
22869
22931
  "name": "recordClockSyncMarker",
22870
22932
  "description": "Record a clock sync marker in the trace.",
22933
+ "experimental": true,
22871
22934
  "parameters": [
22872
22935
  {
22873
22936
  "name": "syncId",
@@ -22879,6 +22942,7 @@
22879
22942
  {
22880
22943
  "name": "requestMemoryDump",
22881
22944
  "description": "Request a global memory dump.",
22945
+ "experimental": true,
22882
22946
  "parameters": [
22883
22947
  {
22884
22948
  "name": "deterministic",
@@ -22913,6 +22977,7 @@
22913
22977
  {
22914
22978
  "name": "categories",
22915
22979
  "description": "Category/tag filter",
22980
+ "experimental": true,
22916
22981
  "deprecated": true,
22917
22982
  "optional": true,
22918
22983
  "type": "string"
@@ -22920,6 +22985,7 @@
22920
22985
  {
22921
22986
  "name": "options",
22922
22987
  "description": "Tracing options",
22988
+ "experimental": true,
22923
22989
  "deprecated": true,
22924
22990
  "optional": true,
22925
22991
  "type": "string"
@@ -22927,6 +22993,7 @@
22927
22993
  {
22928
22994
  "name": "bufferUsageReportingInterval",
22929
22995
  "description": "If set, the agent will issue bufferUsage events at this interval, specified in milliseconds",
22996
+ "experimental": true,
22930
22997
  "optional": true,
22931
22998
  "type": "number"
22932
22999
  },
@@ -22949,6 +23016,7 @@
22949
23016
  {
22950
23017
  "name": "streamCompression",
22951
23018
  "description": "Compression format to use. This only applies when using `ReturnAsStream`\ntransfer mode (defaults to `none`)",
23019
+ "experimental": true,
22952
23020
  "optional": true,
22953
23021
  "$ref": "StreamCompression"
22954
23022
  },
@@ -22960,12 +23028,14 @@
22960
23028
  {
22961
23029
  "name": "perfettoConfig",
22962
23030
  "description": "Base64-encoded serialized perfetto.protos.TraceConfig protobuf message\nWhen specified, the parameters `categories`, `options`, `traceConfig`\nare ignored. (Encoded as a base64 string when passed over JSON)",
23031
+ "experimental": true,
22963
23032
  "optional": true,
22964
23033
  "type": "string"
22965
23034
  },
22966
23035
  {
22967
23036
  "name": "tracingBackend",
22968
23037
  "description": "Backend type (defaults to `auto`)",
23038
+ "experimental": true,
22969
23039
  "optional": true,
22970
23040
  "$ref": "TracingBackend"
22971
23041
  }
@@ -22975,6 +23045,7 @@
22975
23045
  "events": [
22976
23046
  {
22977
23047
  "name": "bufferUsage",
23048
+ "experimental": true,
22978
23049
  "parameters": [
22979
23050
  {
22980
23051
  "name": "percentFull",
@@ -22999,6 +23070,7 @@
22999
23070
  {
23000
23071
  "name": "dataCollected",
23001
23072
  "description": "Contains a bucket of collected trace events. When tracing is stopped collected events will be\nsent as a sequence of dataCollected events followed by tracingComplete event.",
23073
+ "experimental": true,
23002
23074
  "parameters": [
23003
23075
  {
23004
23076
  "name": "value",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1252439",
3
+ "version": "0.0.1253724",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -5991,6 +5991,28 @@ domain Network
5991
5991
  # RFC6265bis.
5992
5992
  NameValuePairExceedsMaxSize
5993
5993
 
5994
+ # Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
5995
+ experimental type CookieExemptionReason extends string
5996
+ enum
5997
+ # The default value. Cookie with this reason could either be blocked or included.
5998
+ None
5999
+ # The cookie should have been blocked by 3PCD but is exempted by explicit user setting.
6000
+ UserSetting
6001
+ # The cookie should have been blocked by 3PCD but is exempted by metadata mitigation.
6002
+ TPCDMetadata
6003
+ # The cookie should have been blocked by 3PCD but is exempted by Deprecation Trial mitigation.
6004
+ TPCDDeprecationTrial
6005
+ # The cookie should have been blocked by 3PCD but is exempted by heuristics mitigation.
6006
+ TPCDHeuristics
6007
+ # The cookie should have been blocked by 3PCD but is exempted by Enterprise Policy.
6008
+ EnterprisePolicy
6009
+ # The cookie should have been blocked by 3PCD but is exempted by Storage Access API.
6010
+ StorageAccess
6011
+ # The cookie should have been blocked by 3PCD but is exempted by Top-level Storage Access API.
6012
+ TopLevelStorageAccess
6013
+ # The cookie should have been blocked by 3PCD but is exempted by browser heuristics.
6014
+ BrowserHeuristics
6015
+
5994
6016
  # A cookie which was not stored from a response with the corresponding reason.
5995
6017
  experimental type BlockedSetCookieWithReason extends object
5996
6018
  properties
@@ -6004,13 +6026,26 @@ domain Network
6004
6026
  # errors.
6005
6027
  optional Cookie cookie
6006
6028
 
6007
- # A cookie with was not sent with a request with the corresponding reason.
6008
- experimental type BlockedCookieWithReason extends object
6029
+ # A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
6030
+ # corresponding reason. A cookie could only have at most one exemption reason.
6031
+ experimental type ExemptedSetCookieWithReason extends object
6032
+ properties
6033
+ # The reason the cookie was exempted.
6034
+ CookieExemptionReason exemptionReason
6035
+ # The cookie object representing the cookie.
6036
+ Cookie cookie
6037
+
6038
+ # A cookie associated with the request which may or may not be sent with it.
6039
+ # Includes the cookies itself and reasons for blocking or exemption.
6040
+ experimental type AssociatedCookie extends object
6009
6041
  properties
6010
- # The reason(s) the cookie was blocked.
6011
- array of CookieBlockedReason blockedReasons
6012
6042
  # The cookie object representing the cookie which was not sent.
6013
6043
  Cookie cookie
6044
+ # The reason(s) the cookie was blocked. If empty means the cookie is included.
6045
+ array of CookieBlockedReason blockedReasons
6046
+ # The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
6047
+ # only have at most one exemption reason.
6048
+ optional CookieExemptionReason exemptionReason
6014
6049
 
6015
6050
  # Cookie parameter object
6016
6051
  type CookieParam extends object
@@ -6779,8 +6814,8 @@ domain Network
6779
6814
  # Request identifier. Used to match this information to an existing requestWillBeSent event.
6780
6815
  RequestId requestId
6781
6816
  # A list of cookies potentially associated to the requested URL. This includes both cookies sent with
6782
- # the request and the ones not sent; the latter are distinguished by having blockedReason field set.
6783
- array of BlockedCookieWithReason associatedCookies
6817
+ # the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
6818
+ array of AssociatedCookie associatedCookies
6784
6819
  # Raw request headers as they will be sent over the wire.
6785
6820
  Headers headers
6786
6821
  # Connection timing information for the request.
@@ -6818,6 +6853,9 @@ domain Network
6818
6853
  optional string cookiePartitionKey
6819
6854
  # True if partitioned cookies are enabled, but the partition key is not serializeable to string.
6820
6855
  optional boolean cookiePartitionKeyOpaque
6856
+ # A list of cookies which should have been blocked by 3PCD but are exempted and stored from
6857
+ # the response with the corresponding reason.
6858
+ optional array of ExemptedSetCookieWithReason exemptedCookies
6821
6859
 
6822
6860
  # Fired exactly once for each Trust Token operation. Depending on
6823
6861
  # the type of the operation and whether the operation succeeded or
@@ -10649,47 +10687,47 @@ experimental domain Tethering
10649
10687
  # Connection id to be used.
10650
10688
  string connectionId
10651
10689
 
10652
- experimental domain Tracing
10690
+ domain Tracing
10653
10691
  depends on IO
10654
10692
 
10655
10693
  # Configuration for memory dump. Used only when "memory-infra" category is enabled.
10656
- type MemoryDumpConfig extends object
10694
+ experimental type MemoryDumpConfig extends object
10657
10695
 
10658
10696
  type TraceConfig extends object
10659
10697
  properties
10660
10698
  # Controls how the trace buffer stores data.
10661
- optional enum recordMode
10699
+ experimental optional enum recordMode
10662
10700
  recordUntilFull
10663
10701
  recordContinuously
10664
10702
  recordAsMuchAsPossible
10665
10703
  echoToConsole
10666
10704
  # Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value
10667
10705
  # of 200 MB would be used.
10668
- optional number traceBufferSizeInKb
10706
+ experimental optional number traceBufferSizeInKb
10669
10707
  # Turns on JavaScript stack sampling.
10670
- optional boolean enableSampling
10708
+ experimental optional boolean enableSampling
10671
10709
  # Turns on system tracing.
10672
- optional boolean enableSystrace
10710
+ experimental optional boolean enableSystrace
10673
10711
  # Turns on argument filter.
10674
- optional boolean enableArgumentFilter
10712
+ experimental optional boolean enableArgumentFilter
10675
10713
  # Included category filters.
10676
10714
  optional array of string includedCategories
10677
10715
  # Excluded category filters.
10678
10716
  optional array of string excludedCategories
10679
10717
  # Configuration to synthesize the delays in tracing.
10680
- optional array of string syntheticDelays
10718
+ experimental optional array of string syntheticDelays
10681
10719
  # Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
10682
- optional MemoryDumpConfig memoryDumpConfig
10720
+ experimental optional MemoryDumpConfig memoryDumpConfig
10683
10721
 
10684
10722
  # Data format of a trace. Can be either the legacy JSON format or the
10685
10723
  # protocol buffer format. Note that the JSON format will be deprecated soon.
10686
- type StreamFormat extends string
10724
+ experimental type StreamFormat extends string
10687
10725
  enum
10688
10726
  json
10689
10727
  proto
10690
10728
 
10691
10729
  # Compression type to use for traces returned via streams.
10692
- type StreamCompression extends string
10730
+ experimental type StreamCompression extends string
10693
10731
  enum
10694
10732
  none
10695
10733
  gzip
@@ -10697,7 +10735,7 @@ experimental domain Tracing
10697
10735
  # Details exposed when memory request explicitly declared.
10698
10736
  # Keep consistent with memory_dump_request_args.h and
10699
10737
  # memory_instrumentation.mojom
10700
- type MemoryDumpLevelOfDetail extends string
10738
+ experimental type MemoryDumpLevelOfDetail extends string
10701
10739
  enum
10702
10740
  background
10703
10741
  light
@@ -10708,7 +10746,7 @@ experimental domain Tracing
10708
10746
  # supported on Chrome OS and uses the Perfetto system tracing service.
10709
10747
  # `auto` chooses `system` when the perfettoConfig provided to Tracing.start
10710
10748
  # specifies at least one non-Chrome data source; otherwise uses `chrome`.
10711
- type TracingBackend extends string
10749
+ experimental type TracingBackend extends string
10712
10750
  enum
10713
10751
  auto
10714
10752
  chrome
@@ -10718,19 +10756,19 @@ experimental domain Tracing
10718
10756
  command end
10719
10757
 
10720
10758
  # Gets supported tracing categories.
10721
- command getCategories
10759
+ experimental command getCategories
10722
10760
  returns
10723
10761
  # A list of supported tracing categories.
10724
10762
  array of string categories
10725
10763
 
10726
10764
  # Record a clock sync marker in the trace.
10727
- command recordClockSyncMarker
10765
+ experimental command recordClockSyncMarker
10728
10766
  parameters
10729
10767
  # The ID of this clock sync marker
10730
10768
  string syncId
10731
10769
 
10732
10770
  # Request a global memory dump.
10733
- command requestMemoryDump
10771
+ experimental command requestMemoryDump
10734
10772
  parameters
10735
10773
  # Enables more deterministic results by forcing garbage collection
10736
10774
  optional boolean deterministic
@@ -10746,11 +10784,11 @@ experimental domain Tracing
10746
10784
  command start
10747
10785
  parameters
10748
10786
  # Category/tag filter
10749
- deprecated optional string categories
10787
+ experimental deprecated optional string categories
10750
10788
  # Tracing options
10751
- deprecated optional string options
10789
+ experimental deprecated optional string options
10752
10790
  # If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
10753
- optional number bufferUsageReportingInterval
10791
+ experimental optional number bufferUsageReportingInterval
10754
10792
  # Whether to report trace events as series of dataCollected events or to save trace to a
10755
10793
  # stream (defaults to `ReportEvents`).
10756
10794
  optional enum transferMode
@@ -10761,16 +10799,16 @@ experimental domain Tracing
10761
10799
  optional StreamFormat streamFormat
10762
10800
  # Compression format to use. This only applies when using `ReturnAsStream`
10763
10801
  # transfer mode (defaults to `none`)
10764
- optional StreamCompression streamCompression
10802
+ experimental optional StreamCompression streamCompression
10765
10803
  optional TraceConfig traceConfig
10766
10804
  # Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
10767
10805
  # When specified, the parameters `categories`, `options`, `traceConfig`
10768
10806
  # are ignored.
10769
- optional binary perfettoConfig
10807
+ experimental optional binary perfettoConfig
10770
10808
  # Backend type (defaults to `auto`)
10771
- optional TracingBackend tracingBackend
10809
+ experimental optional TracingBackend tracingBackend
10772
10810
 
10773
- event bufferUsage
10811
+ experimental event bufferUsage
10774
10812
  parameters
10775
10813
  # A number in range [0..1] that indicates the used size of event buffer as a fraction of its
10776
10814
  # total size.
@@ -10783,7 +10821,7 @@ experimental domain Tracing
10783
10821
 
10784
10822
  # Contains a bucket of collected trace events. When tracing is stopped collected events will be
10785
10823
  # sent as a sequence of dataCollected events followed by tracingComplete event.
10786
- event dataCollected
10824
+ experimental event dataCollected
10787
10825
  parameters
10788
10826
  array of object value
10789
10827
 
@@ -10592,6 +10592,11 @@ export namespace Protocol {
10592
10592
  */
10593
10593
  export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
10594
10594
 
10595
+ /**
10596
+ * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
10597
+ */
10598
+ export type CookieExemptionReason = ('None' | 'UserSetting' | 'TPCDMetadata' | 'TPCDDeprecationTrial' | 'TPCDHeuristics' | 'EnterprisePolicy' | 'StorageAccess' | 'TopLevelStorageAccess' | 'BrowserHeuristics');
10599
+
10595
10600
  /**
10596
10601
  * A cookie which was not stored from a response with the corresponding reason.
10597
10602
  */
@@ -10614,17 +10619,38 @@ export namespace Protocol {
10614
10619
  }
10615
10620
 
10616
10621
  /**
10617
- * A cookie with was not sent with a request with the corresponding reason.
10622
+ * A cookie should have been blocked by 3PCD but is exempted and stored from a response with the
10623
+ * corresponding reason. A cookie could only have at most one exemption reason.
10618
10624
  */
10619
- export interface BlockedCookieWithReason {
10625
+ export interface ExemptedSetCookieWithReason {
10620
10626
  /**
10621
- * The reason(s) the cookie was blocked.
10627
+ * The reason the cookie was exempted.
10622
10628
  */
10623
- blockedReasons: CookieBlockedReason[];
10629
+ exemptionReason: CookieExemptionReason;
10630
+ /**
10631
+ * The cookie object representing the cookie.
10632
+ */
10633
+ cookie: Cookie;
10634
+ }
10635
+
10636
+ /**
10637
+ * A cookie associated with the request which may or may not be sent with it.
10638
+ * Includes the cookies itself and reasons for blocking or exemption.
10639
+ */
10640
+ export interface AssociatedCookie {
10624
10641
  /**
10625
10642
  * The cookie object representing the cookie which was not sent.
10626
10643
  */
10627
10644
  cookie: Cookie;
10645
+ /**
10646
+ * The reason(s) the cookie was blocked. If empty means the cookie is included.
10647
+ */
10648
+ blockedReasons: CookieBlockedReason[];
10649
+ /**
10650
+ * The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could
10651
+ * only have at most one exemption reason.
10652
+ */
10653
+ exemptionReason?: CookieExemptionReason;
10628
10654
  }
10629
10655
 
10630
10656
  /**
@@ -11954,9 +11980,9 @@ export namespace Protocol {
11954
11980
  requestId: RequestId;
11955
11981
  /**
11956
11982
  * A list of cookies potentially associated to the requested URL. This includes both cookies sent with
11957
- * the request and the ones not sent; the latter are distinguished by having blockedReason field set.
11983
+ * the request and the ones not sent; the latter are distinguished by having blockedReasons field set.
11958
11984
  */
11959
- associatedCookies: BlockedCookieWithReason[];
11985
+ associatedCookies: AssociatedCookie[];
11960
11986
  /**
11961
11987
  * Raw request headers as they will be sent over the wire.
11962
11988
  */
@@ -12020,6 +12046,11 @@ export namespace Protocol {
12020
12046
  * True if partitioned cookies are enabled, but the partition key is not serializeable to string.
12021
12047
  */
12022
12048
  cookiePartitionKeyOpaque?: boolean;
12049
+ /**
12050
+ * A list of cookies which should have been blocked by 3PCD but are exempted and stored from
12051
+ * the response with the corresponding reason.
12052
+ */
12053
+ exemptedCookies?: ExemptedSetCookieWithReason[];
12023
12054
  }
12024
12055
 
12025
12056
  export const enum TrustTokenOperationDoneEventStatus {