devtools-protocol 0.0.1378738 → 0.0.1380148

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.
@@ -4889,7 +4889,7 @@
4889
4889
  },
4890
4890
  {
4891
4891
  "name": "trackComputedStyleUpdatesForNode",
4892
- "description": "Starts tracking the given node for the computed style updates\nand whenever the computed style is updated for node, it queues\na `computedStyleUpdated` event with throttling.",
4892
+ "description": "Starts tracking the given node for the computed style updates\nand whenever the computed style is updated for node, it queues\na `computedStyleUpdated` event with throttling.\nThere can only be 1 node tracked for computed style updates\nso passing a new node id removes tracking from the previous node.\nPass `undefined` to disable tracking.",
4893
4893
  "experimental": true,
4894
4894
  "parameters": [
4895
4895
  {
@@ -12421,7 +12421,7 @@
12421
12421
  },
12422
12422
  {
12423
12423
  "id": "RequestId",
12424
- "description": "Unique request identifier.",
12424
+ "description": "Unique network request identifier.\nNote that this does not identify individual HTTP requests that are part of\na network request.",
12425
12425
  "type": "string"
12426
12426
  },
12427
12427
  {
@@ -13369,7 +13369,7 @@
13369
13369
  },
13370
13370
  {
13371
13371
  "name": "stack",
13372
- "description": "Initiator JavaScript stack trace, set for Script only.",
13372
+ "description": "Initiator JavaScript stack trace, set for Script only.\nRequires the Debugger domain to be enabled.",
13373
13373
  "optional": true,
13374
13374
  "$ref": "Runtime.StackTrace"
13375
13375
  },
@@ -13565,7 +13565,9 @@
13565
13565
  "SchemefulSameSiteLax",
13566
13566
  "SchemefulSameSiteUnspecifiedTreatedAsLax",
13567
13567
  "SamePartyFromCrossPartyContext",
13568
- "NameValuePairExceedsMaxSize"
13568
+ "NameValuePairExceedsMaxSize",
13569
+ "PortMismatch",
13570
+ "SchemeMismatch"
13569
13571
  ]
13570
13572
  },
13571
13573
  {
@@ -20318,7 +20320,7 @@
20318
20320
  },
