devtools-protocol 0.0.1559729 → 0.0.1561482

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.
@@ -15273,6 +15273,19 @@
15273
15273
  "VeryHigh"
15274
15274
  ]
15275
15275
  },
15276
+ {
15277
+ "id": "RenderBlockingBehavior",
15278
+ "description": "The render blocking behavior of a resource request.",
15279
+ "experimental": true,
15280
+ "type": "string",
15281
+ "enum": [
15282
+ "Blocking",
15283
+ "InBodyParserBlocking",
15284
+ "NonBlocking",
15285
+ "NonBlockingDynamic",
15286
+ "PotentiallyBlocking"
15287
+ ]
15288
+ },
15276
15289
  {
15277
15290
  "id": "PostDataEntry",
15278
15291
  "description": "Post data entry for HTTP request",
@@ -18348,6 +18361,13 @@
18348
18361
  "description": "Whether the request is initiated by a user gesture. Defaults to false.",
18349
18362
  "optional": true,
18350
18363
  "type": "boolean"
18364
+ },
18365
+ {
18366
+ "name": "renderBlockingBehavior",
18367
+ "description": "The render blocking behavior of the request.",
18368
+ "experimental": true,
18369
+ "optional": true,
18370
+ "$ref": "RenderBlockingBehavior"
18351
18371
  }
18352
18372
  ]
18353
18373
  },
@@ -20691,7 +20711,9 @@
20691
20711
  "language-detector",
20692
20712
  "language-model",
20693
20713
  "local-fonts",
20714
+ "local-network",
20694
20715
  "local-network-access",
20716
+ "loopback-network",
20695
20717
  "magnetometer",
20696
20718
  "manual-text",
20697
20719
  "media-playback-while-not-visible",
@@ -28705,6 +28727,18 @@
28705
28727
  }
28706
28728
  ]
28707
28729
  },
