devtools-protocol 0.0.1515996 → 0.0.1517051

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.
@@ -1563,8 +1563,10 @@
1563
1563
  "WriteErrorInsufficientResources",
1564
1564
  "WriteErrorInvalidMatchField",
1565
1565
  "WriteErrorInvalidStructuredHeader",
1566
+ "WriteErrorInvalidTTLField",
1566
1567
  "WriteErrorNavigationRequest",
1567
1568
  "WriteErrorNoMatchField",
1569
+ "WriteErrorNonIntegerTTLField",
1568
1570
  "WriteErrorNonListMatchDestField",
1569
1571
  "WriteErrorNonSecureContext",
1570
1572
  "WriteErrorNonStringIdField",
@@ -15211,6 +15213,13 @@
15211
15213
  "experimental": true,
15212
15214
  "optional": true,
15213
15215
  "type": "boolean"
15216
+ },
15217
+ {
15218
+ "name": "isAdRelated",
15219
+ "description": "True when the resource request is ad-related.",
15220
+ "experimental": true,
15221
+ "optional": true,
15222
+ "type": "boolean"
15214
15223
  }
15215
15224
  ]
15216
15225
  },
@@ -23195,6 +23204,17 @@
23195
23204
  "type": "boolean"
23196
23205
  }
23197
23206
  ]
23207
+ },
23208
+ {
23209
+ "name": "setPrewarmingAllowed",
23210
+ "description": "Enable/disable prewarming triggers manually.\n\nThis command manages DSE Prewarming triggers. While a client is connected,\nprewarming triggers are disabled by default. This command can change this\ndefault behavior to allow the triggers, or to disallow them again.\nSee https://chromestatus.com/feature/6266608741908480 for more details on\nthe DSE Prewarming feature.",
23211
+ "experimental": true,
23212
+ "parameters": [
23213
+ {
23214
+ "name": "isAllowed",
23215
+ "type": "boolean"
23216
+ }
23217
+ ]
23198
23218
  }
23199
23219
  ],
23200
23220
  "events": [
@@ -2362,7 +2362,8 @@
2362
2362
  "arraybuffer",
2363
2363
  "dataview",
2364
2364
  "webassemblymemory",
2365
- "wasmvalue"
2365
+ "wasmvalue",
2366
+ "trustedtype"
2366
2367
  ]
2367
2368
  },
2368
2369
  {
@@ -2480,7 +2481,8 @@
2480
2481
  "arraybuffer",
2481
2482
  "dataview",
2482
2483
  "webassemblymemory",
2483
- "wasmvalue"
2484
+ "wasmvalue",
2485
+ "trustedtype"
2484
2486
  ]
2485
2487
  },
2486
2488
  {
@@ -2575,7 +2577,8 @@
2575
2577
  "arraybuffer",
2576
2578
  "dataview",
2577
2579
  "webassemblymemory",
2578
- "wasmvalue"
2580
+ "wasmvalue",
2581
+ "trustedtype"
2579
2582
  ]
2580
2583
  }
2581
2584
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1515996",
3
+ "version": "0.0.1517051",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -309,8 +309,10 @@ experimental domain Audits
309
309
  WriteErrorInsufficientResources
310
310
  WriteErrorInvalidMatchField
311
311
  WriteErrorInvalidStructuredHeader
312
+ WriteErrorInvalidTTLField
312
313
  WriteErrorNavigationRequest
313
314
  WriteErrorNoMatchField
315
+ WriteErrorNonIntegerTTLField
314
316
  WriteErrorNonListMatchDestField
315
317
  WriteErrorNonSecureContext
316
318
  WriteErrorNonStringIdField
@@ -211,6 +211,8 @@ domain Network
211
211
  # True if this resource request is considered to be the 'same site' as the
212
212
  # request corresponding to the main frame.
213
213
  experimental optional boolean isSameSite
214
+ # True when the resource request is ad-related.
215
+ experimental optional boolean isAdRelated
214
216
 
215
217
  # Details of a signed certificate timestamp (SCT).
216
218
  type SignedCertificateTimestamp extends object
@@ -1768,3 +1768,14 @@ domain Page
1768
1768
  experimental command setPrerenderingAllowed
1769
1769
  parameters
1770
1770
  boolean isAllowed