20319
20321
  {
20320
20322
  "name": "lifecycleEvent",
20321
- "description": "Fired for top level page lifecycle events such as navigation, load, paint, etc.",
20323
+ "description": "Fired for lifecycle events (navigation, load, paint, etc) in the current\ntarget (including local frames).",
20322
20324
  "parameters": [
20323
20325
  {
20324
20326
  "name": "frameId",
@@ -22365,6 +22367,7 @@
22365
22367
  "excessiveReportingOrigins",
22366
22368
  "noHistograms",
22367
22369
  "insufficientBudget",
22370
+ "insufficientNamedBudget",
22368
22371
  "noMatchingSourceFilterData",
22369
22372
  "notRegistered",
22370
22373
  "prohibitedByBrowserPolicy",
@@ -24532,7 +24535,7 @@
24532
24535
  "types": [
24533
24536
  {
24534
24537
  "id": "RequestId",
24535
- "description": "Unique request identifier.",
24538
+ "description": "Unique request identifier.\nNote that this does not identify individual HTTP requests that are part of\na network request.",
24536
24539
  "type": "string"
24537
24540
  },
24538
24541
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1378738",
3
+ "version": "0.0.1380148",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2322,6 +2322,9 @@ experimental domain CSS
2322
2322
  # Starts tracking the given node for the computed style updates
2323
2323
  # and whenever the computed style is updated for node, it queues
2324
2324
  # a `computedStyleUpdated` event with throttling.
2325
+ # There can only be 1 node tracked for computed style updates
2326
+ # so passing a new node id removes tracking from the previous node.
2327
+ # Pass `undefined` to disable tracking.
2325
2328
  experimental command trackComputedStyleUpdatesForNode
2326
2329
  parameters
2327
2330
  optional DOM.NodeId nodeId
@@ -5704,7 +5707,9 @@ domain Network
5704
5707
  # Unique loader identifier.
5705
5708
  type LoaderId extends string
5706
5709
 
5707
- # Unique request identifier.
5710
+ # Unique network request identifier.
5711
+ # Note that this does not identify individual HTTP requests that are part of
5712
+ # a network request.
5708
5713
  type RequestId extends string
5709
5714
 
5710
5715
  # Unique intercepted request identifier.
@@ -6218,6 +6223,7 @@ domain Network
6218
6223
  preflight
6219
6224
  other
6220
6225
  # Initiator JavaScript stack trace, set for Script only.
6226
+ # Requires the Debugger domain to be enabled.
6221
6227
  optional Runtime.StackTrace stack
6222
6228
  # Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
6223
6229
  optional string url
@@ -6397,6 +6403,10 @@ domain Network
6397
6403
  # The cookie's name/value pair size exceeded the size limit defined in
6398
6404
  # RFC6265bis.
6399
6405
  NameValuePairExceedsMaxSize
6406
+ # The cookie's source port value does not match the request origin's port.
6407
+ PortMismatch
6408
+ # The cookie's source scheme value does not match the request origin's scheme.
6409
+ SchemeMismatch
6400
6410
 
6401
6411
  # Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
6402
6412
  experimental type CookieExemptionReason extends string
@@ -9397,7 +9407,8 @@ domain Page
9397
9407
  # Default dialog prompt.
9398
9408
  optional string defaultPrompt
9399
9409
 
9400
- # Fired for top level page lifecycle events such as navigation, load, paint, etc.
9410
+ # Fired for lifecycle events (navigation, load, paint, etc) in the current
9411
+ # target (including local frames).
9401
9412
  event lifecycleEvent
9402
9413
  parameters
9403
9414
  # Id of the frame.
@@ -10859,6 +10870,7 @@ experimental domain Storage
10859
10870
  excessiveReportingOrigins
10860
10871
  noHistograms
10861
10872
  insufficientBudget
10873
+ insufficientNamedBudget
10862
10874
  noMatchingSourceFilterData
10863
10875
  notRegistered
10864
10876
  prohibitedByBrowserPolicy
@@ -11497,6 +11509,8 @@ domain Fetch
11497
11509
  depends on Page
11498
11510
 
11499
11511
  # Unique request identifier.
11512
+ # Note that this does not identify individual HTTP requests that are part of
11513
+ # a network request.
11500
11514
  type RequestId extends string
11501
11515
 
11502
11516
  # Stages of the request to handle. Request will intercept before the request is
@@ -500,7 +500,8 @@ export namespace ProtocolMapping {
500
500
  */
501
501
  'Page.javascriptDialogOpening': [Protocol.Page.JavascriptDialogOpeningEvent];
502
502
  /**
503
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
503
+ * Fired for lifecycle events (navigation, load, paint, etc) in the current
504
+ * target (including local frames).
504
505
  */
505
506
  'Page.lifecycleEvent': [Protocol.Page.LifecycleEventEvent];
506
507
  /**
@@ -1876,6 +1877,9 @@ export namespace ProtocolMapping {
1876
1877
  * Starts tracking the given node for the computed style updates
1877
1878
  * and whenever the computed style is updated for node, it queues
1878
1879
  * a `computedStyleUpdated` event with throttling.
1880
+ * There can only be 1 node tracked for computed style updates
1881
+ * so passing a new node id removes tracking from the previous node.
1882
+ * Pass `undefined` to disable tracking.
1879
1883
  */
1880
1884
  'CSS.trackComputedStyleUpdatesForNode': {
1881
1885
  paramsType: [Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest?];
@@ -1106,6 +1106,9 @@ export namespace ProtocolProxyApi {
1106
1106
  * Starts tracking the given node for the computed style updates
1107
1107
  * and whenever the computed style is updated for node, it queues
1108
1108
  * a `computedStyleUpdated` event with throttling.
1109
+ * There can only be 1 node tracked for computed style updates
1110
+ * so passing a new node id removes tracking from the previous node.
1111
+ * Pass `undefined` to disable tracking.
1109
1112
  */
1110
1113
  trackComputedStyleUpdatesForNode(params: Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest): Promise<void>;
1111
1114
 
@@ -3311,7 +3314,8 @@ export namespace ProtocolProxyApi {
3311
3314
  on(event: 'javascriptDialogOpening', listener: (params: Protocol.Page.JavascriptDialogOpeningEvent) => void): void;
3312
3315
 
3313
3316
  /**
3314
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
3317
+ * Fired for lifecycle events (navigation, load, paint, etc) in the current
3318
+ * target (including local frames).
3315
3319
  */
3316
3320
  on(event: 'lifecycleEvent', listener: (params: Protocol.Page.LifecycleEventEvent) => void): void;
3317
3321
 
@@ -1174,6 +1174,9 @@ export namespace ProtocolTestsProxyApi {
1174
1174
  * Starts tracking the given node for the computed style updates
1175
1175
  * and whenever the computed style is updated for node, it queues
1176
1176
  * a `computedStyleUpdated` event with throttling.
1177
+ * There can only be 1 node tracked for computed style updates
1178
+ * so passing a new node id removes tracking from the previous node.
1179
+ * Pass `undefined` to disable tracking.
1177
1180
  */
1178
1181
  trackComputedStyleUpdatesForNode(params: Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest): Promise<{id: number, result: void, sessionId: string}>;
1179
1182
 
@@ -3563,7 +3566,8 @@ export namespace ProtocolTestsProxyApi {
3563
3566
  onceJavascriptDialogOpening(eventMatcher?: (event: { params: Protocol.Page.JavascriptDialogOpeningEvent }) => boolean): Promise<{ params: Protocol.Page.JavascriptDialogOpeningEvent }>;
3564
3567
 
3565
3568
  /**
3566
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
3569
+ * Fired for lifecycle events (navigation, load, paint, etc) in the current
3570
+ * target (including local frames).
3567
3571
  */
3568
3572
  onLifecycleEvent(listener: (event: { params: Protocol.Page.LifecycleEventEvent }) => void): void;
3569
3573
  offLifecycleEvent(listener: (event: { params: Protocol.Page.LifecycleEventEvent }) => void): void;
@@ -10291,7 +10291,9 @@ export namespace Protocol {
10291
10291
  export type LoaderId = string;
10292
10292
 
10293
10293
  /**
10294
- * Unique request identifier.
10294
+ * Unique network request identifier.
10295
+ * Note that this does not identify individual HTTP requests that are part of
10296
+ * a network request.
10295
10297
  */
10296
10298
  export type RequestId = string;
10297
10299
 
@@ -10924,6 +10926,7 @@ export namespace Protocol {
10924
10926
  type: ('parser' | 'script' | 'preload' | 'SignedExchange' | 'preflight' | 'other');
10925
10927
  /**
10926
10928
  * Initiator JavaScript stack trace, set for Script only.
10929
+ * Requires the Debugger domain to be enabled.
10927
10930
  */
10928
10931
  stack?: Runtime.StackTrace;
10929
10932
  /**
@@ -11042,7 +11045,7 @@ export namespace Protocol {
11042
11045
  /**
11043
11046
  * Types of reasons why a cookie may not be sent with a request.
11044
11047
  */
11045
- export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize');
11048
+ export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'SamePartyFromCrossPartyContext' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch');
11046
11049
 
11047
11050
  /**
11048
11051
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
@@ -15173,7 +15176,8 @@ export namespace Protocol {
15173
15176
  }
15174
15177
 
15175
15178
  /**
15176
- * Fired for top level page lifecycle events such as navigation, load, paint, etc.
15179
+ * Fired for lifecycle events (navigation, load, paint, etc) in the current
15180
+ * target (including local frames).
15177
15181
  */
15178
15182
  export interface LifecycleEventEvent {
15179
15183
  /**
@@ -16220,7 +16224,7 @@ export namespace Protocol {
16220
16224
 
16221
16225
  export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
16222
16226
 
16223
- export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
16227
+ export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
16224
16228
 
16225
16229
  /**
16226
16230
  * A single Related Website Set object.
@@ -17572,6 +17576,8 @@ export namespace Protocol {
17572
17576
 
17573
17577
  /**
17574
17578
  * Unique request identifier.
17579
+ * Note that this does not identify individual HTTP requests that are part of
17580
+ * a network request.
17575
17581
  */
17576
17582
  export type RequestId = string;
17577
17583