28730
+ {
28731
+ "name": "getTrackEventDescriptor",
28732
+ "description": "Return a descriptor for all available tracing categories.",
28733
+ "experimental": true,
28734
+ "returns": [
28735
+ {
28736
+ "name": "descriptor",
28737
+ "description": "Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message. (Encoded as a base64 string when passed over JSON)",
28738
+ "type": "string"
28739
+ }
28740
+ ]
28741
+ },
28708
28742
  {
28709
28743
  "name": "recordClockSyncMarker",
28710
28744
  "description": "Record a clock sync marker in the trace.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1559729",
3
+ "version": "0.0.1561482",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -166,6 +166,15 @@ domain Network
166
166
  High
167
167
  VeryHigh
168
168
 
169
+ # The render blocking behavior of a resource request.
170
+ experimental type RenderBlockingBehavior extends string
171
+ enum
172
+ Blocking
173
+ InBodyParserBlocking
174
+ NonBlocking
175
+ NonBlockingDynamic
176
+ PotentiallyBlocking
177
+
169
178
  # Post data entry for HTTP request
170
179
  type PostDataEntry extends object
171
180
  properties
@@ -1498,6 +1507,8 @@ domain Network
1498
1507
  optional Page.FrameId frameId
1499
1508
  # Whether the request is initiated by a user gesture. Defaults to false.
1500
1509
  optional boolean hasUserGesture
1510
+ # The render blocking behavior of the request.
1511
+ experimental optional RenderBlockingBehavior renderBlockingBehavior
1501
1512
 
1502
1513
  # Fired when resource loading priority is changed
1503
1514
  experimental event resourceChangedPriority
@@ -164,7 +164,9 @@ domain Page
164
164
  language-detector
165
165
  language-model
166
166
  local-fonts
167
+ local-network
167
168
  local-network-access
169
+ loopback-network
168
170
  magnetometer
169
171
  manual-text
170
172
  media-playback-while-not-visible
@@ -78,6 +78,12 @@ domain Tracing
78
78
  # A list of supported tracing categories.
79
79
  array of string categories
80
80
 
81
+ # Return a descriptor for all available tracing categories.
82
+ experimental command getTrackEventDescriptor
83
+ returns
84
+ # Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message.
85
+ binary descriptor
86
+
81
87
  # Record a clock sync marker in the trace.
82
88
  experimental command recordClockSyncMarker
83
89
  parameters
@@ -5823,6 +5823,14 @@ export namespace ProtocolMapping {
5823
5823
  paramsType: [];
5824
5824
  returnType: Protocol.Tracing.GetCategoriesResponse;
5825
5825
  };
5826
+ /**
5827
+ * Return a descriptor for all available tracing categories.
5828
+ * @experimental
5829
+ */
5830
+ 'Tracing.getTrackEventDescriptor': {
5831
+ paramsType: [];
5832
+ returnType: Protocol.Tracing.GetTrackEventDescriptorResponse;
5833
+ };
5826
5834
  /**
5827
5835
  * Record a clock sync marker in the trace.
5828
5836
  * @experimental
@@ -4941,6 +4941,12 @@ export namespace ProtocolProxyApi {
4941
4941
  */
4942
4942
  getCategories(): Promise<Protocol.Tracing.GetCategoriesResponse>;
4943
4943
 
4944
+ /**
4945
+ * Return a descriptor for all available tracing categories.
4946
+ * @experimental
4947
+ */
4948
+ getTrackEventDescriptor(): Promise<Protocol.Tracing.GetTrackEventDescriptorResponse>;
4949
+
4944
4950
  /**
4945
4951
  * Record a clock sync marker in the trace.
4946
4952
  * @experimental
@@ -5335,6 +5335,12 @@ export namespace ProtocolTestsProxyApi {
5335
5335
  */
5336
5336
  getCategories(): Promise<{id: number, result: Protocol.Tracing.GetCategoriesResponse, sessionId: string}>;
5337
5337
 
5338
+ /**
5339
+ * Return a descriptor for all available tracing categories.
5340
+ * @experimental
5341
+ */
5342
+ getTrackEventDescriptor(): Promise<{id: number, result: Protocol.Tracing.GetTrackEventDescriptorResponse, sessionId: string}>;
5343
+
5338
5344
  /**
5339
5345
  * Record a clock sync marker in the trace.
5340
5346
  * @experimental
@@ -12268,6 +12268,12 @@ export namespace Protocol {
12268
12268
  */
12269
12269
  export type ResourcePriority = ('VeryLow' | 'Low' | 'Medium' | 'High' | 'VeryHigh');
12270
12270
 
12271
+ /**
12272
+ * The render blocking behavior of a resource request.
12273
+ * @experimental
12274
+ */
12275
+ export type RenderBlockingBehavior = ('Blocking' | 'InBodyParserBlocking' | 'NonBlocking' | 'NonBlockingDynamic' | 'PotentiallyBlocking');
12276
+
12271
12277
  /**
12272
12278
  * Post data entry for HTTP request
12273
12279
  */
@@ -14358,6 +14364,11 @@ export namespace Protocol {
14358
14364
  * Whether the request is initiated by a user gesture. Defaults to false.
14359
14365
  */
14360
14366
  hasUserGesture?: boolean;
14367
+ /**
14368
+ * The render blocking behavior of the request.
14369
+ * @experimental
14370
+ */
14371
+ renderBlockingBehavior?: RenderBlockingBehavior;
14361
14372
  }
14362
14373
 
14363
14374
  /**
@@ -15892,7 +15903,7 @@ export namespace Protocol {
15892
15903
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
15893
15904
  * @experimental
15894
15905
  */
15895
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network-access' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15906
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'attribution-reporting' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'record-ad-auction-events' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
15896
15907
 
15897
15908
  /**
15898
15909
  * Reason for a permissions policy feature to be disabled.
@@ -20701,6 +20712,13 @@ export namespace Protocol {
20701
20712
  categories: string[];
20702
20713
  }
20703
20714
 
20715
+ export interface GetTrackEventDescriptorResponse {
20716
+ /**
20717
+ * Base64-encoded serialized perfetto.protos.TrackEventDescriptor protobuf message. (Encoded as a base64 string when passed over JSON)
20718
+ */
20719
+ descriptor: string;
20720
+ }
20721
+
20704
20722
  export interface RecordClockSyncMarkerRequest {
20705
20723
  /**
20706
20724
  * The ID of this clock sync marker