devtools-protocol 0.0.1498597 → 0.0.1501779
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/json/browser_protocol.json +17960 -17689
- package/json/js_protocol.json +6 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +47 -13824
- package/pdl/domains/Accessibility.pdl +290 -0
- package/pdl/domains/Animation.pdl +195 -0
- package/pdl/domains/Audits.pdl +755 -0
- package/pdl/domains/Autofill.pdl +106 -0
- package/pdl/domains/BackgroundService.pdl +77 -0
- package/pdl/domains/BluetoothEmulation.pdl +227 -0
- package/pdl/domains/Browser.pdl +345 -0
- package/pdl/domains/CSS.pdl +996 -0
- package/pdl/domains/CacheStorage.pdl +125 -0
- package/pdl/domains/Cast.pdl +62 -0
- package/pdl/domains/DOM.pdl +932 -0
- package/pdl/domains/DOMDebugger.pdl +128 -0
- package/pdl/domains/DOMSnapshot.pdl +319 -0
- package/pdl/domains/DOMStorage.pdl +72 -0
- package/pdl/domains/DeviceAccess.pdl +43 -0
- package/pdl/domains/DeviceOrientation.pdl +20 -0
- package/pdl/domains/Emulation.pdl +608 -0
- package/pdl/domains/EventBreakpoints.pdl +24 -0
- package/pdl/domains/Extensions.pdl +72 -0
- package/pdl/domains/FedCm.pdl +100 -0
- package/pdl/domains/Fetch.pdl +251 -0
- package/pdl/domains/FileSystem.pdl +41 -0
- package/pdl/domains/HeadlessExperimental.pdl +56 -0
- package/pdl/domains/IO.pdl +45 -0
- package/pdl/domains/IndexedDB.pdl +226 -0
- package/pdl/domains/Input.pdl +336 -0
- package/pdl/domains/Inspector.pdl +25 -0
- package/pdl/domains/LayerTree.pdl +178 -0
- package/pdl/domains/Log.pdl +93 -0
- package/pdl/domains/Media.pdl +106 -0
- package/pdl/domains/Memory.pdl +112 -0
- package/pdl/domains/Network.pdl +2039 -0
- package/pdl/domains/Overlay.pdl +498 -0
- package/pdl/domains/PWA.pdl +142 -0
- package/pdl/domains/Page.pdl +1767 -0
- package/pdl/domains/Performance.pdl +54 -0
- package/pdl/domains/PerformanceTimeline.pdl +71 -0
- package/pdl/domains/Preload.pdl +290 -0
- package/pdl/domains/Security.pdl +196 -0
- package/pdl/domains/ServiceWorker.pdl +121 -0
- package/pdl/domains/Storage.pdl +913 -0
- package/pdl/domains/SystemInfo.pdl +145 -0
- package/pdl/domains/Target.pdl +327 -0
- package/pdl/domains/Tethering.pdl +28 -0
- package/pdl/domains/Tracing.pdl +157 -0
- package/pdl/domains/WebAudio.pdl +205 -0
- package/pdl/domains/WebAuthn.pdl +230 -0
- package/types/protocol-mapping.d.ts +992 -615
- package/types/protocol-proxy-api.d.ts +543 -522
- package/types/protocol-tests-proxy-api.d.ts +628 -607
- package/types/protocol.d.ts +8059 -7903
@@ -16,6 +16,7 @@ export namespace ProtocolMapping {
|
|
16
16
|
/**
|
17
17
|
* Fired when breakpoint is resolved to an actual script and location.
|
18
18
|
* Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
|
19
|
+
* @deprecated
|
19
20
|
*/
|
20
21
|
'Debugger.breakpointResolved': [Protocol.Debugger.BreakpointResolvedEvent];
|
21
22
|
/**
|
@@ -58,10 +59,12 @@ export namespace ProtocolMapping {
|
|
58
59
|
* `takePreciseCoverage` for the current isolate. May only be sent if precise code
|
59
60
|
* coverage has been started. This event can be trigged by the embedder to, for example,
|
60
61
|
* trigger collection of coverage data immediately at a certain point in time.
|
62
|
+
* @experimental
|
61
63
|
*/
|
62
64
|
'Profiler.preciseCoverageDeltaUpdate': [Protocol.Profiler.PreciseCoverageDeltaUpdateEvent];
|
63
65
|
/**
|
64
66
|
* Notification is issued every time when binding is called.
|
67
|
+
* @experimental
|
65
68
|
*/
|
66
69
|
'Runtime.bindingCalled': [Protocol.Runtime.BindingCalledEvent];
|
67
70
|
/**
|
@@ -96,10 +99,12 @@ export namespace ProtocolMapping {
|
|
96
99
|
/**
|
97
100
|
* The loadComplete event mirrors the load complete event sent by the browser to assistive
|
98
101
|
* technology when the web page has finished loading.
|
102
|
+
* @experimental
|
99
103
|
*/
|
100
104
|
'Accessibility.loadComplete': [Protocol.Accessibility.LoadCompleteEvent];
|
101
105
|
/**
|
102
106
|
* The nodesUpdated event is sent every time a previously requested node has changed the in tree.
|
107
|
+
* @experimental
|
103
108
|
*/
|
104
109
|
'Accessibility.nodesUpdated': [Protocol.Accessibility.NodesUpdatedEvent];
|
105
110
|
/**
|
@@ -132,12 +137,31 @@ export namespace ProtocolMapping {
|
|
132
137
|
* events afterwards if enabled and recording.
|
133
138
|
*/
|
134
139
|
'BackgroundService.backgroundServiceEventReceived': [Protocol.BackgroundService.BackgroundServiceEventReceivedEvent];
|
140
|
+
/**
|
141
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
142
|
+
* happened.
|
143
|
+
*/
|
144
|
+
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
|
145
|
+
/**
|
146
|
+
* Event for when a characteristic operation of |type| to the characteristic
|
147
|
+
* respresented by |characteristicId| happened. |data| and |writeType| is
|
148
|
+
* expected to exist when |type| is write.
|
149
|
+
*/
|
150
|
+
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
151
|
+
/**
|
152
|
+
* Event for when a descriptor operation of |type| to the descriptor
|
153
|
+
* respresented by |descriptorId| happened. |data| is expected to exist when
|
154
|
+
* |type| is write.
|
155
|
+
*/
|
156
|
+
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
135
157
|
/**
|
136
158
|
* Fired when page is about to start a download.
|
159
|
+
* @experimental
|
137
160
|
*/
|
138
161
|
'Browser.downloadWillBegin': [Protocol.Browser.DownloadWillBeginEvent];
|
139
162
|
/**
|
140
163
|
* Fired when download makes progress. Last call has |done| == true.
|
164
|
+
* @experimental
|
141
165
|
*/
|
142
166
|
'Browser.downloadProgress': [Protocol.Browser.DownloadProgressEvent];
|
143
167
|
/**
|
@@ -162,6 +186,9 @@ export namespace ProtocolMapping {
|
|
162
186
|
* Fired whenever an active document stylesheet is removed.
|
163
187
|
*/
|
164
188
|
'CSS.styleSheetRemoved': [Protocol.CSS.StyleSheetRemovedEvent];
|
189
|
+
/**
|
190
|
+
* @experimental
|
191
|
+
*/
|
165
192
|
'CSS.computedStyleUpdated': [Protocol.CSS.ComputedStyleUpdatedEvent];
|
166
193
|
/**
|
167
194
|
* This is fired whenever the list of available sinks changes. A sink is a
|
@@ -199,6 +226,7 @@ export namespace ProtocolMapping {
|
|
199
226
|
'DOM.childNodeRemoved': [Protocol.DOM.ChildNodeRemovedEvent];
|
200
227
|
/**
|
201
228
|
* Called when distribution is changed.
|
229
|
+
* @experimental
|
202
230
|
*/
|
203
231
|
'DOM.distributedNodesUpdated': [Protocol.DOM.DistributedNodesUpdatedEvent];
|
204
232
|
/**
|
@@ -207,22 +235,27 @@ export namespace ProtocolMapping {
|
|
207
235
|
'DOM.documentUpdated': [];
|
208
236
|
/**
|
209
237
|
* Fired when `Element`'s inline style is modified via a CSS property modification.
|
238
|
+
* @experimental
|
210
239
|
*/
|
211
240
|
'DOM.inlineStyleInvalidated': [Protocol.DOM.InlineStyleInvalidatedEvent];
|
212
241
|
/**
|
213
242
|
* Called when a pseudo element is added to an element.
|
243
|
+
* @experimental
|
214
244
|
*/
|
215
245
|
'DOM.pseudoElementAdded': [Protocol.DOM.PseudoElementAddedEvent];
|
216
246
|
/**
|
217
247
|
* Called when top layer elements are changed.
|
248
|
+
* @experimental
|
218
249
|
*/
|
219
250
|
'DOM.topLayerElementsUpdated': [];
|
220
251
|
/**
|
221
252
|
* Fired when a node's scrollability state changes.
|
253
|
+
* @experimental
|
222
254
|
*/
|
223
255
|
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
|
224
256
|
/**
|
225
257
|
* Called when a pseudo element is removed from an element.
|
258
|
+
* @experimental
|
226
259
|
*/
|
227
260
|
'DOM.pseudoElementRemoved': [Protocol.DOM.PseudoElementRemovedEvent];
|
228
261
|
/**
|
@@ -232,23 +265,57 @@ export namespace ProtocolMapping {
|
|
232
265
|
'DOM.setChildNodes': [Protocol.DOM.SetChildNodesEvent];
|
233
266
|
/**
|
234
267
|
* Called when shadow root is popped from the element.
|
268
|
+
* @experimental
|
235
269
|
*/
|
236
270
|
'DOM.shadowRootPopped': [Protocol.DOM.ShadowRootPoppedEvent];
|
237
271
|
/**
|
238
272
|
* Called when shadow root is pushed into the element.
|
273
|
+
* @experimental
|
239
274
|
*/
|
240
275
|
'DOM.shadowRootPushed': [Protocol.DOM.ShadowRootPushedEvent];
|
241
276
|
'DOMStorage.domStorageItemAdded': [Protocol.DOMStorage.DomStorageItemAddedEvent];
|
242
277
|
'DOMStorage.domStorageItemRemoved': [Protocol.DOMStorage.DomStorageItemRemovedEvent];
|
243
278
|
'DOMStorage.domStorageItemUpdated': [Protocol.DOMStorage.DomStorageItemUpdatedEvent];
|
244
279
|
'DOMStorage.domStorageItemsCleared': [Protocol.DOMStorage.DomStorageItemsClearedEvent];
|
280
|
+
/**
|
281
|
+
* A device request opened a user prompt to select a device. Respond with the
|
282
|
+
* selectPrompt or cancelPrompt command.
|
283
|
+
*/
|
284
|
+
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
245
285
|
/**
|
246
286
|
* Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
|
287
|
+
* @experimental
|
247
288
|
*/
|
248
289
|
'Emulation.virtualTimeBudgetExpired': [];
|
290
|
+
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
291
|
+
/**
|
292
|
+
* Triggered when a dialog is closed, either by user action, JS abort,
|
293
|
+
* or a command below.
|
294
|
+
*/
|
295
|
+
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
|
296
|
+
/**
|
297
|
+
* Issued when the domain is enabled and the request URL matches the
|
298
|
+
* specified filter. The request is paused until the client responds
|
299
|
+
* with one of continueRequest, failRequest or fulfillRequest.
|
300
|
+
* The stage of the request can be determined by presence of responseErrorReason
|
301
|
+
* and responseStatusCode -- the request is at the response stage if either
|
302
|
+
* of these fields is present and in the request stage otherwise.
|
303
|
+
* Redirect responses and subsequent requests are reported similarly to regular
|
304
|
+
* responses and requests. Redirect responses may be distinguished by the value
|
305
|
+
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
306
|
+
* presence of the `location` header. Requests resulting from a redirect will
|
307
|
+
* have `redirectedRequestId` field set.
|
308
|
+
*/
|
309
|
+
'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
|
310
|
+
/**
|
311
|
+
* Issued when the domain is enabled with handleAuthRequests set to true.
|
312
|
+
* The request is paused until client responds with continueWithAuth.
|
313
|
+
*/
|
314
|
+
'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
|
249
315
|
/**
|
250
316
|
* Emitted only when `Input.setInterceptDrags` is enabled. Use this data with `Input.dispatchDragEvent` to
|
251
317
|
* restore normal drag and drop behavior.
|
318
|
+
* @experimental
|
252
319
|
*/
|
253
320
|
'Input.dragIntercepted': [Protocol.Input.DragInterceptedEvent];
|
254
321
|
/**
|
@@ -269,6 +336,30 @@ export namespace ProtocolMapping {
|
|
269
336
|
* Issued when new message was logged.
|
270
337
|
*/
|
271
338
|
'Log.entryAdded': [Protocol.Log.EntryAddedEvent];
|
339
|
+
/**
|
340
|
+
* This can be called multiple times, and can be used to set / override /
|
341
|
+
* remove player properties. A null propValue indicates removal.
|
342
|
+
*/
|
343
|
+
'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
|
344
|
+
/**
|
345
|
+
* Send events as a list, allowing them to be batched on the browser for less
|
346
|
+
* congestion. If batched, events must ALWAYS be in chronological order.
|
347
|
+
*/
|
348
|
+
'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
|
349
|
+
/**
|
350
|
+
* Send a list of any messages that need to be delivered.
|
351
|
+
*/
|
352
|
+
'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
|
353
|
+
/**
|
354
|
+
* Send a list of any errors that need to be delivered.
|
355
|
+
*/
|
356
|
+
'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
|
357
|
+
/**
|
358
|
+
* Called whenever a player is created, or when a new agent joins and receives
|
359
|
+
* a list of active players. If an agent is restored, it will receive the full
|
360
|
+
* list of player ids and all events again.
|
361
|
+
*/
|
362
|
+
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
|
272
363
|
/**
|
273
364
|
* Fired when data chunk was received over the network.
|
274
365
|
*/
|
@@ -289,6 +380,8 @@ export namespace ProtocolMapping {
|
|
289
380
|
* Details of an intercepted HTTP request, which must be either allowed, blocked, modified or
|
290
381
|
* mocked.
|
291
382
|
* Deprecated, use Fetch.requestPaused instead.
|
383
|
+
* @deprecated
|
384
|
+
* @experimental
|
292
385
|
*/
|
293
386
|
'Network.requestIntercepted': [Protocol.Network.RequestInterceptedEvent];
|
294
387
|
/**
|
@@ -301,10 +394,12 @@ export namespace ProtocolMapping {
|
|
301
394
|
'Network.requestWillBeSent': [Protocol.Network.RequestWillBeSentEvent];
|
302
395
|
/**
|
303
396
|
* Fired when resource loading priority is changed
|
397
|
+
* @experimental
|
304
398
|
*/
|
305
399
|
'Network.resourceChangedPriority': [Protocol.Network.ResourceChangedPriorityEvent];
|
306
400
|
/**
|
307
401
|
* Fired when a signed exchange was received over the network
|
402
|
+
* @experimental
|
308
403
|
*/
|
309
404
|
'Network.signedExchangeReceived': [Protocol.Network.SignedExchangeReceivedEvent];
|
310
405
|
/**
|
@@ -353,50 +448,62 @@ export namespace ProtocolMapping {
|
|
353
448
|
'Network.webTransportClosed': [Protocol.Network.WebTransportClosedEvent];
|
354
449
|
/**
|
355
450
|
* Fired upon direct_socket.TCPSocket creation.
|
451
|
+
* @experimental
|
356
452
|
*/
|
357
453
|
'Network.directTCPSocketCreated': [Protocol.Network.DirectTCPSocketCreatedEvent];
|
358
454
|
/**
|
359
455
|
* Fired when direct_socket.TCPSocket connection is opened.
|
456
|
+
* @experimental
|
360
457
|
*/
|
361
458
|
'Network.directTCPSocketOpened': [Protocol.Network.DirectTCPSocketOpenedEvent];
|
362
459
|
/**
|
363
460
|
* Fired when direct_socket.TCPSocket is aborted.
|
461
|
+
* @experimental
|
364
462
|
*/
|
365
463
|
'Network.directTCPSocketAborted': [Protocol.Network.DirectTCPSocketAbortedEvent];
|
366
464
|
/**
|
367
465
|
* Fired when direct_socket.TCPSocket is closed.
|
466
|
+
* @experimental
|
368
467
|
*/
|
369
468
|
'Network.directTCPSocketClosed': [Protocol.Network.DirectTCPSocketClosedEvent];
|
370
469
|
/**
|
371
470
|
* Fired when data is sent to tcp direct socket stream.
|
471
|
+
* @experimental
|
372
472
|
*/
|
373
473
|
'Network.directTCPSocketChunkSent': [Protocol.Network.DirectTCPSocketChunkSentEvent];
|
374
474
|
/**
|
375
475
|
* Fired when data is received from tcp direct socket stream.
|
476
|
+
* @experimental
|
376
477
|
*/
|
377
478
|
'Network.directTCPSocketChunkReceived': [Protocol.Network.DirectTCPSocketChunkReceivedEvent];
|
378
479
|
/**
|
379
480
|
* Fired upon direct_socket.UDPSocket creation.
|
481
|
+
* @experimental
|
380
482
|
*/
|
381
483
|
'Network.directUDPSocketCreated': [Protocol.Network.DirectUDPSocketCreatedEvent];
|
382
484
|
/**
|
383
485
|
* Fired when direct_socket.UDPSocket connection is opened.
|
486
|
+
* @experimental
|
384
487
|
*/
|
385
488
|
'Network.directUDPSocketOpened': [Protocol.Network.DirectUDPSocketOpenedEvent];
|
386
489
|
/**
|
387
490
|
* Fired when direct_socket.UDPSocket is aborted.
|
491
|
+
* @experimental
|
388
492
|
*/
|
389
493
|
'Network.directUDPSocketAborted': [Protocol.Network.DirectUDPSocketAbortedEvent];
|
390
494
|
/**
|
391
495
|
* Fired when direct_socket.UDPSocket is closed.
|
496
|
+
* @experimental
|
392
497
|
*/
|
393
498
|
'Network.directUDPSocketClosed': [Protocol.Network.DirectUDPSocketClosedEvent];
|
394
499
|
/**
|
395
500
|
* Fired when message is sent to udp direct socket stream.
|
501
|
+
* @experimental
|
396
502
|
*/
|
397
503
|
'Network.directUDPSocketChunkSent': [Protocol.Network.DirectUDPSocketChunkSentEvent];
|
398
504
|
/**
|
399
505
|
* Fired when message is received from udp direct socket stream.
|
506
|
+
* @experimental
|
400
507
|
*/
|
401
508
|
'Network.directUDPSocketChunkReceived': [Protocol.Network.DirectUDPSocketChunkReceivedEvent];
|
402
509
|
/**
|
@@ -404,18 +511,21 @@ export namespace ProtocolMapping {
|
|
404
511
|
* network stack. Not every requestWillBeSent event will have an additional
|
405
512
|
* requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent
|
406
513
|
* or requestWillBeSentExtraInfo will be fired first for the same request.
|
514
|
+
* @experimental
|
407
515
|
*/
|
408
516
|
'Network.requestWillBeSentExtraInfo': [Protocol.Network.RequestWillBeSentExtraInfoEvent];
|
409
517
|
/**
|
410
518
|
* Fired when additional information about a responseReceived event is available from the network
|
411
519
|
* stack. Not every responseReceived event will have an additional responseReceivedExtraInfo for
|
412
520
|
* it, and responseReceivedExtraInfo may be fired before or after responseReceived.
|
521
|
+
* @experimental
|
413
522
|
*/
|
414
523
|
'Network.responseReceivedExtraInfo': [Protocol.Network.ResponseReceivedExtraInfoEvent];
|
415
524
|
/**
|
416
525
|
* Fired when 103 Early Hints headers is received in addition to the common response.
|
417
526
|
* Not every responseReceived event will have an responseReceivedEarlyHints fired.
|
418
527
|
* Only one responseReceivedEarlyHints may be fired for eached responseReceived event.
|
528
|
+
* @experimental
|
419
529
|
*/
|
420
530
|
'Network.responseReceivedEarlyHints': [Protocol.Network.ResponseReceivedEarlyHintsEvent];
|
421
531
|
/**
|
@@ -423,36 +533,49 @@ export namespace ProtocolMapping {
|
|
423
533
|
* the type of the operation and whether the operation succeeded or
|
424
534
|
* failed, the event is fired before the corresponding request was sent
|
425
535
|
* or after the response was received.
|
536
|
+
* @experimental
|
426
537
|
*/
|
427
538
|
'Network.trustTokenOperationDone': [Protocol.Network.TrustTokenOperationDoneEvent];
|
428
539
|
/**
|
429
540
|
* Fired once security policy has been updated.
|
541
|
+
* @experimental
|
430
542
|
*/
|
431
543
|
'Network.policyUpdated': [];
|
432
544
|
/**
|
433
545
|
* Fired once when parsing the .wbn file has succeeded.
|
434
546
|
* The event contains the information about the web bundle contents.
|
547
|
+
* @experimental
|
435
548
|
*/
|
436
549
|
'Network.subresourceWebBundleMetadataReceived': [Protocol.Network.SubresourceWebBundleMetadataReceivedEvent];
|
437
550
|
/**
|
438
551
|
* Fired once when parsing the .wbn file has failed.
|
552
|
+
* @experimental
|
439
553
|
*/
|
440
554
|
'Network.subresourceWebBundleMetadataError': [Protocol.Network.SubresourceWebBundleMetadataErrorEvent];
|
441
555
|
/**
|
442
556
|
* Fired when handling requests for resources within a .wbn file.
|
443
557
|
* Note: this will only be fired for resources that are requested by the webpage.
|
558
|
+
* @experimental
|
444
559
|
*/
|
445
560
|
'Network.subresourceWebBundleInnerResponseParsed': [Protocol.Network.SubresourceWebBundleInnerResponseParsedEvent];
|
446
561
|
/**
|
447
562
|
* Fired when request for resources within a .wbn file failed.
|
563
|
+
* @experimental
|
448
564
|
*/
|
449
565
|
'Network.subresourceWebBundleInnerResponseError': [Protocol.Network.SubresourceWebBundleInnerResponseErrorEvent];
|
450
566
|
/**
|
451
567
|
* Is sent whenever a new report is added.
|
452
568
|
* And after 'enableReportingApi' for all existing reports.
|
569
|
+
* @experimental
|
453
570
|
*/
|
454
571
|
'Network.reportingApiReportAdded': [Protocol.Network.ReportingApiReportAddedEvent];
|
572
|
+
/**
|
573
|
+
* @experimental
|
574
|
+
*/
|
455
575
|
'Network.reportingApiReportUpdated': [Protocol.Network.ReportingApiReportUpdatedEvent];
|
576
|
+
/**
|
577
|
+
* @experimental
|
578
|
+
*/
|
456
579
|
'Network.reportingApiEndpointsChangedForOrigin': [Protocol.Network.ReportingApiEndpointsChangedForOriginEvent];
|
457
580
|
/**
|
458
581
|
* Fired when the node should be inspected. This happens after call to `setInspectMode` or when
|
@@ -482,6 +605,7 @@ export namespace ProtocolMapping {
|
|
482
605
|
'Page.frameAttached': [Protocol.Page.FrameAttachedEvent];
|
483
606
|
/**
|
484
607
|
* Fired when frame no longer has a scheduled navigation.
|
608
|
+
* @deprecated
|
485
609
|
*/
|
486
610
|
'Page.frameClearedScheduledNavigation': [Protocol.Page.FrameClearedScheduledNavigationEvent];
|
487
611
|
/**
|
@@ -491,6 +615,7 @@ export namespace ProtocolMapping {
|
|
491
615
|
/**
|
492
616
|
* Fired before frame subtree is detached. Emitted before any frame of the
|
493
617
|
* subtree is actually detached.
|
618
|
+
* @experimental
|
494
619
|
*/
|
495
620
|
'Page.frameSubtreeWillBeDetached': [Protocol.Page.FrameSubtreeWillBeDetachedEvent];
|
496
621
|
/**
|
@@ -499,8 +624,12 @@ export namespace ProtocolMapping {
|
|
499
624
|
'Page.frameNavigated': [Protocol.Page.FrameNavigatedEvent];
|
500
625
|
/**
|
501
626
|
* Fired when opening document to write to.
|
627
|
+
* @experimental
|
502
628
|
*/
|
503
629
|
'Page.documentOpened': [Protocol.Page.DocumentOpenedEvent];
|
630
|
+
/**
|
631
|
+
* @experimental
|
632
|
+
*/
|
504
633
|
'Page.frameResized': [];
|
505
634
|
/**
|
506
635
|
* Fired when a navigation starts. This event is fired for both
|
@@ -510,33 +639,42 @@ export namespace ProtocolMapping {
|
|
510
639
|
* can be fired for a single navigation, for example, when a same-document
|
511
640
|
* navigation becomes a cross-document navigation (such as in the case of a
|
512
641
|
* frameset).
|
642
|
+
* @experimental
|
513
643
|
*/
|
514
644
|
'Page.frameStartedNavigating': [Protocol.Page.FrameStartedNavigatingEvent];
|
515
645
|
/**
|
516
646
|
* Fired when a renderer-initiated navigation is requested.
|
517
647
|
* Navigation may still be cancelled after the event is issued.
|
648
|
+
* @experimental
|
518
649
|
*/
|
519
650
|
'Page.frameRequestedNavigation': [Protocol.Page.FrameRequestedNavigationEvent];
|
520
651
|
/**
|
521
652
|
* Fired when frame schedules a potential navigation.
|
653
|
+
* @deprecated
|
522
654
|
*/
|
523
655
|
'Page.frameScheduledNavigation': [Protocol.Page.FrameScheduledNavigationEvent];
|
524
656
|
/**
|
525
657
|
* Fired when frame has started loading.
|
658
|
+
* @experimental
|
526
659
|
*/
|
527
660
|
'Page.frameStartedLoading': [Protocol.Page.FrameStartedLoadingEvent];
|
528
661
|
/**
|
529
662
|
* Fired when frame has stopped loading.
|
663
|
+
* @experimental
|
530
664
|
*/
|
531
665
|
'Page.frameStoppedLoading': [Protocol.Page.FrameStoppedLoadingEvent];
|
532
666
|
/**
|
533
667
|
* Fired when page is about to start a download.
|
534
668
|
* Deprecated. Use Browser.downloadWillBegin instead.
|
669
|
+
* @deprecated
|
670
|
+
* @experimental
|
535
671
|
*/
|
536
672
|
'Page.downloadWillBegin': [Protocol.Page.DownloadWillBeginEvent];
|
537
673
|
/**
|
538
674
|
* Fired when download makes progress. Last call has |done| == true.
|
539
675
|
* Deprecated. Use Browser.downloadProgress instead.
|
676
|
+
* @deprecated
|
677
|
+
* @experimental
|
540
678
|
*/
|
541
679
|
'Page.downloadProgress': [Protocol.Page.DownloadProgressEvent];
|
542
680
|
/**
|
@@ -567,19 +705,23 @@ export namespace ProtocolMapping {
|
|
567
705
|
* not assume any ordering with the Page.frameNavigated event. This event is fired only for
|
568
706
|
* main-frame history navigation where the document changes (non-same-document navigations),
|
569
707
|
* when bfcache navigation fails.
|
708
|
+
* @experimental
|
570
709
|
*/
|
571
710
|
'Page.backForwardCacheNotUsed': [Protocol.Page.BackForwardCacheNotUsedEvent];
|
572
711
|
'Page.loadEventFired': [Protocol.Page.LoadEventFiredEvent];
|
573
712
|
/**
|
574
713
|
* Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
|
714
|
+
* @experimental
|
575
715
|
*/
|
576
716
|
'Page.navigatedWithinDocument': [Protocol.Page.NavigatedWithinDocumentEvent];
|
577
717
|
/**
|
578
718
|
* Compressed image data requested by the `startScreencast`.
|
719
|
+
* @experimental
|
579
720
|
*/
|
580
721
|
'Page.screencastFrame': [Protocol.Page.ScreencastFrameEvent];
|
581
722
|
/**
|
582
723
|
* Fired when the page with currently enabled screencast was shown or hidden `.
|
724
|
+
* @experimental
|
583
725
|
*/
|
584
726
|
'Page.screencastVisibilityChanged': [Protocol.Page.ScreencastVisibilityChangedEvent];
|
585
727
|
/**
|
@@ -589,6 +731,7 @@ export namespace ProtocolMapping {
|
|
589
731
|
'Page.windowOpen': [Protocol.Page.WindowOpenEvent];
|
590
732
|
/**
|
591
733
|
* Issued for every compilation cache generated.
|
734
|
+
* @experimental
|
592
735
|
*/
|
593
736
|
'Page.compilationCacheProduced': [Protocol.Page.CompilationCacheProducedEvent];
|
594
737
|
/**
|
@@ -599,19 +742,43 @@ export namespace ProtocolMapping {
|
|
599
742
|
* Sent when a performance timeline event is added. See reportPerformanceTimeline method.
|
600
743
|
*/
|
601
744
|
'PerformanceTimeline.timelineEventAdded': [Protocol.PerformanceTimeline.TimelineEventAddedEvent];
|
745
|
+
/**
|
746
|
+
* Upsert. Currently, it is only emitted when a rule set added.
|
747
|
+
*/
|
748
|
+
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
749
|
+
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
750
|
+
/**
|
751
|
+
* Fired when a preload enabled state is updated.
|
752
|
+
*/
|
753
|
+
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
754
|
+
/**
|
755
|
+
* Fired when a prefetch attempt is updated.
|
756
|
+
*/
|
757
|
+
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
758
|
+
/**
|
759
|
+
* Fired when a prerender attempt is updated.
|
760
|
+
*/
|
761
|
+
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
762
|
+
/**
|
763
|
+
* Send a list of sources for all preloading attempts in a document.
|
764
|
+
*/
|
765
|
+
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
602
766
|
/**
|
603
767
|
* There is a certificate error. If overriding certificate errors is enabled, then it should be
|
604
768
|
* handled with the `handleCertificateError` command. Note: this event does not fire if the
|
605
769
|
* certificate error has been allowed internally. Only one client per target should override
|
606
770
|
* certificate errors at the same time.
|
771
|
+
* @deprecated
|
607
772
|
*/
|
608
773
|
'Security.certificateError': [Protocol.Security.CertificateErrorEvent];
|
609
774
|
/**
|
610
775
|
* The security state of the page changed.
|
776
|
+
* @experimental
|
611
777
|
*/
|
612
778
|
'Security.visibleSecurityStateChanged': [Protocol.Security.VisibleSecurityStateChangedEvent];
|
613
779
|
/**
|
614
780
|
* The security state of the page changed. No longer being sent.
|
781
|
+
* @deprecated
|
615
782
|
*/
|
616
783
|
'Security.securityStateChanged': [Protocol.Security.SecurityStateChangedEvent];
|
617
784
|
'ServiceWorker.workerErrorReported': [Protocol.ServiceWorker.WorkerErrorReportedEvent];
|
@@ -662,17 +829,31 @@ export namespace ProtocolMapping {
|
|
662
829
|
'Storage.sharedStorageWorkletOperationExecutionFinished': [Protocol.Storage.SharedStorageWorkletOperationExecutionFinishedEvent];
|
663
830
|
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
664
831
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
832
|
+
/**
|
833
|
+
* @experimental
|
834
|
+
*/
|
665
835
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
836
|
+
/**
|
837
|
+
* @experimental
|
838
|
+
*/
|
666
839
|
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
840
|
+
/**
|
841
|
+
* @experimental
|
842
|
+
*/
|
667
843
|
'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
|
844
|
+
/**
|
845
|
+
* @experimental
|
846
|
+
*/
|
668
847
|
'Storage.attributionReportingVerboseDebugReportSent': [Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent];
|
669
848
|
/**
|
670
849
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
850
|
+
* @experimental
|
671
851
|
*/
|
672
852
|
'Target.attachedToTarget': [Protocol.Target.AttachedToTargetEvent];
|
673
853
|
/**
|
674
854
|
* Issued when detached from target for any reason (including `detachFromTarget` command). Can be
|
675
855
|
* issued multiple times per target if multiple sessions have been attached to it.
|
856
|
+
* @experimental
|
676
857
|
*/
|
677
858
|
'Target.detachedFromTarget': [Protocol.Target.DetachedFromTargetEvent];
|
678
859
|
/**
|
@@ -701,10 +882,14 @@ export namespace ProtocolMapping {
|
|
701
882
|
* Informs that port was successfully bound and got a specified connection id.
|
702
883
|
*/
|
703
884
|
'Tethering.accepted': [Protocol.Tethering.AcceptedEvent];
|
885
|
+
/**
|
886
|
+
* @experimental
|
887
|
+
*/
|
704
888
|
'Tracing.bufferUsage': [Protocol.Tracing.BufferUsageEvent];
|
705
889
|
/**
|
706
890
|
* Contains a bucket of collected trace events. When tracing is stopped collected events will be
|
707
891
|
* sent as a sequence of dataCollected events followed by tracingComplete event.
|
892
|
+
* @experimental
|
708
893
|
*/
|
709
894
|
'Tracing.dataCollected': [Protocol.Tracing.DataCollectedEvent];
|
710
895
|
/**
|
@@ -712,25 +897,6 @@ export namespace ProtocolMapping {
|
|
712
897
|
* delivered via dataCollected events.
|
713
898
|
*/
|
714
899
|
'Tracing.tracingComplete': [Protocol.Tracing.TracingCompleteEvent];
|
715
|
-
/**
|
716
|
-
* Issued when the domain is enabled and the request URL matches the
|
717
|
-
* specified filter. The request is paused until the client responds
|
718
|
-
* with one of continueRequest, failRequest or fulfillRequest.
|
719
|
-
* The stage of the request can be determined by presence of responseErrorReason
|
720
|
-
* and responseStatusCode -- the request is at the response stage if either
|
721
|
-
* of these fields is present and in the request stage otherwise.
|
722
|
-
* Redirect responses and subsequent requests are reported similarly to regular
|
723
|
-
* responses and requests. Redirect responses may be distinguished by the value
|
724
|
-
* of `responseStatusCode` (which is one of 301, 302, 303, 307, 308) along with
|
725
|
-
* presence of the `location` header. Requests resulting from a redirect will
|
726
|
-
* have `redirectedRequestId` field set.
|
727
|
-
*/
|
728
|
-
'Fetch.requestPaused': [Protocol.Fetch.RequestPausedEvent];
|
729
|
-
/**
|
730
|
-
* Issued when the domain is enabled with handleAuthRequests set to true.
|
731
|
-
* The request is paused until client responds with continueWithAuth.
|
732
|
-
*/
|
733
|
-
'Fetch.authRequired': [Protocol.Fetch.AuthRequiredEvent];
|
734
900
|
/**
|
735
901
|
* Notifies that a new BaseAudioContext has been created.
|
736
902
|
*/
|
@@ -801,79 +967,6 @@ export namespace ProtocolMapping {
|
|
801
967
|
* Triggered when a credential is used in a webauthn assertion.
|
802
968
|
*/
|
803
969
|
'WebAuthn.credentialAsserted': [Protocol.WebAuthn.CredentialAssertedEvent];
|
804
|
-
/**
|
805
|
-
* This can be called multiple times, and can be used to set / override /
|
806
|
-
* remove player properties. A null propValue indicates removal.
|
807
|
-
*/
|
808
|
-
'Media.playerPropertiesChanged': [Protocol.Media.PlayerPropertiesChangedEvent];
|
809
|
-
/**
|
810
|
-
* Send events as a list, allowing them to be batched on the browser for less
|
811
|
-
* congestion. If batched, events must ALWAYS be in chronological order.
|
812
|
-
*/
|
813
|
-
'Media.playerEventsAdded': [Protocol.Media.PlayerEventsAddedEvent];
|
814
|
-
/**
|
815
|
-
* Send a list of any messages that need to be delivered.
|
816
|
-
*/
|
817
|
-
'Media.playerMessagesLogged': [Protocol.Media.PlayerMessagesLoggedEvent];
|
818
|
-
/**
|
819
|
-
* Send a list of any errors that need to be delivered.
|
820
|
-
*/
|
821
|
-
'Media.playerErrorsRaised': [Protocol.Media.PlayerErrorsRaisedEvent];
|
822
|
-
/**
|
823
|
-
* Called whenever a player is created, or when a new agent joins and receives
|
824
|
-
* a list of active players. If an agent is restored, it will receive the full
|
825
|
-
* list of player ids and all events again.
|
826
|
-
*/
|
827
|
-
'Media.playersCreated': [Protocol.Media.PlayersCreatedEvent];
|
828
|
-
/**
|
829
|
-
* A device request opened a user prompt to select a device. Respond with the
|
830
|
-
* selectPrompt or cancelPrompt command.
|
831
|
-
*/
|
832
|
-
'DeviceAccess.deviceRequestPrompted': [Protocol.DeviceAccess.DeviceRequestPromptedEvent];
|
833
|
-
/**
|
834
|
-
* Upsert. Currently, it is only emitted when a rule set added.
|
835
|
-
*/
|
836
|
-
'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
|
837
|
-
'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
|
838
|
-
/**
|
839
|
-
* Fired when a preload enabled state is updated.
|
840
|
-
*/
|
841
|
-
'Preload.preloadEnabledStateUpdated': [Protocol.Preload.PreloadEnabledStateUpdatedEvent];
|
842
|
-
/**
|
843
|
-
* Fired when a prefetch attempt is updated.
|
844
|
-
*/
|
845
|
-
'Preload.prefetchStatusUpdated': [Protocol.Preload.PrefetchStatusUpdatedEvent];
|
846
|
-
/**
|
847
|
-
* Fired when a prerender attempt is updated.
|
848
|
-
*/
|
849
|
-
'Preload.prerenderStatusUpdated': [Protocol.Preload.PrerenderStatusUpdatedEvent];
|
850
|
-
/**
|
851
|
-
* Send a list of sources for all preloading attempts in a document.
|
852
|
-
*/
|
853
|
-
'Preload.preloadingAttemptSourcesUpdated': [Protocol.Preload.PreloadingAttemptSourcesUpdatedEvent];
|
854
|
-
'FedCm.dialogShown': [Protocol.FedCm.DialogShownEvent];
|
855
|
-
/**
|
856
|
-
* Triggered when a dialog is closed, either by user action, JS abort,
|
857
|
-
* or a command below.
|
858
|
-
*/
|
859
|
-
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
|
860
|
-
/**
|
861
|
-
* Event for when a GATT operation of |type| to the peripheral with |address|
|
862
|
-
* happened.
|
863
|
-
*/
|
864
|
-
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
|
865
|
-
/**
|
866
|
-
* Event for when a characteristic operation of |type| to the characteristic
|
867
|
-
* respresented by |characteristicId| happened. |data| and |writeType| is
|
868
|
-
* expected to exist when |type| is write.
|
869
|
-
*/
|
870
|
-
'BluetoothEmulation.characteristicOperationReceived': [Protocol.BluetoothEmulation.CharacteristicOperationReceivedEvent];
|
871
|
-
/**
|
872
|
-
* Event for when a descriptor operation of |type| to the descriptor
|
873
|
-
* respresented by |descriptorId| happened. |data| is expected to exist when
|
874
|
-
* |type| is write.
|
875
|
-
*/
|
876
|
-
'BluetoothEmulation.descriptorOperationReceived': [Protocol.BluetoothEmulation.DescriptorOperationReceivedEvent];
|
877
970
|
}
|
878
971
|
|
879
972
|
export interface Commands {
|
@@ -943,6 +1036,9 @@ export namespace ProtocolMapping {
|
|
943
1036
|
paramsType: [Protocol.Debugger.GetScriptSourceRequest];
|
944
1037
|
returnType: Protocol.Debugger.GetScriptSourceResponse;
|
945
1038
|
};
|
1039
|
+
/**
|
1040
|
+
* @experimental
|
1041
|
+
*/
|
946
1042
|
'Debugger.disassembleWasmModule': {
|
947
1043
|
paramsType: [Protocol.Debugger.DisassembleWasmModuleRequest];
|
948
1044
|
returnType: Protocol.Debugger.DisassembleWasmModuleResponse;
|
@@ -952,6 +1048,7 @@ export namespace ProtocolMapping {
|
|
952
1048
|
* stream. If disassembly is complete, this API will invalidate the streamId
|
953
1049
|
* and return an empty chunk. Any subsequent calls for the now invalid stream
|
954
1050
|
* will return errors.
|
1051
|
+
* @experimental
|
955
1052
|
*/
|
956
1053
|
'Debugger.nextWasmDisassemblyChunk': {
|
957
1054
|
paramsType: [Protocol.Debugger.NextWasmDisassemblyChunkRequest];
|
@@ -959,6 +1056,7 @@ export namespace ProtocolMapping {
|
|
959
1056
|
};
|
960
1057
|
/**
|
961
1058
|
* This command is deprecated. Use getScriptSource instead.
|
1059
|
+
* @deprecated
|
962
1060
|
*/
|
963
1061
|
'Debugger.getWasmBytecode': {
|
964
1062
|
paramsType: [Protocol.Debugger.GetWasmBytecodeRequest];
|
@@ -966,6 +1064,7 @@ export namespace ProtocolMapping {
|
|
966
1064
|
};
|
967
1065
|
/**
|
968
1066
|
* Returns stack trace with given `stackTraceId`.
|
1067
|
+
* @experimental
|
969
1068
|
*/
|
970
1069
|
'Debugger.getStackTrace': {
|
971
1070
|
paramsType: [Protocol.Debugger.GetStackTraceRequest];
|
@@ -978,6 +1077,10 @@ export namespace ProtocolMapping {
|
|
978
1077
|
paramsType: [];
|
979
1078
|
returnType: void;
|
980
1079
|
};
|
1080
|
+
/**
|
1081
|
+
* @deprecated
|
1082
|
+
* @experimental
|
1083
|
+
*/
|
981
1084
|
'Debugger.pauseOnAsyncCall': {
|
982
1085
|
paramsType: [Protocol.Debugger.PauseOnAsyncCallRequest];
|
983
1086
|
returnType: void;
|
@@ -1033,6 +1136,7 @@ export namespace ProtocolMapping {
|
|
1033
1136
|
* Replace previous blackbox execution contexts with passed ones. Forces backend to skip
|
1034
1137
|
* stepping/pausing in scripts in these execution contexts. VM will try to leave blackboxed script by
|
1035
1138
|
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
1139
|
+
* @experimental
|
1036
1140
|
*/
|
1037
1141
|
'Debugger.setBlackboxExecutionContexts': {
|
1038
1142
|
paramsType: [Protocol.Debugger.SetBlackboxExecutionContextsRequest];
|
@@ -1042,6 +1146,7 @@ export namespace ProtocolMapping {
|
|
1042
1146
|
* Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
|
1043
1147
|
* scripts with url matching one of the patterns. VM will try to leave blackboxed script by
|
1044
1148
|
* performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
1149
|
+
* @experimental
|
1045
1150
|
*/
|
1046
1151
|
'Debugger.setBlackboxPatterns': {
|
1047
1152
|
paramsType: [Protocol.Debugger.SetBlackboxPatternsRequest];
|
@@ -1052,6 +1157,7 @@ export namespace ProtocolMapping {
|
|
1052
1157
|
* scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
|
1053
1158
|
* Positions array contains positions where blackbox state is changed. First interval isn't
|
1054
1159
|
* blackboxed. Array should be sorted.
|
1160
|
+
* @experimental
|
1055
1161
|
*/
|
1056
1162
|
'Debugger.setBlackboxedRanges': {
|
1057
1163
|
paramsType: [Protocol.Debugger.SetBlackboxedRangesRequest];
|
@@ -1085,6 +1191,7 @@ export namespace ProtocolMapping {
|
|
1085
1191
|
* Sets JavaScript breakpoint before each call to the given function.
|
1086
1192
|
* If another function was created from the same source as a given one,
|
1087
1193
|
* calling it will also trigger the breakpoint.
|
1194
|
+
* @experimental
|
1088
1195
|
*/
|
1089
1196
|
'Debugger.setBreakpointOnFunctionCall': {
|
1090
1197
|
paramsType: [Protocol.Debugger.SetBreakpointOnFunctionCallRequest];
|
@@ -1107,6 +1214,7 @@ export namespace ProtocolMapping {
|
|
1107
1214
|
};
|
1108
1215
|
/**
|
1109
1216
|
* Changes return value in top frame. Available only at return break position.
|
1217
|
+
* @experimental
|
1110
1218
|
*/
|
1111
1219
|
'Debugger.setReturnValue': {
|
1112
1220
|
paramsType: [Protocol.Debugger.SetReturnValueRequest];
|
@@ -1323,6 +1431,7 @@ export namespace ProtocolMapping {
|
|
1323
1431
|
};
|
1324
1432
|
/**
|
1325
1433
|
* Returns the isolate id.
|
1434
|
+
* @experimental
|
1326
1435
|
*/
|
1327
1436
|
'Runtime.getIsolateId': {
|
1328
1437
|
paramsType: [];
|
@@ -1331,6 +1440,7 @@ export namespace ProtocolMapping {
|
|
1331
1440
|
/**
|
1332
1441
|
* Returns the JavaScript heap usage.
|
1333
1442
|
* It is the total usage of the corresponding isolate not scoped to a particular Runtime.
|
1443
|
+
* @experimental
|
1334
1444
|
*/
|
1335
1445
|
'Runtime.getHeapUsage': {
|
1336
1446
|
paramsType: [];
|
@@ -1390,10 +1500,16 @@ export namespace ProtocolMapping {
|
|
1390
1500
|
paramsType: [Protocol.Runtime.SetAsyncCallStackDepthRequest];
|
1391
1501
|
returnType: void;
|
1392
1502
|
};
|
1503
|
+
/**
|
1504
|
+
* @experimental
|
1505
|
+
*/
|
1393
1506
|
'Runtime.setCustomObjectFormatterEnabled': {
|
1394
1507
|
paramsType: [Protocol.Runtime.SetCustomObjectFormatterEnabledRequest];
|
1395
1508
|
returnType: void;
|
1396
1509
|
};
|
1510
|
+
/**
|
1511
|
+
* @experimental
|
1512
|
+
*/
|
1397
1513
|
'Runtime.setMaxCallStackSizeToCapture': {
|
1398
1514
|
paramsType: [Protocol.Runtime.SetMaxCallStackSizeToCaptureRequest];
|
1399
1515
|
returnType: void;
|
@@ -1401,6 +1517,7 @@ export namespace ProtocolMapping {
|
|
1401
1517
|
/**
|
1402
1518
|
* Terminate current or next JavaScript execution.
|
1403
1519
|
* Will cancel the termination when the outer-most script execution ends.
|
1520
|
+
* @experimental
|
1404
1521
|
*/
|
1405
1522
|
'Runtime.terminateExecution': {
|
1406
1523
|
paramsType: [];
|
@@ -1432,6 +1549,7 @@ export namespace ProtocolMapping {
|
|
1432
1549
|
* Note that the stackTrace portion of the resulting exceptionDetails will
|
1433
1550
|
* only be populated if the Runtime domain was enabled at the time when the
|
1434
1551
|
* Error was thrown.
|
1552
|
+
* @experimental
|
1435
1553
|
*/
|
1436
1554
|
'Runtime.getExceptionDetails': {
|
1437
1555
|
paramsType: [Protocol.Runtime.GetExceptionDetailsRequest];
|
@@ -1461,6 +1579,7 @@ export namespace ProtocolMapping {
|
|
1461
1579
|
};
|
1462
1580
|
/**
|
1463
1581
|
* Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
|
1582
|
+
* @experimental
|
1464
1583
|
*/
|
1465
1584
|
'Accessibility.getPartialAXTree': {
|
1466
1585
|
paramsType: [Protocol.Accessibility.GetPartialAXTreeRequest?];
|
@@ -1468,6 +1587,7 @@ export namespace ProtocolMapping {
|
|
1468
1587
|
};
|
1469
1588
|
/**
|
1470
1589
|
* Fetches the entire accessibility tree for the root Document
|
1590
|
+
* @experimental
|
1471
1591
|
*/
|
1472
1592
|
'Accessibility.getFullAXTree': {
|
1473
1593
|
paramsType: [Protocol.Accessibility.GetFullAXTreeRequest?];
|
@@ -1476,6 +1596,7 @@ export namespace ProtocolMapping {
|
|
1476
1596
|
/**
|
1477
1597
|
* Fetches the root node.
|
1478
1598
|
* Requires `enable()` to have been called previously.
|
1599
|
+
* @experimental
|
1479
1600
|
*/
|
1480
1601
|
'Accessibility.getRootAXNode': {
|
1481
1602
|
paramsType: [Protocol.Accessibility.GetRootAXNodeRequest?];
|
@@ -1484,6 +1605,7 @@ export namespace ProtocolMapping {
|
|
1484
1605
|
/**
|
1485
1606
|
* Fetches a node and all ancestors up to and including the root.
|
1486
1607
|
* Requires `enable()` to have been called previously.
|
1608
|
+
* @experimental
|
1487
1609
|
*/
|
1488
1610
|
'Accessibility.getAXNodeAndAncestors': {
|
1489
1611
|
paramsType: [Protocol.Accessibility.GetAXNodeAndAncestorsRequest?];
|
@@ -1492,6 +1614,7 @@ export namespace ProtocolMapping {
|
|
1492
1614
|
/**
|
1493
1615
|
* Fetches a particular accessibility node by AXNodeId.
|
1494
1616
|
* Requires `enable()` to have been called previously.
|
1617
|
+
* @experimental
|
1495
1618
|
*/
|
1496
1619
|
'Accessibility.getChildAXNodes': {
|
1497
1620
|
paramsType: [Protocol.Accessibility.GetChildAXNodesRequest];
|
@@ -1503,6 +1626,7 @@ export namespace ProtocolMapping {
|
|
1503
1626
|
* ignored for accessibility, and returns those that match the specified name and role. If no DOM
|
1504
1627
|
* node is specified, or the DOM node does not exist, the command returns an error. If neither
|
1505
1628
|
* `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
|
1629
|
+
* @experimental
|
1506
1630
|
*/
|
1507
1631
|
'Accessibility.queryAXTree': {
|
1508
1632
|
paramsType: [Protocol.Accessibility.QueryAXTreeRequest?];
|
@@ -1618,114 +1742,185 @@ export namespace ProtocolMapping {
|
|
1618
1742
|
returnType: Protocol.Audits.CheckFormsIssuesResponse;
|
1619
1743
|
};
|
1620
1744
|
/**
|
1621
|
-
*
|
1622
|
-
*
|
1623
|
-
* has been installed. Available if the client is connected using the
|
1624
|
-
* --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
|
1625
|
-
* flag is set.
|
1745
|
+
* Trigger autofill on a form identified by the fieldId.
|
1746
|
+
* If the field and related form cannot be autofilled, returns an error.
|
1626
1747
|
*/
|
1627
|
-
'
|
1628
|
-
paramsType: [Protocol.
|
1629
|
-
returnType:
|
1748
|
+
'Autofill.trigger': {
|
1749
|
+
paramsType: [Protocol.Autofill.TriggerRequest];
|
1750
|
+
returnType: void;
|
1630
1751
|
};
|
1631
1752
|
/**
|
1632
|
-
*
|
1633
|
-
* Available if the client is connected using the --remote-debugging-pipe flag
|
1634
|
-
* and the --enable-unsafe-extension-debugging.
|
1753
|
+
* Set addresses so that developers can verify their forms implementation.
|
1635
1754
|
*/
|
1636
|
-
'
|
1637
|
-
paramsType: [Protocol.
|
1755
|
+
'Autofill.setAddresses': {
|
1756
|
+
paramsType: [Protocol.Autofill.SetAddressesRequest];
|
1638
1757
|
returnType: void;
|
1639
1758
|
};
|
1640
1759
|
/**
|
1641
|
-
*
|
1642
|
-
* specified, these are used to filter the result.
|
1760
|
+
* Disables autofill domain notifications.
|
1643
1761
|
*/
|
1644
|
-
'
|
1645
|
-
paramsType: [
|
1646
|
-
returnType:
|
1762
|
+
'Autofill.disable': {
|
1763
|
+
paramsType: [];
|
1764
|
+
returnType: void;
|
1647
1765
|
};
|
1648
1766
|
/**
|
1649
|
-
*
|
1767
|
+
* Enables autofill domain notifications.
|
1650
1768
|
*/
|
1651
|
-
'
|
1652
|
-
paramsType: [
|
1769
|
+
'Autofill.enable': {
|
1770
|
+
paramsType: [];
|
1653
1771
|
returnType: void;
|
1654
1772
|
};
|
1655
1773
|
/**
|
1656
|
-
*
|
1774
|
+
* Enables event updates for the service.
|
1657
1775
|
*/
|
1658
|
-
'
|
1659
|
-
paramsType: [Protocol.
|
1776
|
+
'BackgroundService.startObserving': {
|
1777
|
+
paramsType: [Protocol.BackgroundService.StartObservingRequest];
|
1660
1778
|
returnType: void;
|
1661
1779
|
};
|
1662
1780
|
/**
|
1663
|
-
*
|
1664
|
-
* will be merged with existing values in the storage area.
|
1781
|
+
* Disables event updates for the service.
|
1665
1782
|
*/
|
1666
|
-
'
|
1667
|
-
paramsType: [Protocol.
|
1783
|
+
'BackgroundService.stopObserving': {
|
1784
|
+
paramsType: [Protocol.BackgroundService.StopObservingRequest];
|
1668
1785
|
returnType: void;
|
1669
1786
|
};
|
1670
1787
|
/**
|
1671
|
-
*
|
1672
|
-
* If the field and related form cannot be autofilled, returns an error.
|
1788
|
+
* Set the recording state for the service.
|
1673
1789
|
*/
|
1674
|
-
'
|
1675
|
-
paramsType: [Protocol.
|
1790
|
+
'BackgroundService.setRecording': {
|
1791
|
+
paramsType: [Protocol.BackgroundService.SetRecordingRequest];
|
1676
1792
|
returnType: void;
|
1677
1793
|
};
|
1678
1794
|
/**
|
1679
|
-
*
|
1795
|
+
* Clears all stored data for the service.
|
1680
1796
|
*/
|
1681
|
-
'
|
1682
|
-
paramsType: [Protocol.
|
1797
|
+
'BackgroundService.clearEvents': {
|
1798
|
+
paramsType: [Protocol.BackgroundService.ClearEventsRequest];
|
1683
1799
|
returnType: void;
|
1684
1800
|
};
|
1685
1801
|
/**
|
1686
|
-
*
|
1802
|
+
* Enable the BluetoothEmulation domain.
|
1687
1803
|
*/
|
1688
|
-
'
|
1689
|
-
paramsType: [];
|
1804
|
+
'BluetoothEmulation.enable': {
|
1805
|
+
paramsType: [Protocol.BluetoothEmulation.EnableRequest];
|
1690
1806
|
returnType: void;
|
1691
1807
|
};
|
1692
1808
|
/**
|
1693
|
-
*
|
1809
|
+
* Set the state of the simulated central.
|
1694
1810
|
*/
|
1695
|
-
'
|
1811
|
+
'BluetoothEmulation.setSimulatedCentralState': {
|
1812
|
+
paramsType: [Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest];
|
1813
|
+
returnType: void;
|
1814
|
+
};
|
1815
|
+
/**
|
1816
|
+
* Disable the BluetoothEmulation domain.
|
1817
|
+
*/
|
1818
|
+
'BluetoothEmulation.disable': {
|
1696
1819
|
paramsType: [];
|
1697
1820
|
returnType: void;
|
1698
1821
|
};
|
1699
1822
|
/**
|
1700
|
-
*
|
1823
|
+
* Simulates a peripheral with |address|, |name| and |knownServiceUuids|
|
1824
|
+
* that has already been connected to the system.
|
1701
1825
|
*/
|
1702
|
-
'
|
1703
|
-
paramsType: [Protocol.
|
1826
|
+
'BluetoothEmulation.simulatePreconnectedPeripheral': {
|
1827
|
+
paramsType: [Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest];
|
1704
1828
|
returnType: void;
|
1705
1829
|
};
|
1706
1830
|
/**
|
1707
|
-
*
|
1831
|
+
* Simulates an advertisement packet described in |entry| being received by
|
1832
|
+
* the central.
|
1708
1833
|
*/
|
1709
|
-
'
|
1710
|
-
paramsType: [Protocol.
|
1834
|
+
'BluetoothEmulation.simulateAdvertisement': {
|
1835
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
1711
1836
|
returnType: void;
|
1712
1837
|
};
|
1713
1838
|
/**
|
1714
|
-
*
|
1839
|
+
* Simulates the response code from the peripheral with |address| for a
|
1840
|
+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
1841
|
+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
1715
1842
|
*/
|
1716
|
-
'
|
1717
|
-
paramsType: [Protocol.
|
1843
|
+
'BluetoothEmulation.simulateGATTOperationResponse': {
|
1844
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
|
1718
1845
|
returnType: void;
|
1719
1846
|
};
|
1720
1847
|
/**
|
1721
|
-
*
|
1848
|
+
* Simulates the response from the characteristic with |characteristicId| for a
|
1849
|
+
* characteristic operation of |type|. The |code| value follows the Error
|
1850
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
1851
|
+
* The |data| is expected to exist when simulating a successful read operation
|
1852
|
+
* response.
|
1722
1853
|
*/
|
1723
|
-
'
|
1724
|
-
paramsType: [Protocol.
|
1854
|
+
'BluetoothEmulation.simulateCharacteristicOperationResponse': {
|
1855
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
1856
|
+
returnType: void;
|
1857
|
+
};
|
1858
|
+
/**
|
1859
|
+
* Simulates the response from the descriptor with |descriptorId| for a
|
1860
|
+
* descriptor operation of |type|. The |code| value follows the Error
|
1861
|
+
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
1862
|
+
* The |data| is expected to exist when simulating a successful read operation
|
1863
|
+
* response.
|
1864
|
+
*/
|
1865
|
+
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
1866
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
1867
|
+
returnType: void;
|
1868
|
+
};
|
1869
|
+
/**
|
1870
|
+
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
1871
|
+
*/
|
1872
|
+
'BluetoothEmulation.addService': {
|
1873
|
+
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
|
1874
|
+
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
1875
|
+
};
|
1876
|
+
/**
|
1877
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
1878
|
+
*/
|
1879
|
+
'BluetoothEmulation.removeService': {
|
1880
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
1881
|
+
returnType: void;
|
1882
|
+
};
|
1883
|
+
/**
|
1884
|
+
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
1885
|
+
* service represented by |serviceId|.
|
1886
|
+
*/
|
1887
|
+
'BluetoothEmulation.addCharacteristic': {
|
1888
|
+
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
1889
|
+
returnType: Protocol.BluetoothEmulation.AddCharacteristicResponse;
|
1890
|
+
};
|
1891
|
+
/**
|
1892
|
+
* Removes the characteristic respresented by |characteristicId| from the
|
1893
|
+
* simulated central.
|
1894
|
+
*/
|
1895
|
+
'BluetoothEmulation.removeCharacteristic': {
|
1896
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
1897
|
+
returnType: void;
|
1898
|
+
};
|
1899
|
+
/**
|
1900
|
+
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
1901
|
+
* by |characteristicId|.
|
1902
|
+
*/
|
1903
|
+
'BluetoothEmulation.addDescriptor': {
|
1904
|
+
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
1905
|
+
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
1906
|
+
};
|
1907
|
+
/**
|
1908
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
1909
|
+
*/
|
1910
|
+
'BluetoothEmulation.removeDescriptor': {
|
1911
|
+
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
1912
|
+
returnType: void;
|
1913
|
+
};
|
1914
|
+
/**
|
1915
|
+
* Simulates a GATT disconnection from the peripheral with |address|.
|
1916
|
+
*/
|
1917
|
+
'BluetoothEmulation.simulateGATTDisconnection': {
|
1918
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
1725
1919
|
returnType: void;
|
1726
1920
|
};
|
1727
1921
|
/**
|
1728
1922
|
* Set permission settings for given origin.
|
1923
|
+
* @experimental
|
1729
1924
|
*/
|
1730
1925
|
'Browser.setPermission': {
|
1731
1926
|
paramsType: [Protocol.Browser.SetPermissionRequest];
|
@@ -1733,6 +1928,7 @@ export namespace ProtocolMapping {
|
|
1733
1928
|
};
|
1734
1929
|
/**
|
1735
1930
|
* Grant specific permissions to the given origin and reject all others.
|
1931
|
+
* @experimental
|
1736
1932
|
*/
|
1737
1933
|
'Browser.grantPermissions': {
|
1738
1934
|
paramsType: [Protocol.Browser.GrantPermissionsRequest];
|
@@ -1747,6 +1943,7 @@ export namespace ProtocolMapping {
|
|
1747
1943
|
};
|
1748
1944
|
/**
|
1749
1945
|
* Set the behavior when downloading a file.
|
1946
|
+
* @experimental
|
1750
1947
|
*/
|
1751
1948
|
'Browser.setDownloadBehavior': {
|
1752
1949
|
paramsType: [Protocol.Browser.SetDownloadBehaviorRequest];
|
@@ -1754,6 +1951,7 @@ export namespace ProtocolMapping {
|
|
1754
1951
|
};
|
1755
1952
|
/**
|
1756
1953
|
* Cancel a download if in progress
|
1954
|
+
* @experimental
|
1757
1955
|
*/
|
1758
1956
|
'Browser.cancelDownload': {
|
1759
1957
|
paramsType: [Protocol.Browser.CancelDownloadRequest];
|
@@ -1768,6 +1966,7 @@ export namespace ProtocolMapping {
|
|
1768
1966
|
};
|
1769
1967
|
/**
|
1770
1968
|
* Crashes browser on the main thread.
|
1969
|
+
* @experimental
|
1771
1970
|
*/
|
1772
1971
|
'Browser.crash': {
|
1773
1972
|
paramsType: [];
|
@@ -1775,6 +1974,7 @@ export namespace ProtocolMapping {
|
|
1775
1974
|
};
|
1776
1975
|
/**
|
1777
1976
|
* Crashes GPU process.
|
1977
|
+
* @experimental
|
1778
1978
|
*/
|
1779
1979
|
'Browser.crashGpuProcess': {
|
1780
1980
|
paramsType: [];
|
@@ -1790,6 +1990,7 @@ export namespace ProtocolMapping {
|
|
1790
1990
|
/**
|
1791
1991
|
* Returns the command line switches for the browser process if, and only if
|
1792
1992
|
* --enable-automation is on the commandline.
|
1993
|
+
* @experimental
|
1793
1994
|
*/
|
1794
1995
|
'Browser.getBrowserCommandLine': {
|
1795
1996
|
paramsType: [];
|
@@ -1797,6 +1998,7 @@ export namespace ProtocolMapping {
|
|
1797
1998
|
};
|
1798
1999
|
/**
|
1799
2000
|
* Get Chrome histograms.
|
2001
|
+
* @experimental
|
1800
2002
|
*/
|
1801
2003
|
'Browser.getHistograms': {
|
1802
2004
|
paramsType: [Protocol.Browser.GetHistogramsRequest?];
|
@@ -1804,6 +2006,7 @@ export namespace ProtocolMapping {
|
|
1804
2006
|
};
|
1805
2007
|
/**
|
1806
2008
|
* Get a Chrome histogram by name.
|
2009
|
+
* @experimental
|
1807
2010
|
*/
|
1808
2011
|
'Browser.getHistogram': {
|
1809
2012
|
paramsType: [Protocol.Browser.GetHistogramRequest];
|
@@ -1811,6 +2014,7 @@ export namespace ProtocolMapping {
|
|
1811
2014
|
};
|
1812
2015
|
/**
|
1813
2016
|
* Get position and size of the browser window.
|
2017
|
+
* @experimental
|
1814
2018
|
*/
|
1815
2019
|
'Browser.getWindowBounds': {
|
1816
2020
|
paramsType: [Protocol.Browser.GetWindowBoundsRequest];
|
@@ -1818,6 +2022,7 @@ export namespace ProtocolMapping {
|
|
1818
2022
|
};
|
1819
2023
|
/**
|
1820
2024
|
* Get the browser window that contains the devtools target.
|
2025
|
+
* @experimental
|
1821
2026
|
*/
|
1822
2027
|
'Browser.getWindowForTarget': {
|
1823
2028
|
paramsType: [Protocol.Browser.GetWindowForTargetRequest?];
|
@@ -1825,6 +2030,7 @@ export namespace ProtocolMapping {
|
|
1825
2030
|
};
|
1826
2031
|
/**
|
1827
2032
|
* Set position and/or size of the browser window.
|
2033
|
+
* @experimental
|
1828
2034
|
*/
|
1829
2035
|
'Browser.setWindowBounds': {
|
1830
2036
|
paramsType: [Protocol.Browser.SetWindowBoundsRequest];
|
@@ -1832,6 +2038,7 @@ export namespace ProtocolMapping {
|
|
1832
2038
|
};
|
1833
2039
|
/**
|
1834
2040
|
* Set size of the browser contents resizing browser window as necessary.
|
2041
|
+
* @experimental
|
1835
2042
|
*/
|
1836
2043
|
'Browser.setContentsSize': {
|
1837
2044
|
paramsType: [Protocol.Browser.SetContentsSizeRequest];
|
@@ -1839,6 +2046,7 @@ export namespace ProtocolMapping {
|
|
1839
2046
|
};
|
1840
2047
|
/**
|
1841
2048
|
* Set dock tile details, platform-specific.
|
2049
|
+
* @experimental
|
1842
2050
|
*/
|
1843
2051
|
'Browser.setDockTile': {
|
1844
2052
|
paramsType: [Protocol.Browser.SetDockTileRequest?];
|
@@ -1846,6 +2054,7 @@ export namespace ProtocolMapping {
|
|
1846
2054
|
};
|
1847
2055
|
/**
|
1848
2056
|
* Invoke custom browser commands used by telemetry.
|
2057
|
+
* @experimental
|
1849
2058
|
*/
|
1850
2059
|
'Browser.executeBrowserCommand': {
|
1851
2060
|
paramsType: [Protocol.Browser.ExecuteBrowserCommandRequest];
|
@@ -1942,11 +2151,15 @@ export namespace ProtocolMapping {
|
|
1942
2151
|
* to the provided property syntax, the value is parsed using combined
|
1943
2152
|
* syntax as if null `propertyName` was provided. If the value cannot be
|
1944
2153
|
* resolved even then, return the provided value without any changes.
|
2154
|
+
* @experimental
|
1945
2155
|
*/
|
1946
2156
|
'CSS.resolveValues': {
|
1947
2157
|
paramsType: [Protocol.CSS.ResolveValuesRequest];
|
1948
2158
|
returnType: Protocol.CSS.ResolveValuesResponse;
|
1949
2159
|
};
|
2160
|
+
/**
|
2161
|
+
* @experimental
|
2162
|
+
*/
|
1950
2163
|
'CSS.getLonghandProperties': {
|
1951
2164
|
paramsType: [Protocol.CSS.GetLonghandPropertiesRequest];
|
1952
2165
|
returnType: Protocol.CSS.GetLonghandPropertiesResponse;
|
@@ -1962,6 +2175,7 @@ export namespace ProtocolMapping {
|
|
1962
2175
|
/**
|
1963
2176
|
* Returns the styles coming from animations & transitions
|
1964
2177
|
* including the animation & transition styles coming from inheritance chain.
|
2178
|
+
* @experimental
|
1965
2179
|
*/
|
1966
2180
|
'CSS.getAnimatedStylesForNode': {
|
1967
2181
|
paramsType: [Protocol.CSS.GetAnimatedStylesForNodeRequest];
|
@@ -1976,6 +2190,7 @@ export namespace ProtocolMapping {
|
|
1976
2190
|
};
|
1977
2191
|
/**
|
1978
2192
|
* Returns the values of the default UA-defined environment variables used in env()
|
2193
|
+
* @experimental
|
1979
2194
|
*/
|
1980
2195
|
'CSS.getEnvironmentVariables': {
|
1981
2196
|
paramsType: [];
|
@@ -2008,6 +2223,7 @@ export namespace ProtocolMapping {
|
|
2008
2223
|
* Given a DOM element identified by nodeId, getLayersForNode returns the root
|
2009
2224
|
* layer for the nearest ancestor document or shadow root. The layer root contains
|
2010
2225
|
* the full layer tree for the tree scope and their ordering.
|
2226
|
+
* @experimental
|
2011
2227
|
*/
|
2012
2228
|
'CSS.getLayersForNode': {
|
2013
2229
|
paramsType: [Protocol.CSS.GetLayersForNodeRequest];
|
@@ -2016,6 +2232,7 @@ export namespace ProtocolMapping {
|
|
2016
2232
|
/**
|
2017
2233
|
* Given a CSS selector text and a style sheet ID, getLocationForSelector
|
2018
2234
|
* returns an array of locations of the CSS selector in the style sheet.
|
2235
|
+
* @experimental
|
2019
2236
|
*/
|
2020
2237
|
'CSS.getLocationForSelector': {
|
2021
2238
|
paramsType: [Protocol.CSS.GetLocationForSelectorRequest];
|
@@ -2028,6 +2245,7 @@ export namespace ProtocolMapping {
|
|
2028
2245
|
* There can only be 1 node tracked for computed style updates
|
2029
2246
|
* so passing a new node id removes tracking from the previous node.
|
2030
2247
|
* Pass `undefined` to disable tracking.
|
2248
|
+
* @experimental
|
2031
2249
|
*/
|
2032
2250
|
'CSS.trackComputedStyleUpdatesForNode': {
|
2033
2251
|
paramsType: [Protocol.CSS.TrackComputedStyleUpdatesForNodeRequest?];
|
@@ -2040,6 +2258,7 @@ export namespace ProtocolMapping {
|
|
2040
2258
|
* The changes to computed style properties are only tracked for nodes pushed to the front-end
|
2041
2259
|
* by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
|
2042
2260
|
* to the front-end, no updates will be issued for the node.
|
2261
|
+
* @experimental
|
2043
2262
|
*/
|
2044
2263
|
'CSS.trackComputedStyleUpdates': {
|
2045
2264
|
paramsType: [Protocol.CSS.TrackComputedStyleUpdatesRequest];
|
@@ -2047,6 +2266,7 @@ export namespace ProtocolMapping {
|
|
2047
2266
|
};
|
2048
2267
|
/**
|
2049
2268
|
* Polls the next batch of computed style updates.
|
2269
|
+
* @experimental
|
2050
2270
|
*/
|
2051
2271
|
'CSS.takeComputedStyleUpdates': {
|
2052
2272
|
paramsType: [];
|
@@ -2083,6 +2303,7 @@ export namespace ProtocolMapping {
|
|
2083
2303
|
};
|
2084
2304
|
/**
|
2085
2305
|
* Modifies the expression of a container query.
|
2306
|
+
* @experimental
|
2086
2307
|
*/
|
2087
2308
|
'CSS.setContainerQueryText': {
|
2088
2309
|
paramsType: [Protocol.CSS.SetContainerQueryTextRequest];
|
@@ -2090,6 +2311,7 @@ export namespace ProtocolMapping {
|
|
2090
2311
|
};
|
2091
2312
|
/**
|
2092
2313
|
* Modifies the expression of a supports at-rule.
|
2314
|
+
* @experimental
|
2093
2315
|
*/
|
2094
2316
|
'CSS.setSupportsText': {
|
2095
2317
|
paramsType: [Protocol.CSS.SetSupportsTextRequest];
|
@@ -2097,6 +2319,7 @@ export namespace ProtocolMapping {
|
|
2097
2319
|
};
|
2098
2320
|
/**
|
2099
2321
|
* Modifies the expression of a scope at-rule.
|
2322
|
+
* @experimental
|
2100
2323
|
*/
|
2101
2324
|
'CSS.setScopeText': {
|
2102
2325
|
paramsType: [Protocol.CSS.SetScopeTextRequest];
|
@@ -2148,6 +2371,7 @@ export namespace ProtocolMapping {
|
|
2148
2371
|
};
|
2149
2372
|
/**
|
2150
2373
|
* Enables/disables rendering of local CSS fonts (enabled by default).
|
2374
|
+
* @experimental
|
2151
2375
|
*/
|
2152
2376
|
'CSS.setLocalFontsEnabled': {
|
2153
2377
|
paramsType: [Protocol.CSS.SetLocalFontsEnabledRequest];
|
@@ -2237,6 +2461,7 @@ export namespace ProtocolMapping {
|
|
2237
2461
|
};
|
2238
2462
|
/**
|
2239
2463
|
* Collects class names for the node with given id and all of it's child nodes.
|
2464
|
+
* @experimental
|
2240
2465
|
*/
|
2241
2466
|
'DOM.collectClassNamesFromSubtree': {
|
2242
2467
|
paramsType: [Protocol.DOM.CollectClassNamesFromSubtreeRequest];
|
@@ -2245,6 +2470,7 @@ export namespace ProtocolMapping {
|
|
2245
2470
|
/**
|
2246
2471
|
* Creates a deep copy of the specified node and places it into the target container before the
|
2247
2472
|
* given anchor.
|
2473
|
+
* @experimental
|
2248
2474
|
*/
|
2249
2475
|
'DOM.copyTo': {
|
2250
2476
|
paramsType: [Protocol.DOM.CopyToRequest];
|
@@ -2277,6 +2503,7 @@ export namespace ProtocolMapping {
|
|
2277
2503
|
/**
|
2278
2504
|
* Discards search results from the session with the given id. `getSearchResults` should no longer
|
2279
2505
|
* be called for that search.
|
2506
|
+
* @experimental
|
2280
2507
|
*/
|
2281
2508
|
'DOM.discardSearchResults': {
|
2282
2509
|
paramsType: [Protocol.DOM.DiscardSearchResultsRequest];
|
@@ -2313,6 +2540,7 @@ export namespace ProtocolMapping {
|
|
2313
2540
|
/**
|
2314
2541
|
* Returns quads that describe node position on the page. This method
|
2315
2542
|
* might return multiple quads for inline nodes.
|
2543
|
+
* @experimental
|
2316
2544
|
*/
|
2317
2545
|
'DOM.getContentQuads': {
|
2318
2546
|
paramsType: [Protocol.DOM.GetContentQuadsRequest?];
|
@@ -2330,6 +2558,7 @@ export namespace ProtocolMapping {
|
|
2330
2558
|
* Returns the root DOM node (and optionally the subtree) to the caller.
|
2331
2559
|
* Deprecated, as it is not designed to work well with the rest of the DOM agent.
|
2332
2560
|
* Use DOMSnapshot.captureSnapshot instead.
|
2561
|
+
* @deprecated
|
2333
2562
|
*/
|
2334
2563
|
'DOM.getFlattenedDocument': {
|
2335
2564
|
paramsType: [Protocol.DOM.GetFlattenedDocumentRequest?];
|
@@ -2337,6 +2566,7 @@ export namespace ProtocolMapping {
|
|
2337
2566
|
};
|
2338
2567
|
/**
|
2339
2568
|
* Finds nodes with a given computed style in a subtree.
|
2569
|
+
* @experimental
|
2340
2570
|
*/
|
2341
2571
|
'DOM.getNodesForSubtreeByStyle': {
|
2342
2572
|
paramsType: [Protocol.DOM.GetNodesForSubtreeByStyleRequest];
|
@@ -2359,6 +2589,7 @@ export namespace ProtocolMapping {
|
|
2359
2589
|
};
|
2360
2590
|
/**
|
2361
2591
|
* Returns the id of the nearest ancestor that is a relayout boundary.
|
2592
|
+
* @experimental
|
2362
2593
|
*/
|
2363
2594
|
'DOM.getRelayoutBoundary': {
|
2364
2595
|
paramsType: [Protocol.DOM.GetRelayoutBoundaryRequest];
|
@@ -2367,6 +2598,7 @@ export namespace ProtocolMapping {
|
|
2367
2598
|
/**
|
2368
2599
|
* Returns search results from given `fromIndex` to given `toIndex` from the search with the given
|
2369
2600
|
* identifier.
|
2601
|
+
* @experimental
|
2370
2602
|
*/
|
2371
2603
|
'DOM.getSearchResults': {
|
2372
2604
|
paramsType: [Protocol.DOM.GetSearchResultsRequest];
|
@@ -2395,6 +2627,7 @@ export namespace ProtocolMapping {
|
|
2395
2627
|
};
|
2396
2628
|
/**
|
2397
2629
|
* Marks last undoable state.
|
2630
|
+
* @experimental
|
2398
2631
|
*/
|
2399
2632
|
'DOM.markUndoableState': {
|
2400
2633
|
paramsType: [];
|
@@ -2410,6 +2643,7 @@ export namespace ProtocolMapping {
|
|
2410
2643
|
/**
|
2411
2644
|
* Searches for a given string in the DOM tree. Use `getSearchResults` to access search results or
|
2412
2645
|
* `cancelSearch` to end this search session.
|
2646
|
+
* @experimental
|
2413
2647
|
*/
|
2414
2648
|
'DOM.performSearch': {
|
2415
2649
|
paramsType: [Protocol.DOM.PerformSearchRequest];
|
@@ -2417,6 +2651,7 @@ export namespace ProtocolMapping {
|
|
2417
2651
|
};
|
2418
2652
|
/**
|
2419
2653
|
* Requests that the node is sent to the caller given its path. // FIXME, use XPath
|
2654
|
+
* @experimental
|
2420
2655
|
*/
|
2421
2656
|
'DOM.pushNodeByPathToFrontend': {
|
2422
2657
|
paramsType: [Protocol.DOM.PushNodeByPathToFrontendRequest];
|
@@ -2424,6 +2659,7 @@ export namespace ProtocolMapping {
|
|
2424
2659
|
};
|
2425
2660
|
/**
|
2426
2661
|
* Requests that a batch of nodes is sent to the caller given their backend node ids.
|
2662
|
+
* @experimental
|
2427
2663
|
*/
|
2428
2664
|
'DOM.pushNodesByBackendIdsToFrontend': {
|
2429
2665
|
paramsType: [Protocol.DOM.PushNodesByBackendIdsToFrontendRequest];
|
@@ -2447,6 +2683,7 @@ export namespace ProtocolMapping {
|
|
2447
2683
|
* Returns NodeIds of current top layer elements.
|
2448
2684
|
* Top layer is rendered closest to the user within a viewport, therefore its elements always
|
2449
2685
|
* appear on top of all other content.
|
2686
|
+
* @experimental
|
2450
2687
|
*/
|
2451
2688
|
'DOM.getTopLayerElements': {
|
2452
2689
|
paramsType: [];
|
@@ -2454,6 +2691,7 @@ export namespace ProtocolMapping {
|
|
2454
2691
|
};
|
2455
2692
|
/**
|
2456
2693
|
* Returns the NodeId of the matched element according to certain relations.
|
2694
|
+
* @experimental
|
2457
2695
|
*/
|
2458
2696
|
'DOM.getElementByRelation': {
|
2459
2697
|
paramsType: [Protocol.DOM.GetElementByRelationRequest];
|
@@ -2461,6 +2699,7 @@ export namespace ProtocolMapping {
|
|
2461
2699
|
};
|
2462
2700
|
/**
|
2463
2701
|
* Re-does the last undone action.
|
2702
|
+
* @experimental
|
2464
2703
|
*/
|
2465
2704
|
'DOM.redo': {
|
2466
2705
|
paramsType: [];
|
@@ -2529,6 +2768,7 @@ export namespace ProtocolMapping {
|
|
2529
2768
|
};
|
2530
2769
|
/**
|
2531
2770
|
* Sets if stack traces should be captured for Nodes. See `Node.getNodeStackTraces`. Default is disabled.
|
2771
|
+
* @experimental
|
2532
2772
|
*/
|
2533
2773
|
'DOM.setNodeStackTracesEnabled': {
|
2534
2774
|
paramsType: [Protocol.DOM.SetNodeStackTracesEnabledRequest];
|
@@ -2536,6 +2776,7 @@ export namespace ProtocolMapping {
|
|
2536
2776
|
};
|
2537
2777
|
/**
|
2538
2778
|
* Gets stack traces associated with a Node. As of now, only provides stack trace for Node creation.
|
2779
|
+
* @experimental
|
2539
2780
|
*/
|
2540
2781
|
'DOM.getNodeStackTraces': {
|
2541
2782
|
paramsType: [Protocol.DOM.GetNodeStackTracesRequest];
|
@@ -2544,6 +2785,7 @@ export namespace ProtocolMapping {
|
|
2544
2785
|
/**
|
2545
2786
|
* Returns file information for the given
|
2546
2787
|
* File wrapper.
|
2788
|
+
* @experimental
|
2547
2789
|
*/
|
2548
2790
|
'DOM.getFileInfo': {
|
2549
2791
|
paramsType: [Protocol.DOM.GetFileInfoRequest];
|
@@ -2551,6 +2793,7 @@ export namespace ProtocolMapping {
|
|
2551
2793
|
};
|
2552
2794
|
/**
|
2553
2795
|
* Returns list of detached nodes
|
2796
|
+
* @experimental
|
2554
2797
|
*/
|
2555
2798
|
'DOM.getDetachedDomNodes': {
|
2556
2799
|
paramsType: [];
|
@@ -2559,6 +2802,7 @@ export namespace ProtocolMapping {
|
|
2559
2802
|
/**
|
2560
2803
|
* Enables console to refer to the node with given id via $x (see Command Line API for more details
|
2561
2804
|
* $x functions).
|
2805
|
+
* @experimental
|
2562
2806
|
*/
|
2563
2807
|
'DOM.setInspectedNode': {
|
2564
2808
|
paramsType: [Protocol.DOM.SetInspectedNodeRequest];
|
@@ -2587,6 +2831,7 @@ export namespace ProtocolMapping {
|
|
2587
2831
|
};
|
2588
2832
|
/**
|
2589
2833
|
* Undoes the last performed action.
|
2834
|
+
* @experimental
|
2590
2835
|
*/
|
2591
2836
|
'DOM.undo': {
|
2592
2837
|
paramsType: [];
|
@@ -2594,6 +2839,7 @@ export namespace ProtocolMapping {
|
|
2594
2839
|
};
|
2595
2840
|
/**
|
2596
2841
|
* Returns iframe node that owns iframe with the given domain.
|
2842
|
+
* @experimental
|
2597
2843
|
*/
|
2598
2844
|
'DOM.getFrameOwner': {
|
2599
2845
|
paramsType: [Protocol.DOM.GetFrameOwnerRequest];
|
@@ -2605,6 +2851,7 @@ export namespace ProtocolMapping {
|
|
2605
2851
|
* scroll-state or anchored elements. If no axes are provided and
|
2606
2852
|
* queriesScrollState is false, the style container is returned, which is the
|
2607
2853
|
* direct parent or the closest element with a matching container-name.
|
2854
|
+
* @experimental
|
2608
2855
|
*/
|
2609
2856
|
'DOM.getContainerForNode': {
|
2610
2857
|
paramsType: [Protocol.DOM.GetContainerForNodeRequest];
|
@@ -2613,6 +2860,7 @@ export namespace ProtocolMapping {
|
|
2613
2860
|
/**
|
2614
2861
|
* Returns the descendants of a container query container that have
|
2615
2862
|
* container queries against this container.
|
2863
|
+
* @experimental
|
2616
2864
|
*/
|
2617
2865
|
'DOM.getQueryingDescendantsForContainer': {
|
2618
2866
|
paramsType: [Protocol.DOM.GetQueryingDescendantsForContainerRequest];
|
@@ -2621,6 +2869,7 @@ export namespace ProtocolMapping {
|
|
2621
2869
|
/**
|
2622
2870
|
* Returns the target anchor element of the given anchor query according to
|
2623
2871
|
* https://www.w3.org/TR/css-anchor-position-1/#target.
|
2872
|
+
* @experimental
|
2624
2873
|
*/
|
2625
2874
|
'DOM.getAnchorElement': {
|
2626
2875
|
paramsType: [Protocol.DOM.GetAnchorElementRequest];
|
@@ -2629,6 +2878,7 @@ export namespace ProtocolMapping {
|
|
2629
2878
|
/**
|
2630
2879
|
* When enabling, this API force-opens the popover identified by nodeId
|
2631
2880
|
* and keeps it open until disabled.
|
2881
|
+
* @experimental
|
2632
2882
|
*/
|
2633
2883
|
'DOM.forceShowPopover': {
|
2634
2884
|
paramsType: [Protocol.DOM.ForceShowPopoverRequest];
|
@@ -2657,6 +2907,8 @@ export namespace ProtocolMapping {
|
|
2657
2907
|
};
|
2658
2908
|
/**
|
2659
2909
|
* Removes breakpoint on particular native event.
|
2910
|
+
* @deprecated
|
2911
|
+
* @experimental
|
2660
2912
|
*/
|
2661
2913
|
'DOMDebugger.removeInstrumentationBreakpoint': {
|
2662
2914
|
paramsType: [Protocol.DOMDebugger.RemoveInstrumentationBreakpointRequest];
|
@@ -2671,6 +2923,7 @@ export namespace ProtocolMapping {
|
|
2671
2923
|
};
|
2672
2924
|
/**
|
2673
2925
|
* Sets breakpoint on particular CSP violations.
|
2926
|
+
* @experimental
|
2674
2927
|
*/
|
2675
2928
|
'DOMDebugger.setBreakOnCSPViolation': {
|
2676
2929
|
paramsType: [Protocol.DOMDebugger.SetBreakOnCSPViolationRequest];
|
@@ -2692,6 +2945,8 @@ export namespace ProtocolMapping {
|
|
2692
2945
|
};
|
2693
2946
|
/**
|
2694
2947
|
* Sets breakpoint on particular native event.
|
2948
|
+
* @deprecated
|
2949
|
+
* @experimental
|
2695
2950
|
*/
|
2696
2951
|
'DOMDebugger.setInstrumentationBreakpoint': {
|
2697
2952
|
paramsType: [Protocol.DOMDebugger.SetInstrumentationBreakpointRequest];
|
@@ -2704,27 +2959,6 @@ export namespace ProtocolMapping {
|
|
2704
2959
|
paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest];
|
2705
2960
|
returnType: void;
|
2706
2961
|
};
|
2707
|
-
/**
|
2708
|
-
* Sets breakpoint on particular native event.
|
2709
|
-
*/
|
2710
|
-
'EventBreakpoints.setInstrumentationBreakpoint': {
|
2711
|
-
paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
|
2712
|
-
returnType: void;
|
2713
|
-
};
|
2714
|
-
/**
|
2715
|
-
* Removes breakpoint on particular native event.
|
2716
|
-
*/
|
2717
|
-
'EventBreakpoints.removeInstrumentationBreakpoint': {
|
2718
|
-
paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
|
2719
|
-
returnType: void;
|
2720
|
-
};
|
2721
|
-
/**
|
2722
|
-
* Removes all breakpoints
|
2723
|
-
*/
|
2724
|
-
'EventBreakpoints.disable': {
|
2725
|
-
paramsType: [];
|
2726
|
-
returnType: void;
|
2727
|
-
};
|
2728
2962
|
/**
|
2729
2963
|
* Disables DOM snapshot agent for the given page.
|
2730
2964
|
*/
|
@@ -2744,6 +2978,7 @@ export namespace ProtocolMapping {
|
|
2744
2978
|
* template contents, and imported documents) in a flattened array, as well as layout and
|
2745
2979
|
* white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is
|
2746
2980
|
* flattened.
|
2981
|
+
* @deprecated
|
2747
2982
|
*/
|
2748
2983
|
'DOMSnapshot.getSnapshot': {
|
2749
2984
|
paramsType: [Protocol.DOMSnapshot.GetSnapshotRequest];
|
@@ -2789,6 +3024,34 @@ export namespace ProtocolMapping {
|
|
2789
3024
|
paramsType: [Protocol.DOMStorage.SetDOMStorageItemRequest];
|
2790
3025
|
returnType: void;
|
2791
3026
|
};
|
3027
|
+
/**
|
3028
|
+
* Enable events in this domain.
|
3029
|
+
*/
|
3030
|
+
'DeviceAccess.enable': {
|
3031
|
+
paramsType: [];
|
3032
|
+
returnType: void;
|
3033
|
+
};
|
3034
|
+
/**
|
3035
|
+
* Disable events in this domain.
|
3036
|
+
*/
|
3037
|
+
'DeviceAccess.disable': {
|
3038
|
+
paramsType: [];
|
3039
|
+
returnType: void;
|
3040
|
+
};
|
3041
|
+
/**
|
3042
|
+
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
3043
|
+
*/
|
3044
|
+
'DeviceAccess.selectPrompt': {
|
3045
|
+
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
3046
|
+
returnType: void;
|
3047
|
+
};
|
3048
|
+
/**
|
3049
|
+
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
3050
|
+
*/
|
3051
|
+
'DeviceAccess.cancelPrompt': {
|
3052
|
+
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
3053
|
+
returnType: void;
|
3054
|
+
};
|
2792
3055
|
/**
|
2793
3056
|
* Clears the overridden Device Orientation.
|
2794
3057
|
*/
|
@@ -2805,6 +3068,7 @@ export namespace ProtocolMapping {
|
|
2805
3068
|
};
|
2806
3069
|
/**
|
2807
3070
|
* Tells whether emulation is supported.
|
3071
|
+
* @deprecated
|
2808
3072
|
*/
|
2809
3073
|
'Emulation.canEmulate': {
|
2810
3074
|
paramsType: [];
|
@@ -2826,6 +3090,7 @@ export namespace ProtocolMapping {
|
|
2826
3090
|
};
|
2827
3091
|
/**
|
2828
3092
|
* Requests that page scale factor is reset to initial values.
|
3093
|
+
* @experimental
|
2829
3094
|
*/
|
2830
3095
|
'Emulation.resetPageScaleFactor': {
|
2831
3096
|
paramsType: [];
|
@@ -2833,6 +3098,7 @@ export namespace ProtocolMapping {
|
|
2833
3098
|
};
|
2834
3099
|
/**
|
2835
3100
|
* Enables or disables simulating a focused and active page.
|
3101
|
+
* @experimental
|
2836
3102
|
*/
|
2837
3103
|
'Emulation.setFocusEmulationEnabled': {
|
2838
3104
|
paramsType: [Protocol.Emulation.SetFocusEmulationEnabledRequest];
|
@@ -2840,6 +3106,7 @@ export namespace ProtocolMapping {
|
|
2840
3106
|
};
|
2841
3107
|
/**
|
2842
3108
|
* Automatically render all web contents using a dark theme.
|
3109
|
+
* @experimental
|
2843
3110
|
*/
|
2844
3111
|
'Emulation.setAutoDarkModeOverride': {
|
2845
3112
|
paramsType: [Protocol.Emulation.SetAutoDarkModeOverrideRequest?];
|
@@ -2863,6 +3130,7 @@ export namespace ProtocolMapping {
|
|
2863
3130
|
/**
|
2864
3131
|
* Overrides the values for env(safe-area-inset-*) and env(safe-area-max-inset-*). Unset values will cause the
|
2865
3132
|
* respective variables to be undefined, even if previously overridden.
|
3133
|
+
* @experimental
|
2866
3134
|
*/
|
2867
3135
|
'Emulation.setSafeAreaInsetsOverride': {
|
2868
3136
|
paramsType: [Protocol.Emulation.SetSafeAreaInsetsOverrideRequest];
|
@@ -2880,6 +3148,7 @@ export namespace ProtocolMapping {
|
|
2880
3148
|
/**
|
2881
3149
|
* Start reporting the given posture value to the Device Posture API.
|
2882
3150
|
* This override can also be set in setDeviceMetricsOverride().
|
3151
|
+
* @experimental
|
2883
3152
|
*/
|
2884
3153
|
'Emulation.setDevicePostureOverride': {
|
2885
3154
|
paramsType: [Protocol.Emulation.SetDevicePostureOverrideRequest];
|
@@ -2890,6 +3159,7 @@ export namespace ProtocolMapping {
|
|
2890
3159
|
* or setDevicePostureOverride() and starts using posture information from the
|
2891
3160
|
* platform again.
|
2892
3161
|
* Does nothing if no override is set.
|
3162
|
+
* @experimental
|
2893
3163
|
*/
|
2894
3164
|
'Emulation.clearDevicePostureOverride': {
|
2895
3165
|
paramsType: [];
|
@@ -2898,6 +3168,7 @@ export namespace ProtocolMapping {
|
|
2898
3168
|
/**
|
2899
3169
|
* Start using the given display features to pupulate the Viewport Segments API.
|
2900
3170
|
* This override can also be set in setDeviceMetricsOverride().
|
3171
|
+
* @experimental
|
2901
3172
|
*/
|
2902
3173
|
'Emulation.setDisplayFeaturesOverride': {
|
2903
3174
|
paramsType: [Protocol.Emulation.SetDisplayFeaturesOverrideRequest];
|
@@ -2908,19 +3179,29 @@ export namespace ProtocolMapping {
|
|
2908
3179
|
* or setDisplayFeaturesOverride() and starts using display features from the
|
2909
3180
|
* platform again.
|
2910
3181
|
* Does nothing if no override is set.
|
3182
|
+
* @experimental
|
2911
3183
|
*/
|
2912
3184
|
'Emulation.clearDisplayFeaturesOverride': {
|
2913
3185
|
paramsType: [];
|
2914
3186
|
returnType: void;
|
2915
3187
|
};
|
3188
|
+
/**
|
3189
|
+
* @experimental
|
3190
|
+
*/
|
2916
3191
|
'Emulation.setScrollbarsHidden': {
|
2917
3192
|
paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
|
2918
3193
|
returnType: void;
|
2919
3194
|
};
|
3195
|
+
/**
|
3196
|
+
* @experimental
|
3197
|
+
*/
|
2920
3198
|
'Emulation.setDocumentCookieDisabled': {
|
2921
3199
|
paramsType: [Protocol.Emulation.SetDocumentCookieDisabledRequest];
|
2922
3200
|
returnType: void;
|
2923
3201
|
};
|
3202
|
+
/**
|
3203
|
+
* @experimental
|
3204
|
+
*/
|
2924
3205
|
'Emulation.setEmitTouchEventsForMouse': {
|
2925
3206
|
paramsType: [Protocol.Emulation.SetEmitTouchEventsForMouseRequest];
|
2926
3207
|
returnType: void;
|
@@ -2954,6 +3235,9 @@ export namespace ProtocolMapping {
|
|
2954
3235
|
paramsType: [Protocol.Emulation.SetGeolocationOverrideRequest?];
|
2955
3236
|
returnType: void;
|
2956
3237
|
};
|
3238
|
+
/**
|
3239
|
+
* @experimental
|
3240
|
+
*/
|
2957
3241
|
'Emulation.getOverriddenSensorInformation': {
|
2958
3242
|
paramsType: [Protocol.Emulation.GetOverriddenSensorInformationRequest];
|
2959
3243
|
returnType: Protocol.Emulation.GetOverriddenSensorInformationResponse;
|
@@ -2964,6 +3248,7 @@ export namespace ProtocolMapping {
|
|
2964
3248
|
* data from a real hardware sensor. Otherwise, existing virtual
|
2965
3249
|
* sensor-backend Sensor objects will fire an error event and new calls to
|
2966
3250
|
* Sensor.start() will attempt to use a real sensor instead.
|
3251
|
+
* @experimental
|
2967
3252
|
*/
|
2968
3253
|
'Emulation.setSensorOverrideEnabled': {
|
2969
3254
|
paramsType: [Protocol.Emulation.SetSensorOverrideEnabledRequest];
|
@@ -2972,6 +3257,7 @@ export namespace ProtocolMapping {
|
|
2972
3257
|
/**
|
2973
3258
|
* Updates the sensor readings reported by a sensor type previously overridden
|
2974
3259
|
* by setSensorOverrideEnabled.
|
3260
|
+
* @experimental
|
2975
3261
|
*/
|
2976
3262
|
'Emulation.setSensorOverrideReadings': {
|
2977
3263
|
paramsType: [Protocol.Emulation.SetSensorOverrideReadingsRequest];
|
@@ -2982,6 +3268,7 @@ export namespace ProtocolMapping {
|
|
2982
3268
|
* Pressure API, so that updates to PressureObserver.observe() are provided
|
2983
3269
|
* via setPressureStateOverride instead of being retrieved from
|
2984
3270
|
* platform-provided telemetry data.
|
3271
|
+
* @experimental
|
2985
3272
|
*/
|
2986
3273
|
'Emulation.setPressureSourceOverrideEnabled': {
|
2987
3274
|
paramsType: [Protocol.Emulation.SetPressureSourceOverrideEnabledRequest];
|
@@ -2992,6 +3279,7 @@ export namespace ProtocolMapping {
|
|
2992
3279
|
* Provides a given pressure state that will be processed and eventually be
|
2993
3280
|
* delivered to PressureObserver users. |source| must have been previously
|
2994
3281
|
* overridden by setPressureSourceOverrideEnabled.
|
3282
|
+
* @experimental
|
2995
3283
|
*/
|
2996
3284
|
'Emulation.setPressureStateOverride': {
|
2997
3285
|
paramsType: [Protocol.Emulation.SetPressureStateOverrideRequest];
|
@@ -3001,6 +3289,7 @@ export namespace ProtocolMapping {
|
|
3001
3289
|
* Provides a given pressure data set that will be processed and eventually be
|
3002
3290
|
* delivered to PressureObserver users. |source| must have been previously
|
3003
3291
|
* overridden by setPressureSourceOverrideEnabled.
|
3292
|
+
* @experimental
|
3004
3293
|
*/
|
3005
3294
|
'Emulation.setPressureDataOverride': {
|
3006
3295
|
paramsType: [Protocol.Emulation.SetPressureDataOverrideRequest];
|
@@ -3022,6 +3311,8 @@ export namespace ProtocolMapping {
|
|
3022
3311
|
};
|
3023
3312
|
/**
|
3024
3313
|
* Overrides value returned by the javascript navigator object.
|
3314
|
+
* @deprecated
|
3315
|
+
* @experimental
|
3025
3316
|
*/
|
3026
3317
|
'Emulation.setNavigatorOverrides': {
|
3027
3318
|
paramsType: [Protocol.Emulation.SetNavigatorOverridesRequest];
|
@@ -3029,6 +3320,7 @@ export namespace ProtocolMapping {
|
|
3029
3320
|
};
|
3030
3321
|
/**
|
3031
3322
|
* Sets a specified page scale factor.
|
3323
|
+
* @experimental
|
3032
3324
|
*/
|
3033
3325
|
'Emulation.setPageScaleFactor': {
|
3034
3326
|
paramsType: [Protocol.Emulation.SetPageScaleFactorRequest];
|
@@ -3051,6 +3343,7 @@ export namespace ProtocolMapping {
|
|
3051
3343
|
/**
|
3052
3344
|
* Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets
|
3053
3345
|
* the current virtual time policy. Note this supersedes any previous time budget.
|
3346
|
+
* @experimental
|
3054
3347
|
*/
|
3055
3348
|
'Emulation.setVirtualTimePolicy': {
|
3056
3349
|
paramsType: [Protocol.Emulation.SetVirtualTimePolicyRequest];
|
@@ -3058,6 +3351,7 @@ export namespace ProtocolMapping {
|
|
3058
3351
|
};
|
3059
3352
|
/**
|
3060
3353
|
* Overrides default host system locale with the specified one.
|
3354
|
+
* @experimental
|
3061
3355
|
*/
|
3062
3356
|
'Emulation.setLocaleOverride': {
|
3063
3357
|
paramsType: [Protocol.Emulation.SetLocaleOverrideRequest?];
|
@@ -3074,22 +3368,31 @@ export namespace ProtocolMapping {
|
|
3074
3368
|
* Resizes the frame/viewport of the page. Note that this does not affect the frame's container
|
3075
3369
|
* (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported
|
3076
3370
|
* on Android.
|
3371
|
+
* @deprecated
|
3372
|
+
* @experimental
|
3077
3373
|
*/
|
3078
3374
|
'Emulation.setVisibleSize': {
|
3079
3375
|
paramsType: [Protocol.Emulation.SetVisibleSizeRequest];
|
3080
3376
|
returnType: void;
|
3081
3377
|
};
|
3378
|
+
/**
|
3379
|
+
* @experimental
|
3380
|
+
*/
|
3082
3381
|
'Emulation.setDisabledImageTypes': {
|
3083
3382
|
paramsType: [Protocol.Emulation.SetDisabledImageTypesRequest];
|
3084
3383
|
returnType: void;
|
3085
3384
|
};
|
3086
3385
|
/**
|
3087
3386
|
* Override the value of navigator.connection.saveData
|
3387
|
+
* @experimental
|
3088
3388
|
*/
|
3089
3389
|
'Emulation.setDataSaverOverride': {
|
3090
3390
|
paramsType: [Protocol.Emulation.SetDataSaverOverrideRequest?];
|
3091
3391
|
returnType: void;
|
3092
3392
|
};
|
3393
|
+
/**
|
3394
|
+
* @experimental
|
3395
|
+
*/
|
3093
3396
|
'Emulation.setHardwareConcurrencyOverride': {
|
3094
3397
|
paramsType: [Protocol.Emulation.SetHardwareConcurrencyOverrideRequest];
|
3095
3398
|
returnType: void;
|
@@ -3104,6 +3407,7 @@ export namespace ProtocolMapping {
|
|
3104
3407
|
};
|
3105
3408
|
/**
|
3106
3409
|
* Allows overriding the automation flag.
|
3410
|
+
* @experimental
|
3107
3411
|
*/
|
3108
3412
|
'Emulation.setAutomationOverride': {
|
3109
3413
|
paramsType: [Protocol.Emulation.SetAutomationOverrideRequest];
|
@@ -3112,78 +3416,293 @@ export namespace ProtocolMapping {
|
|
3112
3416
|
/**
|
3113
3417
|
* Allows overriding the difference between the small and large viewport sizes, which determine the
|
3114
3418
|
* value of the `svh` and `lvh` unit, respectively. Only supported for top-level frames.
|
3419
|
+
* @experimental
|
3115
3420
|
*/
|
3116
3421
|
'Emulation.setSmallViewportHeightDifferenceOverride': {
|
3117
3422
|
paramsType: [Protocol.Emulation.SetSmallViewportHeightDifferenceOverrideRequest];
|
3118
3423
|
returnType: void;
|
3119
3424
|
};
|
3120
3425
|
/**
|
3121
|
-
*
|
3122
|
-
*
|
3123
|
-
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
3124
|
-
* https://goo.gle/chrome-headless-rendering for more background.
|
3426
|
+
* Returns device's screen configuration.
|
3427
|
+
* @experimental
|
3125
3428
|
*/
|
3126
|
-
'
|
3127
|
-
paramsType: [
|
3128
|
-
returnType: Protocol.
|
3429
|
+
'Emulation.getScreenInfos': {
|
3430
|
+
paramsType: [];
|
3431
|
+
returnType: Protocol.Emulation.GetScreenInfosResponse;
|
3129
3432
|
};
|
3130
3433
|
/**
|
3131
|
-
*
|
3434
|
+
* Add a new screen to the device. Only supported in headless mode.
|
3435
|
+
* @experimental
|
3132
3436
|
*/
|
3133
|
-
'
|
3134
|
-
paramsType: [];
|
3135
|
-
returnType:
|
3437
|
+
'Emulation.addScreen': {
|
3438
|
+
paramsType: [Protocol.Emulation.AddScreenRequest];
|
3439
|
+
returnType: Protocol.Emulation.AddScreenResponse;
|
3136
3440
|
};
|
3137
3441
|
/**
|
3138
|
-
*
|
3442
|
+
* Remove screen from the device. Only supported in headless mode.
|
3443
|
+
* @experimental
|
3139
3444
|
*/
|
3140
|
-
'
|
3141
|
-
paramsType: [];
|
3445
|
+
'Emulation.removeScreen': {
|
3446
|
+
paramsType: [Protocol.Emulation.RemoveScreenRequest];
|
3142
3447
|
returnType: void;
|
3143
3448
|
};
|
3144
3449
|
/**
|
3145
|
-
*
|
3450
|
+
* Sets breakpoint on particular native event.
|
3146
3451
|
*/
|
3147
|
-
'
|
3148
|
-
paramsType: [Protocol.
|
3452
|
+
'EventBreakpoints.setInstrumentationBreakpoint': {
|
3453
|
+
paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest];
|
3149
3454
|
returnType: void;
|
3150
3455
|
};
|
3151
3456
|
/**
|
3152
|
-
*
|
3457
|
+
* Removes breakpoint on particular native event.
|
3153
3458
|
*/
|
3154
|
-
'
|
3155
|
-
paramsType: [Protocol.
|
3156
|
-
returnType:
|
3459
|
+
'EventBreakpoints.removeInstrumentationBreakpoint': {
|
3460
|
+
paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest];
|
3461
|
+
returnType: void;
|
3157
3462
|
};
|
3158
3463
|
/**
|
3159
|
-
*
|
3464
|
+
* Removes all breakpoints
|
3160
3465
|
*/
|
3161
|
-
'
|
3162
|
-
paramsType: [
|
3163
|
-
returnType:
|
3164
|
-
};
|
3165
|
-
'FileSystem.getDirectory': {
|
3166
|
-
paramsType: [Protocol.FileSystem.GetDirectoryRequest];
|
3167
|
-
returnType: Protocol.FileSystem.GetDirectoryResponse;
|
3466
|
+
'EventBreakpoints.disable': {
|
3467
|
+
paramsType: [];
|
3468
|
+
returnType: void;
|
3168
3469
|
};
|
3169
3470
|
/**
|
3170
|
-
*
|
3471
|
+
* Installs an unpacked extension from the filesystem similar to
|
3472
|
+
* --load-extension CLI flags. Returns extension ID once the extension
|
3473
|
+
* has been installed. Available if the client is connected using the
|
3474
|
+
* --remote-debugging-pipe flag and the --enable-unsafe-extension-debugging
|
3475
|
+
* flag is set.
|
3171
3476
|
*/
|
3172
|
-
'
|
3173
|
-
paramsType: [Protocol.
|
3174
|
-
returnType:
|
3477
|
+
'Extensions.loadUnpacked': {
|
3478
|
+
paramsType: [Protocol.Extensions.LoadUnpackedRequest];
|
3479
|
+
returnType: Protocol.Extensions.LoadUnpackedResponse;
|
3175
3480
|
};
|
3176
3481
|
/**
|
3177
|
-
*
|
3482
|
+
* Uninstalls an unpacked extension (others not supported) from the profile.
|
3483
|
+
* Available if the client is connected using the --remote-debugging-pipe flag
|
3484
|
+
* and the --enable-unsafe-extension-debugging.
|
3178
3485
|
*/
|
3179
|
-
'
|
3180
|
-
paramsType: [Protocol.
|
3486
|
+
'Extensions.uninstall': {
|
3487
|
+
paramsType: [Protocol.Extensions.UninstallRequest];
|
3181
3488
|
returnType: void;
|
3182
3489
|
};
|
3183
3490
|
/**
|
3184
|
-
*
|
3491
|
+
* Gets data from extension storage in the given `storageArea`. If `keys` is
|
3492
|
+
* specified, these are used to filter the result.
|
3185
3493
|
*/
|
3186
|
-
'
|
3494
|
+
'Extensions.getStorageItems': {
|
3495
|
+
paramsType: [Protocol.Extensions.GetStorageItemsRequest];
|
3496
|
+
returnType: Protocol.Extensions.GetStorageItemsResponse;
|
3497
|
+
};
|
3498
|
+
/**
|
3499
|
+
* Removes `keys` from extension storage in the given `storageArea`.
|
3500
|
+
*/
|
3501
|
+
'Extensions.removeStorageItems': {
|
3502
|
+
paramsType: [Protocol.Extensions.RemoveStorageItemsRequest];
|
3503
|
+
returnType: void;
|
3504
|
+
};
|
3505
|
+
/**
|
3506
|
+
* Clears extension storage in the given `storageArea`.
|
3507
|
+
*/
|
3508
|
+
'Extensions.clearStorageItems': {
|
3509
|
+
paramsType: [Protocol.Extensions.ClearStorageItemsRequest];
|
3510
|
+
returnType: void;
|
3511
|
+
};
|
3512
|
+
/**
|
3513
|
+
* Sets `values` in extension storage in the given `storageArea`. The provided `values`
|
3514
|
+
* will be merged with existing values in the storage area.
|
3515
|
+
*/
|
3516
|
+
'Extensions.setStorageItems': {
|
3517
|
+
paramsType: [Protocol.Extensions.SetStorageItemsRequest];
|
3518
|
+
returnType: void;
|
3519
|
+
};
|
3520
|
+
'FedCm.enable': {
|
3521
|
+
paramsType: [Protocol.FedCm.EnableRequest?];
|
3522
|
+
returnType: void;
|
3523
|
+
};
|
3524
|
+
'FedCm.disable': {
|
3525
|
+
paramsType: [];
|
3526
|
+
returnType: void;
|
3527
|
+
};
|
3528
|
+
'FedCm.selectAccount': {
|
3529
|
+
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
3530
|
+
returnType: void;
|
3531
|
+
};
|
3532
|
+
'FedCm.clickDialogButton': {
|
3533
|
+
paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
|
3534
|
+
returnType: void;
|
3535
|
+
};
|
3536
|
+
'FedCm.openUrl': {
|
3537
|
+
paramsType: [Protocol.FedCm.OpenUrlRequest];
|
3538
|
+
returnType: void;
|
3539
|
+
};
|
3540
|
+
'FedCm.dismissDialog': {
|
3541
|
+
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
3542
|
+
returnType: void;
|
3543
|
+
};
|
3544
|
+
/**
|
3545
|
+
* Resets the cooldown time, if any, to allow the next FedCM call to show
|
3546
|
+
* a dialog even if one was recently dismissed by the user.
|
3547
|
+
*/
|
3548
|
+
'FedCm.resetCooldown': {
|
3549
|
+
paramsType: [];
|
3550
|
+
returnType: void;
|
3551
|
+
};
|
3552
|
+
/**
|
3553
|
+
* Disables the fetch domain.
|
3554
|
+
*/
|
3555
|
+
'Fetch.disable': {
|
3556
|
+
paramsType: [];
|
3557
|
+
returnType: void;
|
3558
|
+
};
|
3559
|
+
/**
|
3560
|
+
* Enables issuing of requestPaused events. A request will be paused until client
|
3561
|
+
* calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
|
3562
|
+
*/
|
3563
|
+
'Fetch.enable': {
|
3564
|
+
paramsType: [Protocol.Fetch.EnableRequest?];
|
3565
|
+
returnType: void;
|
3566
|
+
};
|
3567
|
+
/**
|
3568
|
+
* Causes the request to fail with specified reason.
|
3569
|
+
*/
|
3570
|
+
'Fetch.failRequest': {
|
3571
|
+
paramsType: [Protocol.Fetch.FailRequestRequest];
|
3572
|
+
returnType: void;
|
3573
|
+
};
|
3574
|
+
/**
|
3575
|
+
* Provides response to the request.
|
3576
|
+
*/
|
3577
|
+
'Fetch.fulfillRequest': {
|
3578
|
+
paramsType: [Protocol.Fetch.FulfillRequestRequest];
|
3579
|
+
returnType: void;
|
3580
|
+
};
|
3581
|
+
/**
|
3582
|
+
* Continues the request, optionally modifying some of its parameters.
|
3583
|
+
*/
|
3584
|
+
'Fetch.continueRequest': {
|
3585
|
+
paramsType: [Protocol.Fetch.ContinueRequestRequest];
|
3586
|
+
returnType: void;
|
3587
|
+
};
|
3588
|
+
/**
|
3589
|
+
* Continues a request supplying authChallengeResponse following authRequired event.
|
3590
|
+
*/
|
3591
|
+
'Fetch.continueWithAuth': {
|
3592
|
+
paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
|
3593
|
+
returnType: void;
|
3594
|
+
};
|
3595
|
+
/**
|
3596
|
+
* Continues loading of the paused response, optionally modifying the
|
3597
|
+
* response headers. If either responseCode or headers are modified, all of them
|
3598
|
+
* must be present.
|
3599
|
+
* @experimental
|
3600
|
+
*/
|
3601
|
+
'Fetch.continueResponse': {
|
3602
|
+
paramsType: [Protocol.Fetch.ContinueResponseRequest];
|
3603
|
+
returnType: void;
|
3604
|
+
};
|
3605
|
+
/**
|
3606
|
+
* Causes the body of the response to be received from the server and
|
3607
|
+
* returned as a single string. May only be issued for a request that
|
3608
|
+
* is paused in the Response stage and is mutually exclusive with
|
3609
|
+
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
3610
|
+
* affect the request or disabling fetch domain before body is received
|
3611
|
+
* results in an undefined behavior.
|
3612
|
+
* Note that the response body is not available for redirects. Requests
|
3613
|
+
* paused in the _redirect received_ state may be differentiated by
|
3614
|
+
* `responseCode` and presence of `location` response header, see
|
3615
|
+
* comments to `requestPaused` for details.
|
3616
|
+
*/
|
3617
|
+
'Fetch.getResponseBody': {
|
3618
|
+
paramsType: [Protocol.Fetch.GetResponseBodyRequest];
|
3619
|
+
returnType: Protocol.Fetch.GetResponseBodyResponse;
|
3620
|
+
};
|
3621
|
+
/**
|
3622
|
+
* Returns a handle to the stream representing the response body.
|
3623
|
+
* The request must be paused in the HeadersReceived stage.
|
3624
|
+
* Note that after this command the request can't be continued
|
3625
|
+
* as is -- client either needs to cancel it or to provide the
|
3626
|
+
* response body.
|
3627
|
+
* The stream only supports sequential read, IO.read will fail if the position
|
3628
|
+
* is specified.
|
3629
|
+
* This method is mutually exclusive with getResponseBody.
|
3630
|
+
* Calling other methods that affect the request or disabling fetch
|
3631
|
+
* domain before body is received results in an undefined behavior.
|
3632
|
+
*/
|
3633
|
+
'Fetch.takeResponseBodyAsStream': {
|
3634
|
+
paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
|
3635
|
+
returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
|
3636
|
+
};
|
3637
|
+
'FileSystem.getDirectory': {
|
3638
|
+
paramsType: [Protocol.FileSystem.GetDirectoryRequest];
|
3639
|
+
returnType: Protocol.FileSystem.GetDirectoryResponse;
|
3640
|
+
};
|
3641
|
+
/**
|
3642
|
+
* Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a
|
3643
|
+
* screenshot from the resulting frame. Requires that the target was created with enabled
|
3644
|
+
* BeginFrameControl. Designed for use with --run-all-compositor-stages-before-draw, see also
|
3645
|
+
* https://goo.gle/chrome-headless-rendering for more background.
|
3646
|
+
*/
|
3647
|
+
'HeadlessExperimental.beginFrame': {
|
3648
|
+
paramsType: [Protocol.HeadlessExperimental.BeginFrameRequest?];
|
3649
|
+
returnType: Protocol.HeadlessExperimental.BeginFrameResponse;
|
3650
|
+
};
|
3651
|
+
/**
|
3652
|
+
* Disables headless events for the target.
|
3653
|
+
* @deprecated
|
3654
|
+
*/
|
3655
|
+
'HeadlessExperimental.disable': {
|
3656
|
+
paramsType: [];
|
3657
|
+
returnType: void;
|
3658
|
+
};
|
3659
|
+
/**
|
3660
|
+
* Enables headless events for the target.
|
3661
|
+
* @deprecated
|
3662
|
+
*/
|
3663
|
+
'HeadlessExperimental.enable': {
|
3664
|
+
paramsType: [];
|
3665
|
+
returnType: void;
|
3666
|
+
};
|
3667
|
+
/**
|
3668
|
+
* Close the stream, discard any temporary backing storage.
|
3669
|
+
*/
|
3670
|
+
'IO.close': {
|
3671
|
+
paramsType: [Protocol.IO.CloseRequest];
|
3672
|
+
returnType: void;
|
3673
|
+
};
|
3674
|
+
/**
|
3675
|
+
* Read a chunk of the stream
|
3676
|
+
*/
|
3677
|
+
'IO.read': {
|
3678
|
+
paramsType: [Protocol.IO.ReadRequest];
|
3679
|
+
returnType: Protocol.IO.ReadResponse;
|
3680
|
+
};
|
3681
|
+
/**
|
3682
|
+
* Return UUID of Blob object specified by a remote object id.
|
3683
|
+
*/
|
3684
|
+
'IO.resolveBlob': {
|
3685
|
+
paramsType: [Protocol.IO.ResolveBlobRequest];
|
3686
|
+
returnType: Protocol.IO.ResolveBlobResponse;
|
3687
|
+
};
|
3688
|
+
/**
|
3689
|
+
* Clears all entries from an object store.
|
3690
|
+
*/
|
3691
|
+
'IndexedDB.clearObjectStore': {
|
3692
|
+
paramsType: [Protocol.IndexedDB.ClearObjectStoreRequest];
|
3693
|
+
returnType: void;
|
3694
|
+
};
|
3695
|
+
/**
|
3696
|
+
* Deletes a database.
|
3697
|
+
*/
|
3698
|
+
'IndexedDB.deleteDatabase': {
|
3699
|
+
paramsType: [Protocol.IndexedDB.DeleteDatabaseRequest];
|
3700
|
+
returnType: void;
|
3701
|
+
};
|
3702
|
+
/**
|
3703
|
+
* Delete a range of entries from an object store
|
3704
|
+
*/
|
3705
|
+
'IndexedDB.deleteObjectStoreEntries': {
|
3187
3706
|
paramsType: [Protocol.IndexedDB.DeleteObjectStoreEntriesRequest];
|
3188
3707
|
returnType: void;
|
3189
3708
|
};
|
@@ -3231,6 +3750,7 @@ export namespace ProtocolMapping {
|
|
3231
3750
|
};
|
3232
3751
|
/**
|
3233
3752
|
* Dispatches a drag event into the page.
|
3753
|
+
* @experimental
|
3234
3754
|
*/
|
3235
3755
|
'Input.dispatchDragEvent': {
|
3236
3756
|
paramsType: [Protocol.Input.DispatchDragEventRequest];
|
@@ -3246,6 +3766,7 @@ export namespace ProtocolMapping {
|
|
3246
3766
|
/**
|
3247
3767
|
* This method emulates inserting text that doesn't come from a key press,
|
3248
3768
|
* for example an emoji keyboard or an IME.
|
3769
|
+
* @experimental
|
3249
3770
|
*/
|
3250
3771
|
'Input.insertText': {
|
3251
3772
|
paramsType: [Protocol.Input.InsertTextRequest];
|
@@ -3255,6 +3776,7 @@ export namespace ProtocolMapping {
|
|
3255
3776
|
* This method sets the current candidate text for IME.
|
3256
3777
|
* Use imeCommitComposition to commit the final text.
|
3257
3778
|
* Use imeSetComposition with empty string as text to cancel composition.
|
3779
|
+
* @experimental
|
3258
3780
|
*/
|
3259
3781
|
'Input.imeSetComposition': {
|
3260
3782
|
paramsType: [Protocol.Input.ImeSetCompositionRequest];
|
@@ -3283,6 +3805,7 @@ export namespace ProtocolMapping {
|
|
3283
3805
|
};
|
3284
3806
|
/**
|
3285
3807
|
* Emulates touch event from the mouse event parameters.
|
3808
|
+
* @experimental
|
3286
3809
|
*/
|
3287
3810
|
'Input.emulateTouchFromMouseEvent': {
|
3288
3811
|
paramsType: [Protocol.Input.EmulateTouchFromMouseEventRequest];
|
@@ -3298,6 +3821,7 @@ export namespace ProtocolMapping {
|
|
3298
3821
|
/**
|
3299
3822
|
* Prevents default drag and drop behavior and instead emits `Input.dragIntercepted` events.
|
3300
3823
|
* Drag and drop behavior can be directly controlled via `Input.dispatchDragEvent`.
|
3824
|
+
* @experimental
|
3301
3825
|
*/
|
3302
3826
|
'Input.setInterceptDrags': {
|
3303
3827
|
paramsType: [Protocol.Input.SetInterceptDragsRequest];
|
@@ -3305,6 +3829,7 @@ export namespace ProtocolMapping {
|
|
3305
3829
|
};
|
3306
3830
|
/**
|
3307
3831
|
* Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
|
3832
|
+
* @experimental
|
3308
3833
|
*/
|
3309
3834
|
'Input.synthesizePinchGesture': {
|
3310
3835
|
paramsType: [Protocol.Input.SynthesizePinchGestureRequest];
|
@@ -3312,6 +3837,7 @@ export namespace ProtocolMapping {
|
|
3312
3837
|
};
|
3313
3838
|
/**
|
3314
3839
|
* Synthesizes a scroll gesture over a time period by issuing appropriate touch events.
|
3840
|
+
* @experimental
|
3315
3841
|
*/
|
3316
3842
|
'Input.synthesizeScrollGesture': {
|
3317
3843
|
paramsType: [Protocol.Input.SynthesizeScrollGestureRequest];
|
@@ -3319,6 +3845,7 @@ export namespace ProtocolMapping {
|
|
3319
3845
|
};
|
3320
3846
|
/**
|
3321
3847
|
* Synthesizes a tap gesture over a time period by issuing appropriate touch events.
|
3848
|
+
* @experimental
|
3322
3849
|
*/
|
3323
3850
|
'Input.synthesizeTapGesture': {
|
3324
3851
|
paramsType: [Protocol.Input.SynthesizeTapGestureRequest];
|
@@ -3434,6 +3961,20 @@ export namespace ProtocolMapping {
|
|
3434
3961
|
paramsType: [];
|
3435
3962
|
returnType: void;
|
3436
3963
|
};
|
3964
|
+
/**
|
3965
|
+
* Enables the Media domain
|
3966
|
+
*/
|
3967
|
+
'Media.enable': {
|
3968
|
+
paramsType: [];
|
3969
|
+
returnType: void;
|
3970
|
+
};
|
3971
|
+
/**
|
3972
|
+
* Disables the Media domain.
|
3973
|
+
*/
|
3974
|
+
'Media.disable': {
|
3975
|
+
paramsType: [];
|
3976
|
+
returnType: void;
|
3977
|
+
};
|
3437
3978
|
/**
|
3438
3979
|
* Retruns current DOM object counters.
|
3439
3980
|
*/
|
@@ -3517,6 +4058,7 @@ export namespace ProtocolMapping {
|
|
3517
4058
|
};
|
3518
4059
|
/**
|
3519
4060
|
* Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
|
4061
|
+
* @experimental
|
3520
4062
|
*/
|
3521
4063
|
'Network.setAcceptedEncodings': {
|
3522
4064
|
paramsType: [Protocol.Network.SetAcceptedEncodingsRequest];
|
@@ -3524,6 +4066,7 @@ export namespace ProtocolMapping {
|
|
3524
4066
|
};
|
3525
4067
|
/**
|
3526
4068
|
* Clears accepted encodings set by setAcceptedEncodings
|
4069
|
+
* @experimental
|
3527
4070
|
*/
|
3528
4071
|
'Network.clearAcceptedEncodingsOverride': {
|
3529
4072
|
paramsType: [];
|
@@ -3531,6 +4074,7 @@ export namespace ProtocolMapping {
|
|
3531
4074
|
};
|
3532
4075
|
/**
|
3533
4076
|
* Tells whether clearing browser cache is supported.
|
4077
|
+
* @deprecated
|
3534
4078
|
*/
|
3535
4079
|
'Network.canClearBrowserCache': {
|
3536
4080
|
paramsType: [];
|
@@ -3538,6 +4082,7 @@ export namespace ProtocolMapping {
|
|
3538
4082
|
};
|
3539
4083
|
/**
|
3540
4084
|
* Tells whether clearing browser cookies is supported.
|
4085
|
+
* @deprecated
|
3541
4086
|
*/
|
3542
4087
|
'Network.canClearBrowserCookies': {
|
3543
4088
|
paramsType: [];
|
@@ -3545,6 +4090,7 @@ export namespace ProtocolMapping {
|
|
3545
4090
|
};
|
3546
4091
|
/**
|
3547
4092
|
* Tells whether emulation of network conditions is supported.
|
4093
|
+
* @deprecated
|
3548
4094
|
*/
|
3549
4095
|
'Network.canEmulateNetworkConditions': {
|
3550
4096
|
paramsType: [];
|
@@ -3570,6 +4116,8 @@ export namespace ProtocolMapping {
|
|
3570
4116
|
* fetch occurs as a result which encounters a redirect an additional Network.requestIntercepted
|
3571
4117
|
* event will be sent with the same InterceptionId.
|
3572
4118
|
* Deprecated, use Fetch.continueRequest, Fetch.fulfillRequest and Fetch.failRequest instead.
|
4119
|
+
* @deprecated
|
4120
|
+
* @experimental
|
3573
4121
|
*/
|
3574
4122
|
'Network.continueInterceptedRequest': {
|
3575
4123
|
paramsType: [Protocol.Network.ContinueInterceptedRequestRequest];
|
@@ -3607,6 +4155,7 @@ export namespace ProtocolMapping {
|
|
3607
4155
|
* Returns all browser cookies. Depending on the backend support, will return detailed cookie
|
3608
4156
|
* information in the `cookies` field.
|
3609
4157
|
* Deprecated. Use Storage.getCookies instead.
|
4158
|
+
* @deprecated
|
3610
4159
|
*/
|
3611
4160
|
'Network.getAllCookies': {
|
3612
4161
|
paramsType: [];
|
@@ -3614,6 +4163,7 @@ export namespace ProtocolMapping {
|
|
3614
4163
|
};
|
3615
4164
|
/**
|
3616
4165
|
* Returns the DER-encoded certificate.
|
4166
|
+
* @experimental
|
3617
4167
|
*/
|
3618
4168
|
'Network.getCertificate': {
|
3619
4169
|
paramsType: [Protocol.Network.GetCertificateRequest];
|
@@ -3643,6 +4193,7 @@ export namespace ProtocolMapping {
|
|
3643
4193
|
};
|
3644
4194
|
/**
|
3645
4195
|
* Returns content served for the given currently intercepted request.
|
4196
|
+
* @experimental
|
3646
4197
|
*/
|
3647
4198
|
'Network.getResponseBodyForInterception': {
|
3648
4199
|
paramsType: [Protocol.Network.GetResponseBodyForInterceptionRequest];
|
@@ -3653,6 +4204,7 @@ export namespace ProtocolMapping {
|
|
3653
4204
|
* the intercepted request can't be continued as is -- you either need to cancel it or to provide
|
3654
4205
|
* the response body. The stream only supports sequential read, IO.read will fail if the position
|
3655
4206
|
* is specified.
|
4207
|
+
* @experimental
|
3656
4208
|
*/
|
3657
4209
|
'Network.takeResponseBodyForInterceptionAsStream': {
|
3658
4210
|
paramsType: [Protocol.Network.TakeResponseBodyForInterceptionAsStreamRequest];
|
@@ -3662,6 +4214,7 @@ export namespace ProtocolMapping {
|
|
3662
4214
|
* This method sends a new XMLHttpRequest which is identical to the original one. The following
|
3663
4215
|
* parameters should be identical: method, url, async, request body, extra headers, withCredentials
|
3664
4216
|
* attribute, user, password.
|
4217
|
+
* @experimental
|
3665
4218
|
*/
|
3666
4219
|
'Network.replayXHR': {
|
3667
4220
|
paramsType: [Protocol.Network.ReplayXHRRequest];
|
@@ -3669,6 +4222,7 @@ export namespace ProtocolMapping {
|
|
3669
4222
|
};
|
3670
4223
|
/**
|
3671
4224
|
* Searches for given string in response content.
|
4225
|
+
* @experimental
|
3672
4226
|
*/
|
3673
4227
|
'Network.searchInResponseBody': {
|
3674
4228
|
paramsType: [Protocol.Network.SearchInResponseBodyRequest];
|
@@ -3676,6 +4230,7 @@ export namespace ProtocolMapping {
|
|
3676
4230
|
};
|
3677
4231
|
/**
|
3678
4232
|
* Blocks URLs from loading.
|
4233
|
+
* @experimental
|
3679
4234
|
*/
|
3680
4235
|
'Network.setBlockedURLs': {
|
3681
4236
|
paramsType: [Protocol.Network.SetBlockedURLsRequest];
|
@@ -3718,6 +4273,7 @@ export namespace ProtocolMapping {
|
|
3718
4273
|
};
|
3719
4274
|
/**
|
3720
4275
|
* Specifies whether to attach a page script stack id in requests
|
4276
|
+
* @experimental
|
3721
4277
|
*/
|
3722
4278
|
'Network.setAttachDebugStack': {
|
3723
4279
|
paramsType: [Protocol.Network.SetAttachDebugStackRequest];
|
@@ -3726,6 +4282,8 @@ export namespace ProtocolMapping {
|
|
3726
4282
|
/**
|
3727
4283
|
* Sets the requests to intercept that match the provided patterns and optionally resource types.
|
3728
4284
|
* Deprecated, please use Fetch.enable instead.
|
4285
|
+
* @deprecated
|
4286
|
+
* @experimental
|
3729
4287
|
*/
|
3730
4288
|
'Network.setRequestInterception': {
|
3731
4289
|
paramsType: [Protocol.Network.SetRequestInterceptionRequest];
|
@@ -3741,6 +4299,7 @@ export namespace ProtocolMapping {
|
|
3741
4299
|
/**
|
3742
4300
|
* Enables streaming of the response for the given requestId.
|
3743
4301
|
* If enabled, the dataReceived event contains the data that was received during streaming.
|
4302
|
+
* @experimental
|
3744
4303
|
*/
|
3745
4304
|
'Network.streamResourceContent': {
|
3746
4305
|
paramsType: [Protocol.Network.StreamResourceContentRequest];
|
@@ -3748,6 +4307,7 @@ export namespace ProtocolMapping {
|
|
3748
4307
|
};
|
3749
4308
|
/**
|
3750
4309
|
* Returns information about the COEP/COOP isolation status.
|
4310
|
+
* @experimental
|
3751
4311
|
*/
|
3752
4312
|
'Network.getSecurityIsolationStatus': {
|
3753
4313
|
paramsType: [Protocol.Network.GetSecurityIsolationStatusRequest?];
|
@@ -3756,6 +4316,7 @@ export namespace ProtocolMapping {
|
|
3756
4316
|
/**
|
3757
4317
|
* Enables tracking for the Reporting API, events generated by the Reporting API will now be delivered to the client.
|
3758
4318
|
* Enabling triggers 'reportingApiReportAdded' for all existing reports.
|
4319
|
+
* @experimental
|
3759
4320
|
*/
|
3760
4321
|
'Network.enableReportingApi': {
|
3761
4322
|
paramsType: [Protocol.Network.EnableReportingApiRequest];
|
@@ -3763,6 +4324,7 @@ export namespace ProtocolMapping {
|
|
3763
4324
|
};
|
3764
4325
|
/**
|
3765
4326
|
* Fetches the resource and returns the content.
|
4327
|
+
* @experimental
|
3766
4328
|
*/
|
3767
4329
|
'Network.loadNetworkResource': {
|
3768
4330
|
paramsType: [Protocol.Network.LoadNetworkResourceRequest];
|
@@ -3771,6 +4333,7 @@ export namespace ProtocolMapping {
|
|
3771
4333
|
/**
|
3772
4334
|
* Sets Controls for third-party cookie access
|
3773
4335
|
* Page reload is required before the new cookie behavior will be observed
|
4336
|
+
* @experimental
|
3774
4337
|
*/
|
3775
4338
|
'Network.setCookieControls': {
|
3776
4339
|
paramsType: [Protocol.Network.SetCookieControlsRequest];
|
@@ -3823,6 +4386,7 @@ export namespace ProtocolMapping {
|
|
3823
4386
|
* Deprecated: Doesn't work reliably and cannot be fixed due to process
|
3824
4387
|
* separation (the owner node might be in a different process). Determine
|
3825
4388
|
* the owner node in the client and use highlightNode.
|
4389
|
+
* @deprecated
|
3826
4390
|
*/
|
3827
4391
|
'Overlay.highlightFrame': {
|
3828
4392
|
paramsType: [Protocol.Overlay.HighlightFrameRequest];
|
@@ -3845,6 +4409,9 @@ export namespace ProtocolMapping {
|
|
3845
4409
|
};
|
3846
4410
|
/**
|
3847
4411
|
* Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
|
4412
|
+
* Issue: the method does not handle device pixel ratio (DPR) correctly.
|
4413
|
+
* The coordinates currently have to be adjusted by the client
|
4414
|
+
* if DPR is not 1 (see crbug.com/437807128).
|
3848
4415
|
*/
|
3849
4416
|
'Overlay.highlightRect': {
|
3850
4417
|
paramsType: [Protocol.Overlay.HighlightRectRequest];
|
@@ -3933,6 +4500,7 @@ export namespace ProtocolMapping {
|
|
3933
4500
|
};
|
3934
4501
|
/**
|
3935
4502
|
* Deprecated, no longer has any effect.
|
4503
|
+
* @deprecated
|
3936
4504
|
*/
|
3937
4505
|
'Overlay.setShowHitTestBorders': {
|
3938
4506
|
paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
|
@@ -3940,6 +4508,7 @@ export namespace ProtocolMapping {
|
|
3940
4508
|
};
|
3941
4509
|
/**
|
3942
4510
|
* Deprecated, no longer has any effect.
|
4511
|
+
* @deprecated
|
3943
4512
|
*/
|
3944
4513
|
'Overlay.setShowWebVitals': {
|
3945
4514
|
paramsType: [Protocol.Overlay.SetShowWebVitalsRequest];
|
@@ -3974,43 +4543,145 @@ export namespace ProtocolMapping {
|
|
3974
4543
|
returnType: void;
|
3975
4544
|
};
|
3976
4545
|
/**
|
3977
|
-
*
|
3978
|
-
*/
|
3979
|
-
'Page.addScriptToEvaluateOnLoad': {
|
3980
|
-
paramsType: [Protocol.Page.AddScriptToEvaluateOnLoadRequest];
|
3981
|
-
returnType: Protocol.Page.AddScriptToEvaluateOnLoadResponse;
|
3982
|
-
};
|
3983
|
-
/**
|
3984
|
-
* Evaluates given script in every frame upon creation (before loading frame's scripts).
|
3985
|
-
*/
|
3986
|
-
'Page.addScriptToEvaluateOnNewDocument': {
|
3987
|
-
paramsType: [Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest];
|
3988
|
-
returnType: Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse;
|
3989
|
-
};
|
3990
|
-
/**
|
3991
|
-
* Brings page to front (activates tab).
|
3992
|
-
*/
|
3993
|
-
'Page.bringToFront': {
|
3994
|
-
paramsType: [];
|
3995
|
-
returnType: void;
|
3996
|
-
};
|
3997
|
-
/**
|
3998
|
-
* Capture page screenshot.
|
4546
|
+
* Returns the following OS state for the given manifest id.
|
3999
4547
|
*/
|
4000
|
-
'
|
4001
|
-
paramsType: [Protocol.
|
4002
|
-
returnType: Protocol.
|
4548
|
+
'PWA.getOsAppState': {
|
4549
|
+
paramsType: [Protocol.PWA.GetOsAppStateRequest];
|
4550
|
+
returnType: Protocol.PWA.GetOsAppStateResponse;
|
4003
4551
|
};
|
4004
4552
|
/**
|
4005
|
-
*
|
4006
|
-
*
|
4007
|
-
|
4008
|
-
|
4553
|
+
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
4554
|
+
*
|
4555
|
+
* IWA-specific install description:
|
4556
|
+
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
4557
|
+
*
|
4558
|
+
* File installation mode:
|
4559
|
+
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
4560
|
+
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
4561
|
+
* The .swbn file's signing key.
|
4562
|
+
*
|
4563
|
+
* Dev proxy installation mode:
|
4564
|
+
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
4565
|
+
* web_package::SignedWebBundleId must be of type dev proxy.
|
4566
|
+
*
|
4567
|
+
* The advantage of dev proxy mode is that all changes to IWA
|
4568
|
+
* automatically will be reflected in the running app without
|
4569
|
+
* reinstallation.
|
4570
|
+
*
|
4571
|
+
* To generate bundle id for proxy mode:
|
4572
|
+
* 1. Generate 32 random bytes.
|
4573
|
+
* 2. Add a specific suffix 0x00 at the end.
|
4574
|
+
* 3. Encode the entire sequence using Base32 without padding.
|
4575
|
+
*
|
4576
|
+
* If Chrome is not in IWA dev
|
4577
|
+
* mode, the installation will fail, regardless of the state of the allowlist.
|
4578
|
+
*/
|
4579
|
+
'PWA.install': {
|
4580
|
+
paramsType: [Protocol.PWA.InstallRequest];
|
4581
|
+
returnType: void;
|
4582
|
+
};
|
4583
|
+
/**
|
4584
|
+
* Uninstalls the given manifest_id and closes any opened app windows.
|
4585
|
+
*/
|
4586
|
+
'PWA.uninstall': {
|
4587
|
+
paramsType: [Protocol.PWA.UninstallRequest];
|
4588
|
+
returnType: void;
|
4589
|
+
};
|
4590
|
+
/**
|
4591
|
+
* Launches the installed web app, or an url in the same web app instead of the
|
4592
|
+
* default start url if it is provided. Returns a page Target.TargetID which
|
4593
|
+
* can be used to attach to via Target.attachToTarget or similar APIs.
|
4594
|
+
*/
|
4595
|
+
'PWA.launch': {
|
4596
|
+
paramsType: [Protocol.PWA.LaunchRequest];
|
4597
|
+
returnType: Protocol.PWA.LaunchResponse;
|
4598
|
+
};
|
4599
|
+
/**
|
4600
|
+
* Opens one or more local files from an installed web app identified by its
|
4601
|
+
* manifestId. The web app needs to have file handlers registered to process
|
4602
|
+
* the files. The API returns one or more page Target.TargetIDs which can be
|
4603
|
+
* used to attach to via Target.attachToTarget or similar APIs.
|
4604
|
+
* If some files in the parameters cannot be handled by the web app, they will
|
4605
|
+
* be ignored. If none of the files can be handled, this API returns an error.
|
4606
|
+
* If no files are provided as the parameter, this API also returns an error.
|
4607
|
+
*
|
4608
|
+
* According to the definition of the file handlers in the manifest file, one
|
4609
|
+
* Target.TargetID may represent a page handling one or more files. The order
|
4610
|
+
* of the returned Target.TargetIDs is not guaranteed.
|
4611
|
+
*
|
4612
|
+
* TODO(crbug.com/339454034): Check the existences of the input files.
|
4613
|
+
*/
|
4614
|
+
'PWA.launchFilesInApp': {
|
4615
|
+
paramsType: [Protocol.PWA.LaunchFilesInAppRequest];
|
4616
|
+
returnType: Protocol.PWA.LaunchFilesInAppResponse;
|
4617
|
+
};
|
4618
|
+
/**
|
4619
|
+
* Opens the current page in its web app identified by the manifest id, needs
|
4620
|
+
* to be called on a page target. This function returns immediately without
|
4621
|
+
* waiting for the app to finish loading.
|
4622
|
+
*/
|
4623
|
+
'PWA.openCurrentPageInApp': {
|
4624
|
+
paramsType: [Protocol.PWA.OpenCurrentPageInAppRequest];
|
4625
|
+
returnType: void;
|
4626
|
+
};
|
4627
|
+
/**
|
4628
|
+
* Changes user settings of the web app identified by its manifestId. If the
|
4629
|
+
* app was not installed, this command returns an error. Unset parameters will
|
4630
|
+
* be ignored; unrecognized values will cause an error.
|
4631
|
+
*
|
4632
|
+
* Unlike the ones defined in the manifest files of the web apps, these
|
4633
|
+
* settings are provided by the browser and controlled by the users, they
|
4634
|
+
* impact the way the browser handling the web apps.
|
4635
|
+
*
|
4636
|
+
* See the comment of each parameter.
|
4637
|
+
*/
|
4638
|
+
'PWA.changeAppUserSettings': {
|
4639
|
+
paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
|
4640
|
+
returnType: void;
|
4641
|
+
};
|
4642
|
+
/**
|
4643
|
+
* Deprecated, please use addScriptToEvaluateOnNewDocument instead.
|
4644
|
+
* @deprecated
|
4645
|
+
* @experimental
|
4646
|
+
*/
|
4647
|
+
'Page.addScriptToEvaluateOnLoad': {
|
4648
|
+
paramsType: [Protocol.Page.AddScriptToEvaluateOnLoadRequest];
|
4649
|
+
returnType: Protocol.Page.AddScriptToEvaluateOnLoadResponse;
|
4650
|
+
};
|
4651
|
+
/**
|
4652
|
+
* Evaluates given script in every frame upon creation (before loading frame's scripts).
|
4653
|
+
*/
|
4654
|
+
'Page.addScriptToEvaluateOnNewDocument': {
|
4655
|
+
paramsType: [Protocol.Page.AddScriptToEvaluateOnNewDocumentRequest];
|
4656
|
+
returnType: Protocol.Page.AddScriptToEvaluateOnNewDocumentResponse;
|
4657
|
+
};
|
4658
|
+
/**
|
4659
|
+
* Brings page to front (activates tab).
|
4660
|
+
*/
|
4661
|
+
'Page.bringToFront': {
|
4662
|
+
paramsType: [];
|
4663
|
+
returnType: void;
|
4664
|
+
};
|
4665
|
+
/**
|
4666
|
+
* Capture page screenshot.
|
4667
|
+
*/
|
4668
|
+
'Page.captureScreenshot': {
|
4669
|
+
paramsType: [Protocol.Page.CaptureScreenshotRequest?];
|
4670
|
+
returnType: Protocol.Page.CaptureScreenshotResponse;
|
4671
|
+
};
|
4672
|
+
/**
|
4673
|
+
* Returns a snapshot of the page as a string. For MHTML format, the serialization includes
|
4674
|
+
* iframes, shadow DOM, external resources, and element-inline styles.
|
4675
|
+
* @experimental
|
4676
|
+
*/
|
4677
|
+
'Page.captureSnapshot': {
|
4009
4678
|
paramsType: [Protocol.Page.CaptureSnapshotRequest?];
|
4010
4679
|
returnType: Protocol.Page.CaptureSnapshotResponse;
|
4011
4680
|
};
|
4012
4681
|
/**
|
4013
4682
|
* Clears the overridden device metrics.
|
4683
|
+
* @deprecated
|
4684
|
+
* @experimental
|
4014
4685
|
*/
|
4015
4686
|
'Page.clearDeviceMetricsOverride': {
|
4016
4687
|
paramsType: [];
|
@@ -4018,6 +4689,8 @@ export namespace ProtocolMapping {
|
|
4018
4689
|
};
|
4019
4690
|
/**
|
4020
4691
|
* Clears the overridden Device Orientation.
|
4692
|
+
* @deprecated
|
4693
|
+
* @experimental
|
4021
4694
|
*/
|
4022
4695
|
'Page.clearDeviceOrientationOverride': {
|
4023
4696
|
paramsType: [];
|
@@ -4025,6 +4698,7 @@ export namespace ProtocolMapping {
|
|
4025
4698
|
};
|
4026
4699
|
/**
|
4027
4700
|
* Clears the overridden Geolocation Position and Error.
|
4701
|
+
* @deprecated
|
4028
4702
|
*/
|
4029
4703
|
'Page.clearGeolocationOverride': {
|
4030
4704
|
paramsType: [];
|
@@ -4039,6 +4713,8 @@ export namespace ProtocolMapping {
|
|
4039
4713
|
};
|
4040
4714
|
/**
|
4041
4715
|
* Deletes browser cookie with given name, domain and path.
|
4716
|
+
* @deprecated
|
4717
|
+
* @experimental
|
4042
4718
|
*/
|
4043
4719
|
'Page.deleteCookie': {
|
4044
4720
|
paramsType: [Protocol.Page.DeleteCookieRequest];
|
@@ -4069,12 +4745,17 @@ export namespace ProtocolMapping {
|
|
4069
4745
|
paramsType: [Protocol.Page.GetAppManifestRequest?];
|
4070
4746
|
returnType: Protocol.Page.GetAppManifestResponse;
|
4071
4747
|
};
|
4748
|
+
/**
|
4749
|
+
* @experimental
|
4750
|
+
*/
|
4072
4751
|
'Page.getInstallabilityErrors': {
|
4073
4752
|
paramsType: [];
|
4074
4753
|
returnType: Protocol.Page.GetInstallabilityErrorsResponse;
|
4075
4754
|
};
|
4076
4755
|
/**
|
4077
4756
|
* Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
|
4757
|
+
* @deprecated
|
4758
|
+
* @experimental
|
4078
4759
|
*/
|
4079
4760
|
'Page.getManifestIcons': {
|
4080
4761
|
paramsType: [];
|
@@ -4083,11 +4764,15 @@ export namespace ProtocolMapping {
|
|
4083
4764
|
/**
|
4084
4765
|
* Returns the unique (PWA) app id.
|
4085
4766
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
4767
|
+
* @experimental
|
4086
4768
|
*/
|
4087
4769
|
'Page.getAppId': {
|
4088
4770
|
paramsType: [];
|
4089
4771
|
returnType: Protocol.Page.GetAppIdResponse;
|
4090
4772
|
};
|
4773
|
+
/**
|
4774
|
+
* @experimental
|
4775
|
+
*/
|
4091
4776
|
'Page.getAdScriptAncestry': {
|
4092
4777
|
paramsType: [Protocol.Page.GetAdScriptAncestryRequest];
|
4093
4778
|
returnType: Protocol.Page.GetAdScriptAncestryResponse;
|
@@ -4122,6 +4807,7 @@ export namespace ProtocolMapping {
|
|
4122
4807
|
};
|
4123
4808
|
/**
|
4124
4809
|
* Returns content of the given resource.
|
4810
|
+
* @experimental
|
4125
4811
|
*/
|
4126
4812
|
'Page.getResourceContent': {
|
4127
4813
|
paramsType: [Protocol.Page.GetResourceContentRequest];
|
@@ -4129,6 +4815,7 @@ export namespace ProtocolMapping {
|
|
4129
4815
|
};
|
4130
4816
|
/**
|
4131
4817
|
* Returns present frame / resource tree structure.
|
4818
|
+
* @experimental
|
4132
4819
|
*/
|
4133
4820
|
'Page.getResourceTree': {
|
4134
4821
|
paramsType: [];
|
@@ -4171,6 +4858,8 @@ export namespace ProtocolMapping {
|
|
4171
4858
|
};
|
4172
4859
|
/**
|
4173
4860
|
* Deprecated, please use removeScriptToEvaluateOnNewDocument instead.
|
4861
|
+
* @deprecated
|
4862
|
+
* @experimental
|
4174
4863
|
*/
|
4175
4864
|
'Page.removeScriptToEvaluateOnLoad': {
|
4176
4865
|
paramsType: [Protocol.Page.RemoveScriptToEvaluateOnLoadRequest];
|
@@ -4185,6 +4874,7 @@ export namespace ProtocolMapping {
|
|
4185
4874
|
};
|
4186
4875
|
/**
|
4187
4876
|
* Acknowledges that a screencast frame has been received by the frontend.
|
4877
|
+
* @experimental
|
4188
4878
|
*/
|
4189
4879
|
'Page.screencastFrameAck': {
|
4190
4880
|
paramsType: [Protocol.Page.ScreencastFrameAckRequest];
|
@@ -4192,6 +4882,7 @@ export namespace ProtocolMapping {
|
|
4192
4882
|
};
|
4193
4883
|
/**
|
4194
4884
|
* Searches for given string in resource content.
|
4885
|
+
* @experimental
|
4195
4886
|
*/
|
4196
4887
|
'Page.searchInResource': {
|
4197
4888
|
paramsType: [Protocol.Page.SearchInResourceRequest];
|
@@ -4199,6 +4890,7 @@ export namespace ProtocolMapping {
|
|
4199
4890
|
};
|
4200
4891
|
/**
|
4201
4892
|
* Enable Chrome's experimental ad filter on all sites.
|
4893
|
+
* @experimental
|
4202
4894
|
*/
|
4203
4895
|
'Page.setAdBlockingEnabled': {
|
4204
4896
|
paramsType: [Protocol.Page.SetAdBlockingEnabledRequest];
|
@@ -4213,6 +4905,7 @@ export namespace ProtocolMapping {
|
|
4213
4905
|
};
|
4214
4906
|
/**
|
4215
4907
|
* Get Permissions Policy state on given frame.
|
4908
|
+
* @experimental
|
4216
4909
|
*/
|
4217
4910
|
'Page.getPermissionsPolicyState': {
|
4218
4911
|
paramsType: [Protocol.Page.GetPermissionsPolicyStateRequest];
|
@@ -4220,6 +4913,7 @@ export namespace ProtocolMapping {
|
|
4220
4913
|
};
|
4221
4914
|
/**
|
4222
4915
|
* Get Origin Trials on given frame.
|
4916
|
+
* @experimental
|
4223
4917
|
*/
|
4224
4918
|
'Page.getOriginTrials': {
|
4225
4919
|
paramsType: [Protocol.Page.GetOriginTrialsRequest];
|
@@ -4229,6 +4923,8 @@ export namespace ProtocolMapping {
|
|
4229
4923
|
* Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
|
4230
4924
|
* window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
|
4231
4925
|
* query results).
|
4926
|
+
* @deprecated
|
4927
|
+
* @experimental
|
4232
4928
|
*/
|
4233
4929
|
'Page.setDeviceMetricsOverride': {
|
4234
4930
|
paramsType: [Protocol.Page.SetDeviceMetricsOverrideRequest];
|
@@ -4236,6 +4932,8 @@ export namespace ProtocolMapping {
|
|
4236
4932
|
};
|
4237
4933
|
/**
|
4238
4934
|
* Overrides the Device Orientation.
|
4935
|
+
* @deprecated
|
4936
|
+
* @experimental
|
4239
4937
|
*/
|
4240
4938
|
'Page.setDeviceOrientationOverride': {
|
4241
4939
|
paramsType: [Protocol.Page.SetDeviceOrientationOverrideRequest];
|
@@ -4243,6 +4941,7 @@ export namespace ProtocolMapping {
|
|
4243
4941
|
};
|
4244
4942
|
/**
|
4245
4943
|
* Set generic font families.
|
4944
|
+
* @experimental
|
4246
4945
|
*/
|
4247
4946
|
'Page.setFontFamilies': {
|
4248
4947
|
paramsType: [Protocol.Page.SetFontFamiliesRequest];
|
@@ -4250,6 +4949,7 @@ export namespace ProtocolMapping {
|
|
4250
4949
|
};
|
4251
4950
|
/**
|
4252
4951
|
* Set default font sizes.
|
4952
|
+
* @experimental
|
4253
4953
|
*/
|
4254
4954
|
'Page.setFontSizes': {
|
4255
4955
|
paramsType: [Protocol.Page.SetFontSizesRequest];
|
@@ -4264,6 +4964,8 @@ export namespace ProtocolMapping {
|
|
4264
4964
|
};
|
4265
4965
|
/**
|
4266
4966
|
* Set the behavior when downloading a file.
|
4967
|
+
* @deprecated
|
4968
|
+
* @experimental
|
4267
4969
|
*/
|
4268
4970
|
'Page.setDownloadBehavior': {
|
4269
4971
|
paramsType: [Protocol.Page.SetDownloadBehaviorRequest];
|
@@ -4272,6 +4974,7 @@ export namespace ProtocolMapping {
|
|
4272
4974
|
/**
|
4273
4975
|
* Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
|
4274
4976
|
* unavailable.
|
4977
|
+
* @deprecated
|
4275
4978
|
*/
|
4276
4979
|
'Page.setGeolocationOverride': {
|
4277
4980
|
paramsType: [Protocol.Page.SetGeolocationOverrideRequest?];
|
@@ -4286,6 +4989,8 @@ export namespace ProtocolMapping {
|
|
4286
4989
|
};
|
4287
4990
|
/**
|
4288
4991
|
* Toggles mouse event-based touch event emulation.
|
4992
|
+
* @deprecated
|
4993
|
+
* @experimental
|
4289
4994
|
*/
|
4290
4995
|
'Page.setTouchEmulationEnabled': {
|
4291
4996
|
paramsType: [Protocol.Page.SetTouchEmulationEnabledRequest];
|
@@ -4293,6 +4998,7 @@ export namespace ProtocolMapping {
|
|
4293
4998
|
};
|
4294
4999
|
/**
|
4295
5000
|
* Starts sending each frame using the `screencastFrame` event.
|
5001
|
+
* @experimental
|
4296
5002
|
*/
|
4297
5003
|
'Page.startScreencast': {
|
4298
5004
|
paramsType: [Protocol.Page.StartScreencastRequest?];
|
@@ -4307,6 +5013,7 @@ export namespace ProtocolMapping {
|
|
4307
5013
|
};
|
4308
5014
|
/**
|
4309
5015
|
* Crashes renderer on the IO thread, generates minidumps.
|
5016
|
+
* @experimental
|
4310
5017
|
*/
|
4311
5018
|
'Page.crash': {
|
4312
5019
|
paramsType: [];
|
@@ -4323,6 +5030,7 @@ export namespace ProtocolMapping {
|
|
4323
5030
|
* Tries to update the web lifecycle state of the page.
|
4324
5031
|
* It will transition the page to the given state according to:
|
4325
5032
|
* https://github.com/WICG/web-lifecycle/
|
5033
|
+
* @experimental
|
4326
5034
|
*/
|
4327
5035
|
'Page.setWebLifecycleState': {
|
4328
5036
|
paramsType: [Protocol.Page.SetWebLifecycleStateRequest];
|
@@ -4330,6 +5038,7 @@ export namespace ProtocolMapping {
|
|
4330
5038
|
};
|
4331
5039
|
/**
|
4332
5040
|
* Stops sending each frame in the `screencastFrame`.
|
5041
|
+
* @experimental
|
4333
5042
|
*/
|
4334
5043
|
'Page.stopScreencast': {
|
4335
5044
|
paramsType: [];
|
@@ -4342,6 +5051,7 @@ export namespace ProtocolMapping {
|
|
4342
5051
|
* When script with a matching URL is encountered, the cache is optionally
|
4343
5052
|
* produced upon backend discretion, based on internal heuristics.
|
4344
5053
|
* See also: `Page.compilationCacheProduced`.
|
5054
|
+
* @experimental
|
4345
5055
|
*/
|
4346
5056
|
'Page.produceCompilationCache': {
|
4347
5057
|
paramsType: [Protocol.Page.ProduceCompilationCacheRequest];
|
@@ -4350,6 +5060,7 @@ export namespace ProtocolMapping {
|
|
4350
5060
|
/**
|
4351
5061
|
* Seeds compilation cache for given url. Compilation cache does not survive
|
4352
5062
|
* cross-process navigation.
|
5063
|
+
* @experimental
|
4353
5064
|
*/
|
4354
5065
|
'Page.addCompilationCache': {
|
4355
5066
|
paramsType: [Protocol.Page.AddCompilationCacheRequest];
|
@@ -4357,6 +5068,7 @@ export namespace ProtocolMapping {
|
|
4357
5068
|
};
|
4358
5069
|
/**
|
4359
5070
|
* Clears seeded compilation cache.
|
5071
|
+
* @experimental
|
4360
5072
|
*/
|
4361
5073
|
'Page.clearCompilationCache': {
|
4362
5074
|
paramsType: [];
|
@@ -4365,6 +5077,7 @@ export namespace ProtocolMapping {
|
|
4365
5077
|
/**
|
4366
5078
|
* Sets the Secure Payment Confirmation transaction mode.
|
4367
5079
|
* https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
|
5080
|
+
* @experimental
|
4368
5081
|
*/
|
4369
5082
|
'Page.setSPCTransactionMode': {
|
4370
5083
|
paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
|
@@ -4373,6 +5086,7 @@ export namespace ProtocolMapping {
|
|
4373
5086
|
/**
|
4374
5087
|
* Extensions for Custom Handlers API:
|
4375
5088
|
* https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
5089
|
+
* @experimental
|
4376
5090
|
*/
|
4377
5091
|
'Page.setRPHRegistrationMode': {
|
4378
5092
|
paramsType: [Protocol.Page.SetRPHRegistrationModeRequest];
|
@@ -4380,6 +5094,7 @@ export namespace ProtocolMapping {
|
|
4380
5094
|
};
|
4381
5095
|
/**
|
4382
5096
|
* Generates a report for testing.
|
5097
|
+
* @experimental
|
4383
5098
|
*/
|
4384
5099
|
'Page.generateTestReport': {
|
4385
5100
|
paramsType: [Protocol.Page.GenerateTestReportRequest];
|
@@ -4387,6 +5102,7 @@ export namespace ProtocolMapping {
|
|
4387
5102
|
};
|
4388
5103
|
/**
|
4389
5104
|
* Pauses page execution. Can be resumed using generic Runtime.runIfWaitingForDebugger.
|
5105
|
+
* @experimental
|
4390
5106
|
*/
|
4391
5107
|
'Page.waitForDebugger': {
|
4392
5108
|
paramsType: [];
|
@@ -4409,6 +5125,7 @@ export namespace ProtocolMapping {
|
|
4409
5125
|
* for more details.
|
4410
5126
|
*
|
4411
5127
|
* TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets.
|
5128
|
+
* @experimental
|
4412
5129
|
*/
|
4413
5130
|
'Page.setPrerenderingAllowed': {
|
4414
5131
|
paramsType: [Protocol.Page.SetPrerenderingAllowedRequest];
|
@@ -4432,6 +5149,8 @@ export namespace ProtocolMapping {
|
|
4432
5149
|
* Sets time domain to use for collecting and reporting duration metrics.
|
4433
5150
|
* Note that this must be called before enabling metrics collection. Calling
|
4434
5151
|
* this method while metrics collection is enabled returns an error.
|
5152
|
+
* @deprecated
|
5153
|
+
* @experimental
|
4435
5154
|
*/
|
4436
5155
|
'Performance.setTimeDomain': {
|
4437
5156
|
paramsType: [Protocol.Performance.SetTimeDomainRequest];
|
@@ -4452,6 +5171,14 @@ export namespace ProtocolMapping {
|
|
4452
5171
|
paramsType: [Protocol.PerformanceTimeline.EnableRequest];
|
4453
5172
|
returnType: void;
|
4454
5173
|
};
|
5174
|
+
'Preload.enable': {
|
5175
|
+
paramsType: [];
|
5176
|
+
returnType: void;
|
5177
|
+
};
|
5178
|
+
'Preload.disable': {
|
5179
|
+
paramsType: [];
|
5180
|
+
returnType: void;
|
5181
|
+
};
|
4455
5182
|
/**
|
4456
5183
|
* Disables tracking security state changes.
|
4457
5184
|
*/
|
@@ -4475,6 +5202,7 @@ export namespace ProtocolMapping {
|
|
4475
5202
|
};
|
4476
5203
|
/**
|
4477
5204
|
* Handles a certificate error that fired a certificateError event.
|
5205
|
+
* @deprecated
|
4478
5206
|
*/
|
4479
5207
|
'Security.handleCertificateError': {
|
4480
5208
|
paramsType: [Protocol.Security.HandleCertificateErrorRequest];
|
@@ -4483,6 +5211,7 @@ export namespace ProtocolMapping {
|
|
4483
5211
|
/**
|
4484
5212
|
* Enable/disable overriding certificate errors. If enabled, all certificate error events need to
|
4485
5213
|
* be handled by the DevTools client and should be answered with `handleCertificateError` commands.
|
5214
|
+
* @deprecated
|
4486
5215
|
*/
|
4487
5216
|
'Security.setOverrideCertificateErrors': {
|
4488
5217
|
paramsType: [Protocol.Security.SetOverrideCertificateErrorsRequest];
|
@@ -4587,6 +5316,7 @@ export namespace ProtocolMapping {
|
|
4587
5316
|
};
|
4588
5317
|
/**
|
4589
5318
|
* Override quota for the specified origin
|
5319
|
+
* @experimental
|
4590
5320
|
*/
|
4591
5321
|
'Storage.overrideQuotaForOrigin': {
|
4592
5322
|
paramsType: [Protocol.Storage.OverrideQuotaForOriginRequest];
|
@@ -4651,6 +5381,7 @@ export namespace ProtocolMapping {
|
|
4651
5381
|
/**
|
4652
5382
|
* Returns the number of stored Trust Tokens per issuer for the
|
4653
5383
|
* current browsing context.
|
5384
|
+
* @experimental
|
4654
5385
|
*/
|
4655
5386
|
'Storage.getTrustTokens': {
|
4656
5387
|
paramsType: [];
|
@@ -4659,6 +5390,7 @@ export namespace ProtocolMapping {
|
|
4659
5390
|
/**
|
4660
5391
|
* Removes all Trust Tokens issued by the provided issuerOrigin.
|
4661
5392
|
* Leaves other stored data, including the issuer's Redemption Records, intact.
|
5393
|
+
* @experimental
|
4662
5394
|
*/
|
4663
5395
|
'Storage.clearTrustTokens': {
|
4664
5396
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
@@ -4666,6 +5398,7 @@ export namespace ProtocolMapping {
|
|
4666
5398
|
};
|
4667
5399
|
/**
|
4668
5400
|
* Gets details for a named interest group.
|
5401
|
+
* @experimental
|
4669
5402
|
*/
|
4670
5403
|
'Storage.getInterestGroupDetails': {
|
4671
5404
|
paramsType: [Protocol.Storage.GetInterestGroupDetailsRequest];
|
@@ -4673,6 +5406,7 @@ export namespace ProtocolMapping {
|
|
4673
5406
|
};
|
4674
5407
|
/**
|
4675
5408
|
* Enables/Disables issuing of interestGroupAccessed events.
|
5409
|
+
* @experimental
|
4676
5410
|
*/
|
4677
5411
|
'Storage.setInterestGroupTracking': {
|
4678
5412
|
paramsType: [Protocol.Storage.SetInterestGroupTrackingRequest];
|
@@ -4681,6 +5415,7 @@ export namespace ProtocolMapping {
|
|
4681
5415
|
/**
|
4682
5416
|
* Enables/Disables issuing of interestGroupAuctionEventOccurred and
|
4683
5417
|
* interestGroupAuctionNetworkRequestCreated.
|
5418
|
+
* @experimental
|
4684
5419
|
*/
|
4685
5420
|
'Storage.setInterestGroupAuctionTracking': {
|
4686
5421
|
paramsType: [Protocol.Storage.SetInterestGroupAuctionTrackingRequest];
|
@@ -4688,6 +5423,7 @@ export namespace ProtocolMapping {
|
|
4688
5423
|
};
|
4689
5424
|
/**
|
4690
5425
|
* Gets metadata for an origin's shared storage.
|
5426
|
+
* @experimental
|
4691
5427
|
*/
|
4692
5428
|
'Storage.getSharedStorageMetadata': {
|
4693
5429
|
paramsType: [Protocol.Storage.GetSharedStorageMetadataRequest];
|
@@ -4695,6 +5431,7 @@ export namespace ProtocolMapping {
|
|
4695
5431
|
};
|
4696
5432
|
/**
|
4697
5433
|
* Gets the entries in an given origin's shared storage.
|
5434
|
+
* @experimental
|
4698
5435
|
*/
|
4699
5436
|
'Storage.getSharedStorageEntries': {
|
4700
5437
|
paramsType: [Protocol.Storage.GetSharedStorageEntriesRequest];
|
@@ -4702,6 +5439,7 @@ export namespace ProtocolMapping {
|
|
4702
5439
|
};
|
4703
5440
|
/**
|
4704
5441
|
* Sets entry with `key` and `value` for a given origin's shared storage.
|
5442
|
+
* @experimental
|
4705
5443
|
*/
|
4706
5444
|
'Storage.setSharedStorageEntry': {
|
4707
5445
|
paramsType: [Protocol.Storage.SetSharedStorageEntryRequest];
|
@@ -4709,6 +5447,7 @@ export namespace ProtocolMapping {
|
|
4709
5447
|
};
|
4710
5448
|
/**
|
4711
5449
|
* Deletes entry for `key` (if it exists) for a given origin's shared storage.
|
5450
|
+
* @experimental
|
4712
5451
|
*/
|
4713
5452
|
'Storage.deleteSharedStorageEntry': {
|
4714
5453
|
paramsType: [Protocol.Storage.DeleteSharedStorageEntryRequest];
|
@@ -4716,6 +5455,7 @@ export namespace ProtocolMapping {
|
|
4716
5455
|
};
|
4717
5456
|
/**
|
4718
5457
|
* Clears all entries for a given origin's shared storage.
|
5458
|
+
* @experimental
|
4719
5459
|
*/
|
4720
5460
|
'Storage.clearSharedStorageEntries': {
|
4721
5461
|
paramsType: [Protocol.Storage.ClearSharedStorageEntriesRequest];
|
@@ -4723,6 +5463,7 @@ export namespace ProtocolMapping {
|
|
4723
5463
|
};
|
4724
5464
|
/**
|
4725
5465
|
* Resets the budget for `ownerOrigin` by clearing all budget withdrawals.
|
5466
|
+
* @experimental
|
4726
5467
|
*/
|
4727
5468
|
'Storage.resetSharedStorageBudget': {
|
4728
5469
|
paramsType: [Protocol.Storage.ResetSharedStorageBudgetRequest];
|
@@ -4730,6 +5471,7 @@ export namespace ProtocolMapping {
|
|
4730
5471
|
};
|
4731
5472
|
/**
|
4732
5473
|
* Enables/disables issuing of sharedStorageAccessed events.
|
5474
|
+
* @experimental
|
4733
5475
|
*/
|
4734
5476
|
'Storage.setSharedStorageTracking': {
|
4735
5477
|
paramsType: [Protocol.Storage.SetSharedStorageTrackingRequest];
|
@@ -4737,6 +5479,7 @@ export namespace ProtocolMapping {
|
|
4737
5479
|
};
|
4738
5480
|
/**
|
4739
5481
|
* Set tracking for a storage key's buckets.
|
5482
|
+
* @experimental
|
4740
5483
|
*/
|
4741
5484
|
'Storage.setStorageBucketTracking': {
|
4742
5485
|
paramsType: [Protocol.Storage.SetStorageBucketTrackingRequest];
|
@@ -4744,6 +5487,7 @@ export namespace ProtocolMapping {
|
|
4744
5487
|
};
|
4745
5488
|
/**
|
4746
5489
|
* Deletes the Storage Bucket with the given storage key and bucket name.
|
5490
|
+
* @experimental
|
4747
5491
|
*/
|
4748
5492
|
'Storage.deleteStorageBucket': {
|
4749
5493
|
paramsType: [Protocol.Storage.DeleteStorageBucketRequest];
|
@@ -4751,6 +5495,7 @@ export namespace ProtocolMapping {
|
|
4751
5495
|
};
|
4752
5496
|
/**
|
4753
5497
|
* Deletes state for sites identified as potential bounce trackers, immediately.
|
5498
|
+
* @experimental
|
4754
5499
|
*/
|
4755
5500
|
'Storage.runBounceTrackingMitigations': {
|
4756
5501
|
paramsType: [];
|
@@ -4758,6 +5503,7 @@ export namespace ProtocolMapping {
|
|
4758
5503
|
};
|
4759
5504
|
/**
|
4760
5505
|
* https://wicg.github.io/attribution-reporting-api/
|
5506
|
+
* @experimental
|
4761
5507
|
*/
|
4762
5508
|
'Storage.setAttributionReportingLocalTestingMode': {
|
4763
5509
|
paramsType: [Protocol.Storage.SetAttributionReportingLocalTestingModeRequest];
|
@@ -4765,6 +5511,7 @@ export namespace ProtocolMapping {
|
|
4765
5511
|
};
|
4766
5512
|
/**
|
4767
5513
|
* Enables/disables issuing of Attribution Reporting events.
|
5514
|
+
* @experimental
|
4768
5515
|
*/
|
4769
5516
|
'Storage.setAttributionReportingTracking': {
|
4770
5517
|
paramsType: [Protocol.Storage.SetAttributionReportingTrackingRequest];
|
@@ -4773,6 +5520,7 @@ export namespace ProtocolMapping {
|
|
4773
5520
|
/**
|
4774
5521
|
* Sends all pending Attribution Reports immediately, regardless of their
|
4775
5522
|
* scheduled report time.
|
5523
|
+
* @experimental
|
4776
5524
|
*/
|
4777
5525
|
'Storage.sendPendingAttributionReports': {
|
4778
5526
|
paramsType: [];
|
@@ -4781,6 +5529,7 @@ export namespace ProtocolMapping {
|
|
4781
5529
|
/**
|
4782
5530
|
* Returns the effective Related Website Sets in use by this profile for the browser
|
4783
5531
|
* session. The effective Related Website Sets will not change during a browser session.
|
5532
|
+
* @experimental
|
4784
5533
|
*/
|
4785
5534
|
'Storage.getRelatedWebsiteSets': {
|
4786
5535
|
paramsType: [];
|
@@ -4790,6 +5539,7 @@ export namespace ProtocolMapping {
|
|
4790
5539
|
* Returns the list of URLs from a page and its embedded resources that match
|
4791
5540
|
* existing grace period URL pattern rules.
|
4792
5541
|
* https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period
|
5542
|
+
* @experimental
|
4793
5543
|
*/
|
4794
5544
|
'Storage.getAffectedUrlsForThirdPartyCookieMetadata': {
|
4795
5545
|
paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
|
@@ -4836,6 +5586,7 @@ export namespace ProtocolMapping {
|
|
4836
5586
|
};
|
4837
5587
|
/**
|
4838
5588
|
* Attaches to the browser target, only uses flat sessionId mode.
|
5589
|
+
* @experimental
|
4839
5590
|
*/
|
4840
5591
|
'Target.attachToBrowserTarget': {
|
4841
5592
|
paramsType: [];
|
@@ -4857,6 +5608,7 @@ export namespace ProtocolMapping {
|
|
4857
5608
|
* The object has the following API:
|
4858
5609
|
* - `binding.send(json)` - a method to send messages over the remote debugging protocol
|
4859
5610
|
* - `binding.onmessage = json => handleMessage(json)` - a callback that will be called for the protocol notifications and command responses.
|
5611
|
+
* @experimental
|
4860
5612
|
*/
|
4861
5613
|
'Target.exposeDevToolsProtocol': {
|
4862
5614
|
paramsType: [Protocol.Target.ExposeDevToolsProtocolRequest];
|
@@ -4901,6 +5653,7 @@ export namespace ProtocolMapping {
|
|
4901
5653
|
};
|
4902
5654
|
/**
|
4903
5655
|
* Returns information about a target.
|
5656
|
+
* @experimental
|
4904
5657
|
*/
|
4905
5658
|
'Target.getTargetInfo': {
|
4906
5659
|
paramsType: [Protocol.Target.GetTargetInfoRequest?];
|
@@ -4917,6 +5670,7 @@ export namespace ProtocolMapping {
|
|
4917
5670
|
* Sends protocol message over session with given id.
|
4918
5671
|
* Consider using flat mode instead; see commands attachToTarget, setAutoAttach,
|
4919
5672
|
* and crbug.com/991325.
|
5673
|
+
* @deprecated
|
4920
5674
|
*/
|
4921
5675
|
'Target.sendMessageToTarget': {
|
4922
5676
|
paramsType: [Protocol.Target.SendMessageToTargetRequest];
|
@@ -4942,6 +5696,7 @@ export namespace ProtocolMapping {
|
|
4942
5696
|
* through `attachedToTarget`. The specified target is also auto-attached.
|
4943
5697
|
* This cancels the effect of any previous `setAutoAttach` and is also cancelled by subsequent
|
4944
5698
|
* `setAutoAttach`. Only available at the Browser target.
|
5699
|
+
* @experimental
|
4945
5700
|
*/
|
4946
5701
|
'Target.autoAttachRelated': {
|
4947
5702
|
paramsType: [Protocol.Target.AutoAttachRelatedRequest];
|
@@ -4958,6 +5713,7 @@ export namespace ProtocolMapping {
|
|
4958
5713
|
/**
|
4959
5714
|
* Enables target discovery for the specified locations, when `setDiscoverTargets` was set to
|
4960
5715
|
* `true`.
|
5716
|
+
* @experimental
|
4961
5717
|
*/
|
4962
5718
|
'Target.setRemoteLocations': {
|
4963
5719
|
paramsType: [Protocol.Target.SetRemoteLocationsRequest];
|
@@ -4965,6 +5721,7 @@ export namespace ProtocolMapping {
|
|
4965
5721
|
};
|
4966
5722
|
/**
|
4967
5723
|
* Opens a DevTools window for the target.
|
5724
|
+
* @experimental
|
4968
5725
|
*/
|
4969
5726
|
'Target.openDevTools': {
|
4970
5727
|
paramsType: [Protocol.Target.OpenDevToolsRequest];
|
@@ -4993,6 +5750,7 @@ export namespace ProtocolMapping {
|
|
4993
5750
|
};
|
4994
5751
|
/**
|
4995
5752
|
* Gets supported tracing categories.
|
5753
|
+
* @experimental
|
4996
5754
|
*/
|
4997
5755
|
'Tracing.getCategories': {
|
4998
5756
|
paramsType: [];
|
@@ -5000,6 +5758,7 @@ export namespace ProtocolMapping {
|
|
5000
5758
|
};
|
5001
5759
|
/**
|
5002
5760
|
* Record a clock sync marker in the trace.
|
5761
|
+
* @experimental
|
5003
5762
|
*/
|
5004
5763
|
'Tracing.recordClockSyncMarker': {
|
5005
5764
|
paramsType: [Protocol.Tracing.RecordClockSyncMarkerRequest];
|
@@ -5007,6 +5766,7 @@ export namespace ProtocolMapping {
|
|
5007
5766
|
};
|
5008
5767
|
/**
|
5009
5768
|
* Request a global memory dump.
|
5769
|
+
* @experimental
|
5010
5770
|
*/
|
5011
5771
|
'Tracing.requestMemoryDump': {
|
5012
5772
|
paramsType: [Protocol.Tracing.RequestMemoryDumpRequest?];
|
@@ -5019,90 +5779,6 @@ export namespace ProtocolMapping {
|
|
5019
5779
|
paramsType: [Protocol.Tracing.StartRequest?];
|
5020
5780
|
returnType: void;
|
5021
5781
|
};
|
5022
|
-
/**
|
5023
|
-
* Disables the fetch domain.
|
5024
|
-
*/
|
5025
|
-
'Fetch.disable': {
|
5026
|
-
paramsType: [];
|
5027
|
-
returnType: void;
|
5028
|
-
};
|
5029
|
-
/**
|
5030
|
-
* Enables issuing of requestPaused events. A request will be paused until client
|
5031
|
-
* calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
|
5032
|
-
*/
|
5033
|
-
'Fetch.enable': {
|
5034
|
-
paramsType: [Protocol.Fetch.EnableRequest?];
|
5035
|
-
returnType: void;
|
5036
|
-
};
|
5037
|
-
/**
|
5038
|
-
* Causes the request to fail with specified reason.
|
5039
|
-
*/
|
5040
|
-
'Fetch.failRequest': {
|
5041
|
-
paramsType: [Protocol.Fetch.FailRequestRequest];
|
5042
|
-
returnType: void;
|
5043
|
-
};
|
5044
|
-
/**
|
5045
|
-
* Provides response to the request.
|
5046
|
-
*/
|
5047
|
-
'Fetch.fulfillRequest': {
|
5048
|
-
paramsType: [Protocol.Fetch.FulfillRequestRequest];
|
5049
|
-
returnType: void;
|
5050
|
-
};
|
5051
|
-
/**
|
5052
|
-
* Continues the request, optionally modifying some of its parameters.
|
5053
|
-
*/
|
5054
|
-
'Fetch.continueRequest': {
|
5055
|
-
paramsType: [Protocol.Fetch.ContinueRequestRequest];
|
5056
|
-
returnType: void;
|
5057
|
-
};
|
5058
|
-
/**
|
5059
|
-
* Continues a request supplying authChallengeResponse following authRequired event.
|
5060
|
-
*/
|
5061
|
-
'Fetch.continueWithAuth': {
|
5062
|
-
paramsType: [Protocol.Fetch.ContinueWithAuthRequest];
|
5063
|
-
returnType: void;
|
5064
|
-
};
|
5065
|
-
/**
|
5066
|
-
* Continues loading of the paused response, optionally modifying the
|
5067
|
-
* response headers. If either responseCode or headers are modified, all of them
|
5068
|
-
* must be present.
|
5069
|
-
*/
|
5070
|
-
'Fetch.continueResponse': {
|
5071
|
-
paramsType: [Protocol.Fetch.ContinueResponseRequest];
|
5072
|
-
returnType: void;
|
5073
|
-
};
|
5074
|
-
/**
|
5075
|
-
* Causes the body of the response to be received from the server and
|
5076
|
-
* returned as a single string. May only be issued for a request that
|
5077
|
-
* is paused in the Response stage and is mutually exclusive with
|
5078
|
-
* takeResponseBodyForInterceptionAsStream. Calling other methods that
|
5079
|
-
* affect the request or disabling fetch domain before body is received
|
5080
|
-
* results in an undefined behavior.
|
5081
|
-
* Note that the response body is not available for redirects. Requests
|
5082
|
-
* paused in the _redirect received_ state may be differentiated by
|
5083
|
-
* `responseCode` and presence of `location` response header, see
|
5084
|
-
* comments to `requestPaused` for details.
|
5085
|
-
*/
|
5086
|
-
'Fetch.getResponseBody': {
|
5087
|
-
paramsType: [Protocol.Fetch.GetResponseBodyRequest];
|
5088
|
-
returnType: Protocol.Fetch.GetResponseBodyResponse;
|
5089
|
-
};
|
5090
|
-
/**
|
5091
|
-
* Returns a handle to the stream representing the response body.
|
5092
|
-
* The request must be paused in the HeadersReceived stage.
|
5093
|
-
* Note that after this command the request can't be continued
|
5094
|
-
* as is -- client either needs to cancel it or to provide the
|
5095
|
-
* response body.
|
5096
|
-
* The stream only supports sequential read, IO.read will fail if the position
|
5097
|
-
* is specified.
|
5098
|
-
* This method is mutually exclusive with getResponseBody.
|
5099
|
-
* Calling other methods that affect the request or disabling fetch
|
5100
|
-
* domain before body is received results in an undefined behavior.
|
5101
|
-
*/
|
5102
|
-
'Fetch.takeResponseBodyAsStream': {
|
5103
|
-
paramsType: [Protocol.Fetch.TakeResponseBodyAsStreamRequest];
|
5104
|
-
returnType: Protocol.Fetch.TakeResponseBodyAsStreamResponse;
|
5105
|
-
};
|
5106
5782
|
/**
|
5107
5783
|
* Enables the WebAudio domain and starts sending context lifetime events.
|
5108
5784
|
*/
|
@@ -5220,305 +5896,6 @@ export namespace ProtocolMapping {
|
|
5220
5896
|
paramsType: [Protocol.WebAuthn.SetCredentialPropertiesRequest];
|
5221
5897
|
returnType: void;
|
5222
5898
|
};
|
5223
|
-
/**
|
5224
|
-
* Enables the Media domain
|
5225
|
-
*/
|
5226
|
-
'Media.enable': {
|
5227
|
-
paramsType: [];
|
5228
|
-
returnType: void;
|
5229
|
-
};
|
5230
|
-
/**
|
5231
|
-
* Disables the Media domain.
|
5232
|
-
*/
|
5233
|
-
'Media.disable': {
|
5234
|
-
paramsType: [];
|
5235
|
-
returnType: void;
|
5236
|
-
};
|
5237
|
-
/**
|
5238
|
-
* Enable events in this domain.
|
5239
|
-
*/
|
5240
|
-
'DeviceAccess.enable': {
|
5241
|
-
paramsType: [];
|
5242
|
-
returnType: void;
|
5243
|
-
};
|
5244
|
-
/**
|
5245
|
-
* Disable events in this domain.
|
5246
|
-
*/
|
5247
|
-
'DeviceAccess.disable': {
|
5248
|
-
paramsType: [];
|
5249
|
-
returnType: void;
|
5250
|
-
};
|
5251
|
-
/**
|
5252
|
-
* Select a device in response to a DeviceAccess.deviceRequestPrompted event.
|
5253
|
-
*/
|
5254
|
-
'DeviceAccess.selectPrompt': {
|
5255
|
-
paramsType: [Protocol.DeviceAccess.SelectPromptRequest];
|
5256
|
-
returnType: void;
|
5257
|
-
};
|
5258
|
-
/**
|
5259
|
-
* Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
|
5260
|
-
*/
|
5261
|
-
'DeviceAccess.cancelPrompt': {
|
5262
|
-
paramsType: [Protocol.DeviceAccess.CancelPromptRequest];
|
5263
|
-
returnType: void;
|
5264
|
-
};
|
5265
|
-
'Preload.enable': {
|
5266
|
-
paramsType: [];
|
5267
|
-
returnType: void;
|
5268
|
-
};
|
5269
|
-
'Preload.disable': {
|
5270
|
-
paramsType: [];
|
5271
|
-
returnType: void;
|
5272
|
-
};
|
5273
|
-
'FedCm.enable': {
|
5274
|
-
paramsType: [Protocol.FedCm.EnableRequest?];
|
5275
|
-
returnType: void;
|
5276
|
-
};
|
5277
|
-
'FedCm.disable': {
|
5278
|
-
paramsType: [];
|
5279
|
-
returnType: void;
|
5280
|
-
};
|
5281
|
-
'FedCm.selectAccount': {
|
5282
|
-
paramsType: [Protocol.FedCm.SelectAccountRequest];
|
5283
|
-
returnType: void;
|
5284
|
-
};
|
5285
|
-
'FedCm.clickDialogButton': {
|
5286
|
-
paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
|
5287
|
-
returnType: void;
|
5288
|
-
};
|
5289
|
-
'FedCm.openUrl': {
|
5290
|
-
paramsType: [Protocol.FedCm.OpenUrlRequest];
|
5291
|
-
returnType: void;
|
5292
|
-
};
|
5293
|
-
'FedCm.dismissDialog': {
|
5294
|
-
paramsType: [Protocol.FedCm.DismissDialogRequest];
|
5295
|
-
returnType: void;
|
5296
|
-
};
|
5297
|
-
/**
|
5298
|
-
* Resets the cooldown time, if any, to allow the next FedCM call to show
|
5299
|
-
* a dialog even if one was recently dismissed by the user.
|
5300
|
-
*/
|
5301
|
-
'FedCm.resetCooldown': {
|
5302
|
-
paramsType: [];
|
5303
|
-
returnType: void;
|
5304
|
-
};
|
5305
|
-
/**
|
5306
|
-
* Returns the following OS state for the given manifest id.
|
5307
|
-
*/
|
5308
|
-
'PWA.getOsAppState': {
|
5309
|
-
paramsType: [Protocol.PWA.GetOsAppStateRequest];
|
5310
|
-
returnType: Protocol.PWA.GetOsAppStateResponse;
|
5311
|
-
};
|
5312
|
-
/**
|
5313
|
-
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
5314
|
-
*
|
5315
|
-
* IWA-specific install description:
|
5316
|
-
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
5317
|
-
*
|
5318
|
-
* File installation mode:
|
5319
|
-
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
5320
|
-
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
5321
|
-
* The .swbn file's signing key.
|
5322
|
-
*
|
5323
|
-
* Dev proxy installation mode:
|
5324
|
-
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
5325
|
-
* web_package::SignedWebBundleId must be of type dev proxy.
|
5326
|
-
*
|
5327
|
-
* The advantage of dev proxy mode is that all changes to IWA
|
5328
|
-
* automatically will be reflected in the running app without
|
5329
|
-
* reinstallation.
|
5330
|
-
*
|
5331
|
-
* To generate bundle id for proxy mode:
|
5332
|
-
* 1. Generate 32 random bytes.
|
5333
|
-
* 2. Add a specific suffix 0x00 at the end.
|
5334
|
-
* 3. Encode the entire sequence using Base32 without padding.
|
5335
|
-
*
|
5336
|
-
* If Chrome is not in IWA dev
|
5337
|
-
* mode, the installation will fail, regardless of the state of the allowlist.
|
5338
|
-
*/
|
5339
|
-
'PWA.install': {
|
5340
|
-
paramsType: [Protocol.PWA.InstallRequest];
|
5341
|
-
returnType: void;
|
5342
|
-
};
|
5343
|
-
/**
|
5344
|
-
* Uninstalls the given manifest_id and closes any opened app windows.
|
5345
|
-
*/
|
5346
|
-
'PWA.uninstall': {
|
5347
|
-
paramsType: [Protocol.PWA.UninstallRequest];
|
5348
|
-
returnType: void;
|
5349
|
-
};
|
5350
|
-
/**
|
5351
|
-
* Launches the installed web app, or an url in the same web app instead of the
|
5352
|
-
* default start url if it is provided. Returns a page Target.TargetID which
|
5353
|
-
* can be used to attach to via Target.attachToTarget or similar APIs.
|
5354
|
-
*/
|
5355
|
-
'PWA.launch': {
|
5356
|
-
paramsType: [Protocol.PWA.LaunchRequest];
|
5357
|
-
returnType: Protocol.PWA.LaunchResponse;
|
5358
|
-
};
|
5359
|
-
/**
|
5360
|
-
* Opens one or more local files from an installed web app identified by its
|
5361
|
-
* manifestId. The web app needs to have file handlers registered to process
|
5362
|
-
* the files. The API returns one or more page Target.TargetIDs which can be
|
5363
|
-
* used to attach to via Target.attachToTarget or similar APIs.
|
5364
|
-
* If some files in the parameters cannot be handled by the web app, they will
|
5365
|
-
* be ignored. If none of the files can be handled, this API returns an error.
|
5366
|
-
* If no files are provided as the parameter, this API also returns an error.
|
5367
|
-
*
|
5368
|
-
* According to the definition of the file handlers in the manifest file, one
|
5369
|
-
* Target.TargetID may represent a page handling one or more files. The order
|
5370
|
-
* of the returned Target.TargetIDs is not guaranteed.
|
5371
|
-
*
|
5372
|
-
* TODO(crbug.com/339454034): Check the existences of the input files.
|
5373
|
-
*/
|
5374
|
-
'PWA.launchFilesInApp': {
|
5375
|
-
paramsType: [Protocol.PWA.LaunchFilesInAppRequest];
|
5376
|
-
returnType: Protocol.PWA.LaunchFilesInAppResponse;
|
5377
|
-
};
|
5378
|
-
/**
|
5379
|
-
* Opens the current page in its web app identified by the manifest id, needs
|
5380
|
-
* to be called on a page target. This function returns immediately without
|
5381
|
-
* waiting for the app to finish loading.
|
5382
|
-
*/
|
5383
|
-
'PWA.openCurrentPageInApp': {
|
5384
|
-
paramsType: [Protocol.PWA.OpenCurrentPageInAppRequest];
|
5385
|
-
returnType: void;
|
5386
|
-
};
|
5387
|
-
/**
|
5388
|
-
* Changes user settings of the web app identified by its manifestId. If the
|
5389
|
-
* app was not installed, this command returns an error. Unset parameters will
|
5390
|
-
* be ignored; unrecognized values will cause an error.
|
5391
|
-
*
|
5392
|
-
* Unlike the ones defined in the manifest files of the web apps, these
|
5393
|
-
* settings are provided by the browser and controlled by the users, they
|
5394
|
-
* impact the way the browser handling the web apps.
|
5395
|
-
*
|
5396
|
-
* See the comment of each parameter.
|
5397
|
-
*/
|
5398
|
-
'PWA.changeAppUserSettings': {
|
5399
|
-
paramsType: [Protocol.PWA.ChangeAppUserSettingsRequest];
|
5400
|
-
returnType: void;
|
5401
|
-
};
|
5402
|
-
/**
|
5403
|
-
* Enable the BluetoothEmulation domain.
|
5404
|
-
*/
|
5405
|
-
'BluetoothEmulation.enable': {
|
5406
|
-
paramsType: [Protocol.BluetoothEmulation.EnableRequest];
|
5407
|
-
returnType: void;
|
5408
|
-
};
|
5409
|
-
/**
|
5410
|
-
* Set the state of the simulated central.
|
5411
|
-
*/
|
5412
|
-
'BluetoothEmulation.setSimulatedCentralState': {
|
5413
|
-
paramsType: [Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest];
|
5414
|
-
returnType: void;
|
5415
|
-
};
|
5416
|
-
/**
|
5417
|
-
* Disable the BluetoothEmulation domain.
|
5418
|
-
*/
|
5419
|
-
'BluetoothEmulation.disable': {
|
5420
|
-
paramsType: [];
|
5421
|
-
returnType: void;
|
5422
|
-
};
|
5423
|
-
/**
|
5424
|
-
* Simulates a peripheral with |address|, |name| and |knownServiceUuids|
|
5425
|
-
* that has already been connected to the system.
|
5426
|
-
*/
|
5427
|
-
'BluetoothEmulation.simulatePreconnectedPeripheral': {
|
5428
|
-
paramsType: [Protocol.BluetoothEmulation.SimulatePreconnectedPeripheralRequest];
|
5429
|
-
returnType: void;
|
5430
|
-
};
|
5431
|
-
/**
|
5432
|
-
* Simulates an advertisement packet described in |entry| being received by
|
5433
|
-
* the central.
|
5434
|
-
*/
|
5435
|
-
'BluetoothEmulation.simulateAdvertisement': {
|
5436
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
5437
|
-
returnType: void;
|
5438
|
-
};
|
5439
|
-
/**
|
5440
|
-
* Simulates the response code from the peripheral with |address| for a
|
5441
|
-
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
5442
|
-
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
5443
|
-
*/
|
5444
|
-
'BluetoothEmulation.simulateGATTOperationResponse': {
|
5445
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
|
5446
|
-
returnType: void;
|
5447
|
-
};
|
5448
|
-
/**
|
5449
|
-
* Simulates the response from the characteristic with |characteristicId| for a
|
5450
|
-
* characteristic operation of |type|. The |code| value follows the Error
|
5451
|
-
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5452
|
-
* The |data| is expected to exist when simulating a successful read operation
|
5453
|
-
* response.
|
5454
|
-
*/
|
5455
|
-
'BluetoothEmulation.simulateCharacteristicOperationResponse': {
|
5456
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateCharacteristicOperationResponseRequest];
|
5457
|
-
returnType: void;
|
5458
|
-
};
|
5459
|
-
/**
|
5460
|
-
* Simulates the response from the descriptor with |descriptorId| for a
|
5461
|
-
* descriptor operation of |type|. The |code| value follows the Error
|
5462
|
-
* Codes from Bluetooth Core Specification Vol 3 Part F 3.4.1.1 Error Response.
|
5463
|
-
* The |data| is expected to exist when simulating a successful read operation
|
5464
|
-
* response.
|
5465
|
-
*/
|
5466
|
-
'BluetoothEmulation.simulateDescriptorOperationResponse': {
|
5467
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateDescriptorOperationResponseRequest];
|
5468
|
-
returnType: void;
|
5469
|
-
};
|
5470
|
-
/**
|
5471
|
-
* Adds a service with |serviceUuid| to the peripheral with |address|.
|
5472
|
-
*/
|
5473
|
-
'BluetoothEmulation.addService': {
|
5474
|
-
paramsType: [Protocol.BluetoothEmulation.AddServiceRequest];
|
5475
|
-
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
5476
|
-
};
|
5477
|
-
/**
|
5478
|
-
* Removes the service respresented by |serviceId| from the simulated central.
|
5479
|
-
*/
|
5480
|
-
'BluetoothEmulation.removeService': {
|
5481
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
5482
|
-
returnType: void;
|
5483
|
-
};
|
5484
|
-
/**
|
5485
|
-
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
5486
|
-
* service represented by |serviceId|.
|
5487
|
-
*/
|
5488
|
-
'BluetoothEmulation.addCharacteristic': {
|
5489
|
-
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
5490
|
-
returnType: Protocol.BluetoothEmulation.AddCharacteristicResponse;
|
5491
|
-
};
|
5492
|
-
/**
|
5493
|
-
* Removes the characteristic respresented by |characteristicId| from the
|
5494
|
-
* simulated central.
|
5495
|
-
*/
|
5496
|
-
'BluetoothEmulation.removeCharacteristic': {
|
5497
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
5498
|
-
returnType: void;
|
5499
|
-
};
|
5500
|
-
/**
|
5501
|
-
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
5502
|
-
* by |characteristicId|.
|
5503
|
-
*/
|
5504
|
-
'BluetoothEmulation.addDescriptor': {
|
5505
|
-
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
5506
|
-
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
5507
|
-
};
|
5508
|
-
/**
|
5509
|
-
* Removes the descriptor with |descriptorId| from the simulated central.
|
5510
|
-
*/
|
5511
|
-
'BluetoothEmulation.removeDescriptor': {
|
5512
|
-
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
5513
|
-
returnType: void;
|
5514
|
-
};
|
5515
|
-
/**
|
5516
|
-
* Simulates a GATT disconnection from the peripheral with |address|.
|
5517
|
-
*/
|
5518
|
-
'BluetoothEmulation.simulateGATTDisconnection': {
|
5519
|
-
paramsType: [Protocol.BluetoothEmulation.SimulateGATTDisconnectionRequest];
|
5520
|
-
returnType: void;
|
5521
|
-
};
|
5522
5899
|
}
|
5523
5900
|
}
|
5524
5901
|
|