devtools-protocol 0.0.1428127 → 0.0.1429850
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.
@@ -14436,6 +14436,50 @@
|
|
14436
14436
|
"zstd"
|
14437
14437
|
]
|
14438
14438
|
},
|
14439
|
+
{
|
14440
|
+
"id": "DirectSocketDnsQueryType",
|
14441
|
+
"experimental": true,
|
14442
|
+
"type": "string",
|
14443
|
+
"enum": [
|
14444
|
+
"ipv4",
|
14445
|
+
"ipv6"
|
14446
|
+
]
|
14447
|
+
},
|
14448
|
+
{
|
14449
|
+
"id": "DirectTCPSocketOptions",
|
14450
|
+
"experimental": true,
|
14451
|
+
"type": "object",
|
14452
|
+
"properties": [
|
14453
|
+
{
|
14454
|
+
"name": "noDelay",
|
14455
|
+
"description": "TCP_NODELAY option",
|
14456
|
+
"type": "boolean"
|
14457
|
+
},
|
14458
|
+
{
|
14459
|
+
"name": "keepAliveDelay",
|
14460
|
+
"description": "Expected to be unsigned integer.",
|
14461
|
+
"optional": true,
|
14462
|
+
"type": "number"
|
14463
|
+
},
|
14464
|
+
{
|
14465
|
+
"name": "sendBufferSize",
|
14466
|
+
"description": "Expected to be unsigned integer.",
|
14467
|
+
"optional": true,
|
14468
|
+
"type": "number"
|
14469
|
+
},
|
14470
|
+
{
|
14471
|
+
"name": "receiveBufferSize",
|
14472
|
+
"description": "Expected to be unsigned integer.",
|
14473
|
+
"optional": true,
|
14474
|
+
"type": "number"
|
14475
|
+
},
|
14476
|
+
{
|
14477
|
+
"name": "dnsQueryType",
|
14478
|
+
"optional": true,
|
14479
|
+
"$ref": "DirectSocketDnsQueryType"
|
14480
|
+
}
|
14481
|
+
]
|
14482
|
+
},
|
14439
14483
|
{
|
14440
14484
|
"id": "PrivateNetworkRequestPolicy",
|
14441
14485
|
"experimental": true,
|
@@ -16090,6 +16134,108 @@
|
|
16090
16134
|
}
|
16091
16135
|
]
|
16092
16136
|
},
|
16137
|
+
{
|
16138
|
+
"name": "directTCPSocketCreated",
|
16139
|
+
"description": "Fired upon direct_socket.TCPSocket creation.",
|
16140
|
+
"experimental": true,
|
16141
|
+
"parameters": [
|
16142
|
+
{
|
16143
|
+
"name": "identifier",
|
16144
|
+
"$ref": "RequestId"
|
16145
|
+
},
|
16146
|
+
{
|
16147
|
+
"name": "remoteAddr",
|
16148
|
+
"type": "string"
|
16149
|
+
},
|
16150
|
+
{
|
16151
|
+
"name": "remotePort",
|
16152
|
+
"description": "Unsigned int 16.",
|
16153
|
+
"type": "integer"
|
16154
|
+
},
|
16155
|
+
{
|
16156
|
+
"name": "options",
|
16157
|
+
"$ref": "DirectTCPSocketOptions"
|
16158
|
+
},
|
16159
|
+
{
|
16160
|
+
"name": "timestamp",
|
16161
|
+
"$ref": "MonotonicTime"
|
16162
|
+
},
|
16163
|
+
{
|
16164
|
+
"name": "initiator",
|
16165
|
+
"optional": true,
|
16166
|
+
"$ref": "Initiator"
|
16167
|
+
}
|
16168
|
+
]
|
16169
|
+
},
|
16170
|
+
{
|
16171
|
+
"name": "directTCPSocketOpened",
|
16172
|
+
"description": "Fired when direct_socket.TCPSocket connection is opened.",
|
16173
|
+
"experimental": true,
|
16174
|
+
"parameters": [
|
16175
|
+
{
|
16176
|
+
"name": "identifier",
|
16177
|
+
"$ref": "RequestId"
|
16178
|
+
},
|
16179
|
+
{
|
16180
|
+
"name": "remoteAddr",
|
16181
|
+
"type": "string"
|
16182
|
+
},
|
16183
|
+
{
|
16184
|
+
"name": "remotePort",
|
16185
|
+
"description": "Expected to be unsigned integer.",
|
16186
|
+
"type": "integer"
|
16187
|
+
},
|
16188
|
+
{
|
16189
|
+
"name": "timestamp",
|
16190
|
+
"$ref": "MonotonicTime"
|
16191
|
+
},
|
16192
|
+
{
|
16193
|
+
"name": "localAddr",
|
16194
|
+
"optional": true,
|
16195
|
+
"type": "string"
|
16196
|
+
},
|
16197
|
+
{
|
16198
|
+
"name": "localPort",
|
16199
|
+
"description": "Expected to be unsigned integer.",
|
16200
|
+
"optional": true,
|
16201
|
+
"type": "integer"
|
16202
|
+
}
|
16203
|
+
]
|
16204
|
+
},
|
16205
|
+
{
|
16206
|
+
"name": "directTCPSocketAborted",
|
16207
|
+
"description": "Fired when direct_socket.TCPSocket is aborted.",
|
16208
|
+
"experimental": true,
|
16209
|
+
"parameters": [
|
16210
|
+
{
|
16211
|
+
"name": "identifier",
|
16212
|
+
"$ref": "RequestId"
|
16213
|
+
},
|
16214
|
+
{
|
16215
|
+
"name": "errorMessage",
|
16216
|
+
"type": "string"
|
16217
|
+
},
|
16218
|
+
{
|
16219
|
+
"name": "timestamp",
|
16220
|
+
"$ref": "MonotonicTime"
|
16221
|
+
}
|
16222
|
+
]
|
16223
|
+
},
|
16224
|
+
{
|
16225
|
+
"name": "directTCPSocketClosed",
|
16226
|
+
"description": "Fired when direct_socket.TCPSocket is closed.",
|
16227
|
+
"experimental": true,
|
16228
|
+
"parameters": [
|
16229
|
+
{
|
16230
|
+
"name": "identifier",
|
16231
|
+
"$ref": "RequestId"
|
16232
|
+
},
|
16233
|
+
{
|
16234
|
+
"name": "timestamp",
|
16235
|
+
"$ref": "MonotonicTime"
|
16236
|
+
}
|
16237
|
+
]
|
16238
|
+
},
|
16093
16239
|
{
|
16094
16240
|
"name": "requestWillBeSentExtraInfo",
|
16095
16241
|
"description": "Fired when additional information about a requestWillBeSent event is available from the\nnetwork stack. Not every requestWillBeSent event will have an additional\nrequestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent\nor requestWillBeSentExtraInfo will be fired first for the same request.",
|
@@ -26995,6 +27141,9 @@
|
|
26995
27141
|
"PrefetchNotEligibleSchemeIsNotHttps",
|
26996
27142
|
"PrefetchNotEligibleUserHasCookies",
|
26997
27143
|
"PrefetchNotEligibleUserHasServiceWorker",
|
27144
|
+
"PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler",
|
27145
|
+
"PrefetchNotEligibleRedirectFromServiceWorker",
|
27146
|
+
"PrefetchNotEligibleRedirectToServiceWorker",
|
26998
27147
|
"PrefetchNotEligibleBatterySaverEnabled",
|
26999
27148
|
"PrefetchNotEligiblePreloadingDisabled",
|
27000
27149
|
"PrefetchNotFinishedInTime",
|
@@ -27673,6 +27822,22 @@
|
|
27673
27822
|
{
|
27674
27823
|
"name": "enable",
|
27675
27824
|
"description": "Enable the BluetoothEmulation domain.",
|
27825
|
+
"parameters": [
|
27826
|
+
{
|
27827
|
+
"name": "state",
|
27828
|
+
"description": "State of the simulated central.",
|
27829
|
+
"$ref": "CentralState"
|
27830
|
+
},
|
27831
|
+
{
|
27832
|
+
"name": "leSupported",
|
27833
|
+
"description": "If the simulated central supports low-energy.",
|
27834
|
+
"type": "boolean"
|
27835
|
+
}
|
27836
|
+
]
|
27837
|
+
},
|
27838
|
+
{
|
27839
|
+
"name": "setSimulatedCentralState",
|
27840
|
+
"description": "Set the state of the simulated central.",
|
27676
27841
|
"parameters": [
|
27677
27842
|
{
|
27678
27843
|
"name": "state",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7404,6 +7404,60 @@ domain Network
|
|
7404
7404
|
# Timestamp.
|
7405
7405
|
MonotonicTime timestamp
|
7406
7406
|
|
7407
|
+
experimental type DirectSocketDnsQueryType extends string
|
7408
|
+
enum
|
7409
|
+
ipv4
|
7410
|
+
ipv6
|
7411
|
+
|
7412
|
+
experimental type DirectTCPSocketOptions extends object
|
7413
|
+
properties
|
7414
|
+
# TCP_NODELAY option
|
7415
|
+
boolean noDelay
|
7416
|
+
# Expected to be unsigned integer.
|
7417
|
+
optional number keepAliveDelay
|
7418
|
+
# Expected to be unsigned integer.
|
7419
|
+
optional number sendBufferSize
|
7420
|
+
# Expected to be unsigned integer.
|
7421
|
+
optional number receiveBufferSize
|
7422
|
+
optional DirectSocketDnsQueryType dnsQueryType
|
7423
|
+
|
7424
|
+
|
7425
|
+
# Fired upon direct_socket.TCPSocket creation.
|
7426
|
+
experimental event directTCPSocketCreated
|
7427
|
+
parameters
|
7428
|
+
RequestId identifier
|
7429
|
+
string remoteAddr
|
7430
|
+
# Unsigned int 16.
|
7431
|
+
integer remotePort
|
7432
|
+
DirectTCPSocketOptions options
|
7433
|
+
MonotonicTime timestamp
|
7434
|
+
optional Initiator initiator
|
7435
|
+
|
7436
|
+
# Fired when direct_socket.TCPSocket connection is opened.
|
7437
|
+
experimental event directTCPSocketOpened
|
7438
|
+
parameters
|
7439
|
+
RequestId identifier
|
7440
|
+
string remoteAddr
|
7441
|
+
# Expected to be unsigned integer.
|
7442
|
+
integer remotePort
|
7443
|
+
MonotonicTime timestamp
|
7444
|
+
optional string localAddr
|
7445
|
+
# Expected to be unsigned integer.
|
7446
|
+
optional integer localPort
|
7447
|
+
|
7448
|
+
# Fired when direct_socket.TCPSocket is aborted.
|
7449
|
+
experimental event directTCPSocketAborted
|
7450
|
+
parameters
|
7451
|
+
RequestId identifier
|
7452
|
+
string errorMessage
|
7453
|
+
MonotonicTime timestamp
|
7454
|
+
|
7455
|
+
# Fired when direct_socket.TCPSocket is closed.
|
7456
|
+
experimental event directTCPSocketClosed
|
7457
|
+
parameters
|
7458
|
+
RequestId identifier
|
7459
|
+
MonotonicTime timestamp
|
7460
|
+
|
7407
7461
|
experimental type PrivateNetworkRequestPolicy extends string
|
7408
7462
|
enum
|
7409
7463
|
Allow
|
@@ -9444,7 +9498,7 @@ domain Page
|
|
9444
9498
|
autoReject
|
9445
9499
|
autoOptOut
|
9446
9500
|
|
9447
|
-
# Sets the Secure Payment Confirmation transaction mode.
|
9501
|
+
# Sets the Secure Payment Confirmation transaction mode.
|
9448
9502
|
# https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
|
9449
9503
|
experimental command setSPCTransactionMode
|
9450
9504
|
parameters
|
@@ -12840,6 +12894,9 @@ experimental domain Preload
|
|
12840
12894
|
PrefetchNotEligibleSchemeIsNotHttps
|
12841
12895
|
PrefetchNotEligibleUserHasCookies
|
12842
12896
|
PrefetchNotEligibleUserHasServiceWorker
|
12897
|
+
PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler
|
12898
|
+
PrefetchNotEligibleRedirectFromServiceWorker
|
12899
|
+
PrefetchNotEligibleRedirectToServiceWorker
|
12843
12900
|
PrefetchNotEligibleBatterySaverEnabled
|
12844
12901
|
PrefetchNotEligiblePreloadingDisabled
|
12845
12902
|
PrefetchNotFinishedInTime
|
@@ -13149,6 +13206,14 @@ experimental domain BluetoothEmulation
|
|
13149
13206
|
|
13150
13207
|
# Enable the BluetoothEmulation domain.
|
13151
13208
|
command enable
|
13209
|
+
parameters
|
13210
|
+
# State of the simulated central.
|
13211
|
+
CentralState state
|
13212
|
+
# If the simulated central supports low-energy.
|
13213
|
+
boolean leSupported
|
13214
|
+
|
13215
|
+
# Set the state of the simulated central.
|
13216
|
+
command setSimulatedCentralState
|
13152
13217
|
parameters
|
13153
13218
|
# State of the simulated central.
|
13154
13219
|
CentralState state
|
@@ -351,6 +351,22 @@ export namespace ProtocolMapping {
|
|
351
351
|
* Fired when WebTransport is disposed.
|
352
352
|
*/
|
353
353
|
'Network.webTransportClosed': [Protocol.Network.WebTransportClosedEvent];
|
354
|
+
/**
|
355
|
+
* Fired upon direct_socket.TCPSocket creation.
|
356
|
+
*/
|
357
|
+
'Network.directTCPSocketCreated': [Protocol.Network.DirectTCPSocketCreatedEvent];
|
358
|
+
/**
|
359
|
+
* Fired when direct_socket.TCPSocket connection is opened.
|
360
|
+
*/
|
361
|
+
'Network.directTCPSocketOpened': [Protocol.Network.DirectTCPSocketOpenedEvent];
|
362
|
+
/**
|
363
|
+
* Fired when direct_socket.TCPSocket is aborted.
|
364
|
+
*/
|
365
|
+
'Network.directTCPSocketAborted': [Protocol.Network.DirectTCPSocketAbortedEvent];
|
366
|
+
/**
|
367
|
+
* Fired when direct_socket.TCPSocket is closed.
|
368
|
+
*/
|
369
|
+
'Network.directTCPSocketClosed': [Protocol.Network.DirectTCPSocketClosedEvent];
|
354
370
|
/**
|
355
371
|
* Fired when additional information about a requestWillBeSent event is available from the
|
356
372
|
* network stack. Not every requestWillBeSent event will have an additional
|
@@ -5223,6 +5239,13 @@ export namespace ProtocolMapping {
|
|
5223
5239
|
paramsType: [Protocol.BluetoothEmulation.EnableRequest];
|
5224
5240
|
returnType: void;
|
5225
5241
|
};
|
5242
|
+
/**
|
5243
|
+
* Set the state of the simulated central.
|
5244
|
+
*/
|
5245
|
+
'BluetoothEmulation.setSimulatedCentralState': {
|
5246
|
+
paramsType: [Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest];
|
5247
|
+
returnType: void;
|
5248
|
+
};
|
5226
5249
|
/**
|
5227
5250
|
* Disable the BluetoothEmulation domain.
|
5228
5251
|
*/
|
@@ -2684,6 +2684,26 @@ export namespace ProtocolProxyApi {
|
|
2684
2684
|
*/
|
2685
2685
|
on(event: 'webTransportClosed', listener: (params: Protocol.Network.WebTransportClosedEvent) => void): void;
|
2686
2686
|
|
2687
|
+
/**
|
2688
|
+
* Fired upon direct_socket.TCPSocket creation.
|
2689
|
+
*/
|
2690
|
+
on(event: 'directTCPSocketCreated', listener: (params: Protocol.Network.DirectTCPSocketCreatedEvent) => void): void;
|
2691
|
+
|
2692
|
+
/**
|
2693
|
+
* Fired when direct_socket.TCPSocket connection is opened.
|
2694
|
+
*/
|
2695
|
+
on(event: 'directTCPSocketOpened', listener: (params: Protocol.Network.DirectTCPSocketOpenedEvent) => void): void;
|
2696
|
+
|
2697
|
+
/**
|
2698
|
+
* Fired when direct_socket.TCPSocket is aborted.
|
2699
|
+
*/
|
2700
|
+
on(event: 'directTCPSocketAborted', listener: (params: Protocol.Network.DirectTCPSocketAbortedEvent) => void): void;
|
2701
|
+
|
2702
|
+
/**
|
2703
|
+
* Fired when direct_socket.TCPSocket is closed.
|
2704
|
+
*/
|
2705
|
+
on(event: 'directTCPSocketClosed', listener: (params: Protocol.Network.DirectTCPSocketClosedEvent) => void): void;
|
2706
|
+
|
2687
2707
|
/**
|
2688
2708
|
* Fired when additional information about a requestWillBeSent event is available from the
|
2689
2709
|
* network stack. Not every requestWillBeSent event will have an additional
|
@@ -4463,6 +4483,11 @@ export namespace ProtocolProxyApi {
|
|
4463
4483
|
*/
|
4464
4484
|
enable(params: Protocol.BluetoothEmulation.EnableRequest): Promise<void>;
|
4465
4485
|
|
4486
|
+
/**
|
4487
|
+
* Set the state of the simulated central.
|
4488
|
+
*/
|
4489
|
+
setSimulatedCentralState(params: Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest): Promise<void>;
|
4490
|
+
|
4466
4491
|
/**
|
4467
4492
|
* Disable the BluetoothEmulation domain.
|
4468
4493
|
*/
|
@@ -2864,6 +2864,34 @@ export namespace ProtocolTestsProxyApi {
|
|
2864
2864
|
offWebTransportClosed(listener: (event: { params: Protocol.Network.WebTransportClosedEvent }) => void): void;
|
2865
2865
|
onceWebTransportClosed(eventMatcher?: (event: { params: Protocol.Network.WebTransportClosedEvent }) => boolean): Promise<{ params: Protocol.Network.WebTransportClosedEvent }>;
|
2866
2866
|
|
2867
|
+
/**
|
2868
|
+
* Fired upon direct_socket.TCPSocket creation.
|
2869
|
+
*/
|
2870
|
+
onDirectTCPSocketCreated(listener: (event: { params: Protocol.Network.DirectTCPSocketCreatedEvent }) => void): void;
|
2871
|
+
offDirectTCPSocketCreated(listener: (event: { params: Protocol.Network.DirectTCPSocketCreatedEvent }) => void): void;
|
2872
|
+
onceDirectTCPSocketCreated(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketCreatedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketCreatedEvent }>;
|
2873
|
+
|
2874
|
+
/**
|
2875
|
+
* Fired when direct_socket.TCPSocket connection is opened.
|
2876
|
+
*/
|
2877
|
+
onDirectTCPSocketOpened(listener: (event: { params: Protocol.Network.DirectTCPSocketOpenedEvent }) => void): void;
|
2878
|
+
offDirectTCPSocketOpened(listener: (event: { params: Protocol.Network.DirectTCPSocketOpenedEvent }) => void): void;
|
2879
|
+
onceDirectTCPSocketOpened(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketOpenedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketOpenedEvent }>;
|
2880
|
+
|
2881
|
+
/**
|
2882
|
+
* Fired when direct_socket.TCPSocket is aborted.
|
2883
|
+
*/
|
2884
|
+
onDirectTCPSocketAborted(listener: (event: { params: Protocol.Network.DirectTCPSocketAbortedEvent }) => void): void;
|
2885
|
+
offDirectTCPSocketAborted(listener: (event: { params: Protocol.Network.DirectTCPSocketAbortedEvent }) => void): void;
|
2886
|
+
onceDirectTCPSocketAborted(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketAbortedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketAbortedEvent }>;
|
2887
|
+
|
2888
|
+
/**
|
2889
|
+
* Fired when direct_socket.TCPSocket is closed.
|
2890
|
+
*/
|
2891
|
+
onDirectTCPSocketClosed(listener: (event: { params: Protocol.Network.DirectTCPSocketClosedEvent }) => void): void;
|
2892
|
+
offDirectTCPSocketClosed(listener: (event: { params: Protocol.Network.DirectTCPSocketClosedEvent }) => void): void;
|
2893
|
+
onceDirectTCPSocketClosed(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketClosedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketClosedEvent }>;
|
2894
|
+
|
2867
2895
|
/**
|
2868
2896
|
* Fired when additional information about a requestWillBeSent event is available from the
|
2869
2897
|
* network stack. Not every requestWillBeSent event will have an additional
|
@@ -4859,6 +4887,11 @@ export namespace ProtocolTestsProxyApi {
|
|
4859
4887
|
*/
|
4860
4888
|
enable(params: Protocol.BluetoothEmulation.EnableRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4861
4889
|
|
4890
|
+
/**
|
4891
|
+
* Set the state of the simulated central.
|
4892
|
+
*/
|
4893
|
+
setSimulatedCentralState(params: Protocol.BluetoothEmulation.SetSimulatedCentralStateRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4894
|
+
|
4862
4895
|
/**
|
4863
4896
|
* Disable the BluetoothEmulation domain.
|
4864
4897
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -11634,6 +11634,28 @@ export namespace Protocol {
|
|
11634
11634
|
*/
|
11635
11635
|
export type ContentEncoding = ('deflate' | 'gzip' | 'br' | 'zstd');
|
11636
11636
|
|
11637
|
+
export type DirectSocketDnsQueryType = ('ipv4' | 'ipv6');
|
11638
|
+
|
11639
|
+
export interface DirectTCPSocketOptions {
|
11640
|
+
/**
|
11641
|
+
* TCP_NODELAY option
|
11642
|
+
*/
|
11643
|
+
noDelay: boolean;
|
11644
|
+
/**
|
11645
|
+
* Expected to be unsigned integer.
|
11646
|
+
*/
|
11647
|
+
keepAliveDelay?: number;
|
11648
|
+
/**
|
11649
|
+
* Expected to be unsigned integer.
|
11650
|
+
*/
|
11651
|
+
sendBufferSize?: number;
|
11652
|
+
/**
|
11653
|
+
* Expected to be unsigned integer.
|
11654
|
+
*/
|
11655
|
+
receiveBufferSize?: number;
|
11656
|
+
dnsQueryType?: DirectSocketDnsQueryType;
|
11657
|
+
}
|
11658
|
+
|
11637
11659
|
export type PrivateNetworkRequestPolicy = ('Allow' | 'BlockFromInsecureToMorePrivate' | 'WarnFromInsecureToMorePrivate' | 'PreflightBlock' | 'PreflightWarn' | 'PermissionBlock');
|
11638
11660
|
|
11639
11661
|
export type IPAddressSpace = ('Local' | 'Private' | 'Public' | 'Unknown');
|
@@ -12711,6 +12733,56 @@ export namespace Protocol {
|
|
12711
12733
|
timestamp: MonotonicTime;
|
12712
12734
|
}
|
12713
12735
|
|
12736
|
+
/**
|
12737
|
+
* Fired upon direct_socket.TCPSocket creation.
|
12738
|
+
*/
|
12739
|
+
export interface DirectTCPSocketCreatedEvent {
|
12740
|
+
identifier: RequestId;
|
12741
|
+
remoteAddr: string;
|
12742
|
+
/**
|
12743
|
+
* Unsigned int 16.
|
12744
|
+
*/
|
12745
|
+
remotePort: integer;
|
12746
|
+
options: DirectTCPSocketOptions;
|
12747
|
+
timestamp: MonotonicTime;
|
12748
|
+
initiator?: Initiator;
|
12749
|
+
}
|
12750
|
+
|
12751
|
+
/**
|
12752
|
+
* Fired when direct_socket.TCPSocket connection is opened.
|
12753
|
+
*/
|
12754
|
+
export interface DirectTCPSocketOpenedEvent {
|
12755
|
+
identifier: RequestId;
|
12756
|
+
remoteAddr: string;
|
12757
|
+
/**
|
12758
|
+
* Expected to be unsigned integer.
|
12759
|
+
*/
|
12760
|
+
remotePort: integer;
|
12761
|
+
timestamp: MonotonicTime;
|
12762
|
+
localAddr?: string;
|
12763
|
+
/**
|
12764
|
+
* Expected to be unsigned integer.
|
12765
|
+
*/
|
12766
|
+
localPort?: integer;
|
12767
|
+
}
|
12768
|
+
|
12769
|
+
/**
|
12770
|
+
* Fired when direct_socket.TCPSocket is aborted.
|
12771
|
+
*/
|
12772
|
+
export interface DirectTCPSocketAbortedEvent {
|
12773
|
+
identifier: RequestId;
|
12774
|
+
errorMessage: string;
|
12775
|
+
timestamp: MonotonicTime;
|
12776
|
+
}
|
12777
|
+
|
12778
|
+
/**
|
12779
|
+
* Fired when direct_socket.TCPSocket is closed.
|
12780
|
+
*/
|
12781
|
+
export interface DirectTCPSocketClosedEvent {
|
12782
|
+
identifier: RequestId;
|
12783
|
+
timestamp: MonotonicTime;
|
12784
|
+
}
|
12785
|
+
|
12714
12786
|
/**
|
12715
12787
|
* Fired when additional information about a requestWillBeSent event is available from the
|
12716
12788
|
* network stack. Not every requestWillBeSent event will have an additional
|
@@ -19089,7 +19161,7 @@ export namespace Protocol {
|
|
19089
19161
|
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
19090
19162
|
* filter out the ones that aren't necessary to the developers.
|
19091
19163
|
*/
|
19092
|
-
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchEvictedAfterCandidateRemoved' | 'PrefetchEvictedForNewerPrefetch' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
|
19164
|
+
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchEvictedAfterCandidateRemoved' | 'PrefetchEvictedForNewerPrefetch' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleUserHasServiceWorkerNoFetchHandler' | 'PrefetchNotEligibleRedirectFromServiceWorker' | 'PrefetchNotEligibleRedirectToServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
|
19093
19165
|
|
19094
19166
|
/**
|
19095
19167
|
* Information of headers to be displayed when the header mismatch occurred.
|
@@ -19425,6 +19497,17 @@ export namespace Protocol {
|
|
19425
19497
|
* State of the simulated central.
|
19426
19498
|
*/
|
19427
19499
|
state: CentralState;
|
19500
|
+
/**
|
19501
|
+
* If the simulated central supports low-energy.
|
19502
|
+
*/
|
19503
|
+
leSupported: boolean;
|
19504
|
+
}
|
19505
|
+
|
19506
|
+
export interface SetSimulatedCentralStateRequest {
|
19507
|
+
/**
|
19508
|
+
* State of the simulated central.
|
19509
|
+
*/
|
19510
|
+
state: CentralState;
|
19428
19511
|
}
|
19429
19512
|
|
19430
19513
|
export interface SimulatePreconnectedPeripheralRequest {
|