1771
+
1772
+ # Enable/disable prewarming triggers manually.
1773
+ #
1774
+ # This command manages DSE Prewarming triggers. While a client is connected,
1775
+ # prewarming triggers are disabled by default. This command can change this
1776
+ # default behavior to allow the triggers, or to disallow them again.
1777
+ # See https://chromestatus.com/feature/6266608741908480 for more details on
1778
+ # the DSE Prewarming feature.
1779
+ experimental command setPrewarmingAllowed
1780
+ parameters
1781
+ boolean isAllowed
@@ -1142,6 +1142,8 @@ domain Runtime
1142
1142
  dataview
1143
1143
  webassemblymemory
1144
1144
  wasmvalue
1145
+ # blink's subtypes.
1146
+ trustedtype
1145
1147
  # Object class (constructor) name. Specified for `object` type values only.
1146
1148
  optional string className
1147
1149
  # Remote object value in case of primitive values or JSON values (if it was requested).
@@ -1203,6 +1205,8 @@ domain Runtime
1203
1205
  dataview
1204
1206
  webassemblymemory
1205
1207
  wasmvalue
1208
+ # blink's subtypes.
1209
+ trustedtype
1206
1210
  # String representation of the object.
1207
1211
  optional string description
1208
1212
  # True iff some of the properties or entries of the original object did not fit.
@@ -1252,6 +1256,8 @@ domain Runtime
1252
1256
  dataview
1253
1257
  webassemblymemory
1254
1258
  wasmvalue
1259
+ # blink's subtypes.
1260
+ trustedtype
1255
1261
 
1256
1262
  experimental type EntryPreview extends object
1257
1263
  properties
@@ -5158,6 +5158,20 @@ export namespace ProtocolMapping {
5158
5158
  paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
5159
5159
  returnType: void;
5160
5160
  };
5161
+ /**
5162
+ * Enable/disable prewarming triggers manually.
5163
+ *
5164
+ * This command manages DSE Prewarming triggers. While a client is connected,
5165
+ * prewarming triggers are disabled by default. This command can change this
5166
+ * default behavior to allow the triggers, or to disallow them again.
5167
+ * See https://chromestatus.com/feature/6266608741908480 for more details on
5168
+ * the DSE Prewarming feature.
5169
+ * @experimental
5170
+ */
5171
+ 'Page.setPrewarmingAllowed': {
5172
+ paramsType: [Protocol.Page.SetPrewarmingAllowedRequest];
5173
+ returnType: void;
5174
+ };
5161
5175
  /**
5162
5176
  * Disable collecting and reporting metrics.
5163
5177
  */
@@ -4073,6 +4073,18 @@ export namespace ProtocolProxyApi {
4073
4073
  */
4074
4074
  setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<void>;
4075
4075
 
4076
+ /**
4077
+ * Enable/disable prewarming triggers manually.
4078
+ *
4079
+ * This command manages DSE Prewarming triggers. While a client is connected,
4080
+ * prewarming triggers are disabled by default. This command can change this
4081
+ * default behavior to allow the triggers, or to disallow them again.
4082
+ * See https://chromestatus.com/feature/6266608741908480 for more details on
4083
+ * the DSE Prewarming feature.
4084
+ * @experimental
4085
+ */
4086
+ setPrewarmingAllowed(params: Protocol.Page.SetPrewarmingAllowedRequest): Promise<void>;
4087
+
4076
4088
  on(event: 'domContentEventFired', listener: (params: Protocol.Page.DomContentEventFiredEvent) => void): void;
4077
4089
 
4078
4090
  /**
@@ -4337,6 +4337,18 @@ export namespace ProtocolTestsProxyApi {
4337
4337
  */
4338
4338
  setPrerenderingAllowed(params: Protocol.Page.SetPrerenderingAllowedRequest): Promise<{id: number, result: void, sessionId: string}>;
4339
4339
 
4340
+ /**
4341
+ * Enable/disable prewarming triggers manually.
4342
+ *
4343
+ * This command manages DSE Prewarming triggers. While a client is connected,
4344
+ * prewarming triggers are disabled by default. This command can change this
4345
+ * default behavior to allow the triggers, or to disallow them again.
4346
+ * See https://chromestatus.com/feature/6266608741908480 for more details on
4347
+ * the DSE Prewarming feature.
4348
+ * @experimental
4349
+ */
4350
+ setPrewarmingAllowed(params: Protocol.Page.SetPrewarmingAllowedRequest): Promise<{id: number, result: void, sessionId: string}>;
4351
+
4340
4352
  onDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
4341
4353
  offDomContentEventFired(listener: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => void): void;
4342
4354
  onceDomContentEventFired(eventMatcher?: (event: { params: Protocol.Page.DomContentEventFiredEvent }) => boolean): Promise<{ params: Protocol.Page.DomContentEventFiredEvent }>;
@@ -1683,6 +1683,7 @@ export namespace Protocol {
1683
1683
  Dataview = 'dataview',
1684
1684
  Webassemblymemory = 'webassemblymemory',
1685
1685
  Wasmvalue = 'wasmvalue',
1686
+ Trustedtype = 'trustedtype',
1686
1687
  }
1687
1688
 
1688
1689
  /**
@@ -1698,7 +1699,7 @@ export namespace Protocol {
1698
1699
  * NOTE: If you change anything here, make sure to also update
1699
1700
  * `subtype` in `ObjectPreview` and `PropertyPreview` below.
1700
1701
  */
1701
- subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
1702
+ subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
1702
1703
  /**
1703
1704
  * Object class (constructor) name. Specified for `object` type values only.
1704
1705
  */
@@ -1784,6 +1785,7 @@ export namespace Protocol {
1784
1785
  Dataview = 'dataview',
1785
1786
  Webassemblymemory = 'webassemblymemory',
1786
1787
  Wasmvalue = 'wasmvalue',
1788
+ Trustedtype = 'trustedtype',
1787
1789
  }
1788
1790
 
1789
1791
  /**
@@ -1798,7 +1800,7 @@ export namespace Protocol {
1798
1800
  /**
1799
1801
  * Object subtype hint. Specified for `object` type values only.
1800
1802
  */
1801
- subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
1803
+ subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
1802
1804
  /**
1803
1805
  * String representation of the object.
1804
1806
  */
@@ -1849,6 +1851,7 @@ export namespace Protocol {
1849
1851
  Dataview = 'dataview',
1850
1852
  Webassemblymemory = 'webassemblymemory',
1851
1853
  Wasmvalue = 'wasmvalue',
1854
+ Trustedtype = 'trustedtype',
1852
1855
  }
1853
1856
 
1854
1857
  /**
@@ -1874,7 +1877,7 @@ export namespace Protocol {
1874
1877
  /**
1875
1878
  * Object subtype hint. Specified for `object` type values only.
1876
1879
  */
1877
- subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue');
1880
+ subtype?: ('array' | 'null' | 'node' | 'regexp' | 'date' | 'map' | 'set' | 'weakmap' | 'weakset' | 'iterator' | 'generator' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'dataview' | 'webassemblymemory' | 'wasmvalue' | 'trustedtype');
1878
1881
  }
1879
1882
 
1880
1883
  /**
@@ -3637,7 +3640,7 @@ export namespace Protocol {
3637
3640
 
3638
3641
  export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader' | 'NavigationRegistrationUniqueScopeAlreadySet');
3639
3642
 
3640
- export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3643
+ export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorInvalidTTLField' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonIntegerTTLField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
3641
3644
 
3642
3645
  export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch' | 'ValidationFailedIntegrityMismatch');
3643
3646
 
@@ -12256,6 +12259,11 @@ export namespace Protocol {
12256
12259
  * @experimental
12257
12260
  */
12258
12261
  isSameSite?: boolean;
12262
+ /**
12263
+ * True when the resource request is ad-related.
12264
+ * @experimental
12265
+ */
12266
+ isAdRelated?: boolean;
12259
12267
  }
12260
12268
 
12261
12269
  /**
@@ -17347,6 +17355,10 @@ export namespace Protocol {
17347
17355
  isAllowed: boolean;
17348
17356
  }
17349
17357
 
17358
+ export interface SetPrewarmingAllowedRequest {
17359
+ isAllowed: boolean;
17360
+ }
17361
+
17350
17362
  export interface DomContentEventFiredEvent {
17351
17363
  timestamp: Network.MonotonicTime;
17352
17364
  }