devtools-protocol 0.0.1432532 → 0.0.1436416
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.
@@ -1678,6 +1678,10 @@
|
|
1678
1678
|
"name": "error",
|
1679
1679
|
"$ref": "SRIMessageSignatureError"
|
1680
1680
|
},
|
1681
|
+
{
|
1682
|
+
"name": "signatureBase",
|
1683
|
+
"type": "string"
|
1684
|
+
},
|
1681
1685
|
{
|
1682
1686
|
"name": "request",
|
1683
1687
|
"$ref": "AffectedRequest"
|
@@ -9962,8 +9966,9 @@
|
|
9962
9966
|
},
|
9963
9967
|
{
|
9964
9968
|
"name": "displayFeature",
|
9965
|
-
"description": "If set, the display feature of a multi-segment screen. If not set, multi-segment support\nis turned-off.",
|
9969
|
+
"description": "If set, the display feature of a multi-segment screen. If not set, multi-segment support\nis turned-off.\nDeprecated, use Emulation.setDisplayFeaturesOverride.",
|
9966
9970
|
"experimental": true,
|
9971
|
+
"deprecated": true,
|
9967
9972
|
"optional": true,
|
9968
9973
|
"$ref": "DisplayFeature"
|
9969
9974
|
},
|
@@ -9993,6 +9998,25 @@
|
|
9993
9998
|
"description": "Clears a device posture override set with either setDeviceMetricsOverride()\nor setDevicePostureOverride() and starts using posture information from the\nplatform again.\nDoes nothing if no override is set.",
|
9994
9999
|
"experimental": true
|
9995
10000
|
},
|
10001
|
+
{
|
10002
|
+
"name": "setDisplayFeaturesOverride",
|
10003
|
+
"description": "Start using the given display features to pupulate the Viewport Segments API.\nThis override can also be set in setDeviceMetricsOverride().",
|
10004
|
+
"experimental": true,
|
10005
|
+
"parameters": [
|
10006
|
+
{
|
10007
|
+
"name": "features",
|
10008
|
+
"type": "array",
|
10009
|
+
"items": {
|
10010
|
+
"$ref": "DisplayFeature"
|
10011
|
+
}
|
10012
|
+
}
|
10013
|
+
]
|
10014
|
+
},
|
10015
|
+
{
|
10016
|
+
"name": "clearDisplayFeaturesOverride",
|
10017
|
+
"description": "Clears the display features override set with either setDeviceMetricsOverride()\nor setDisplayFeaturesOverride() and starts using display features from the\nplatform again.\nDoes nothing if no override is set.",
|
10018
|
+
"experimental": true
|
10019
|
+
},
|
9996
10020
|
{
|
9997
10021
|
"name": "setScrollbarsHidden",
|
9998
10022
|
"experimental": true,
|
@@ -17888,6 +17912,7 @@
|
|
17888
17912
|
"interest-cohort",
|
17889
17913
|
"join-ad-interest-group",
|
17890
17914
|
"keyboard-map",
|
17915
|
+
"language-detector",
|
17891
17916
|
"local-fonts",
|
17892
17917
|
"magnetometer",
|
17893
17918
|
"media-playback-while-not-visible",
|
@@ -17902,6 +17927,7 @@
|
|
17902
17927
|
"private-state-token-redemption",
|
17903
17928
|
"publickey-credentials-create",
|
17904
17929
|
"publickey-credentials-get",
|
17930
|
+
"rewriter",
|
17905
17931
|
"run-ad-auction",
|
17906
17932
|
"screen-wake-lock",
|
17907
17933
|
"serial",
|
@@ -17912,7 +17938,9 @@
|
|
17912
17938
|
"speaker-selection",
|
17913
17939
|
"storage-access",
|
17914
17940
|
"sub-apps",
|
17941
|
+
"summarizer",
|
17915
17942
|
"sync-xhr",
|
17943
|
+
"translator",
|
17916
17944
|
"unload",
|
17917
17945
|
"usb",
|
17918
17946
|
"usb-unrestricted",
|
@@ -17921,6 +17949,7 @@
|
|
17921
17949
|
"web-printing",
|
17922
17950
|
"web-share",
|
17923
17951
|
"window-management",
|
17952
|
+
"writer",
|
17924
17953
|
"xr-spatial-tracking"
|
17925
17954
|
]
|
17926
17955
|
},
|
@@ -27169,6 +27198,7 @@
|
|
27169
27198
|
"PrefetchFailedMIMENotSupported",
|
27170
27199
|
"PrefetchFailedNetError",
|
27171
27200
|
"PrefetchFailedNon2XX",
|
27201
|
+
"PrefetchEvictedAfterBrowsingDataRemoved",
|
27172
27202
|
"PrefetchEvictedAfterCandidateRemoved",
|
27173
27203
|
"PrefetchEvictedForNewerPrefetch",
|
27174
27204
|
"PrefetchHeldback",
|
@@ -27783,6 +27813,15 @@
|
|
27783
27813
|
"powered-on"
|
27784
27814
|
]
|
27785
27815
|
},
|
27816
|
+
{
|
27817
|
+
"id": "GATTOperationType",
|
27818
|
+
"description": "Indicates the various types of GATT event.",
|
27819
|
+
"type": "string",
|
27820
|
+
"enum": [
|
27821
|
+
"connection",
|
27822
|
+
"discovery"
|
27823
|
+
]
|
27824
|
+
},
|
27786
27825
|
{
|
27787
27826
|
"id": "ManufacturerData",
|
27788
27827
|
"description": "Stores the manufacturer data",
|
@@ -27930,6 +27969,40 @@
|
|
27930
27969
|
"$ref": "ScanEntry"
|
27931
27970
|
}
|
27932
27971
|
]
|
27972
|
+
},
|
27973
|
+
{
|
27974
|
+
"name": "simulateGATTOperationResponse",
|
27975
|
+
"description": "Simulates the response code from the peripheral with |address| for a\nGATT operation of |type|. The |code| value follows the HCI Error Codes from\nBluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.",
|
27976
|
+
"parameters": [
|
27977
|
+
{
|
27978
|
+
"name": "address",
|
27979
|
+
"type": "string"
|
27980
|
+
},
|
27981
|
+
{
|
27982
|
+
"name": "type",
|
27983
|
+
"$ref": "GATTOperationType"
|
27984
|
+
},
|
27985
|
+
{
|
27986
|
+
"name": "code",
|
27987
|
+
"type": "integer"
|
27988
|
+
}
|
27989
|
+
]
|
27990
|
+
}
|
27991
|
+
],
|
27992
|
+
"events": [
|
27993
|
+
{
|
27994
|
+
"name": "gattOperationReceived",
|
27995
|
+
"description": "Event for when a GATT operation of |type| to the peripheral with |address|\nhappened.",
|
27996
|
+
"parameters": [
|
27997
|
+
{
|
27998
|
+
"name": "address",
|
27999
|
+
"type": "string"
|
28000
|
+
},
|
28001
|
+
{
|
28002
|
+
"name": "type",
|
28003
|
+
"$ref": "GATTOperationType"
|
28004
|
+
}
|
28005
|
+
]
|
27933
28006
|
}
|
27934
28007
|
]
|
27935
28008
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -858,6 +858,7 @@ experimental domain Audits
|
|
858
858
|
type SRIMessageSignatureIssueDetails extends object
|
859
859
|
properties
|
860
860
|
SRIMessageSignatureError error
|
861
|
+
string signatureBase
|
861
862
|
AffectedRequest request
|
862
863
|
|
863
864
|
type GenericIssueErrorType extends string
|
@@ -4594,7 +4595,8 @@ domain Emulation
|
|
4594
4595
|
experimental optional Page.Viewport viewport
|
4595
4596
|
# If set, the display feature of a multi-segment screen. If not set, multi-segment support
|
4596
4597
|
# is turned-off.
|
4597
|
-
|
4598
|
+
# Deprecated, use Emulation.setDisplayFeaturesOverride.
|
4599
|
+
experimental deprecated optional DisplayFeature displayFeature
|
4598
4600
|
# If set, the posture of a foldable device. If not set the posture is set
|
4599
4601
|
# to continuous.
|
4600
4602
|
# Deprecated, use Emulation.setDevicePostureOverride.
|
@@ -4612,6 +4614,18 @@ domain Emulation
|
|
4612
4614
|
# Does nothing if no override is set.
|
4613
4615
|
experimental command clearDevicePostureOverride
|
4614
4616
|
|
4617
|
+
# Start using the given display features to pupulate the Viewport Segments API.
|
4618
|
+
# This override can also be set in setDeviceMetricsOverride().
|
4619
|
+
experimental command setDisplayFeaturesOverride
|
4620
|
+
parameters
|
4621
|
+
array of DisplayFeature features
|
4622
|
+
|
4623
|
+
# Clears the display features override set with either setDeviceMetricsOverride()
|
4624
|
+
# or setDisplayFeaturesOverride() and starts using display features from the
|
4625
|
+
# platform again.
|
4626
|
+
# Does nothing if no override is set.
|
4627
|
+
experimental command clearDisplayFeaturesOverride
|
4628
|
+
|
4615
4629
|
experimental command setScrollbarsHidden
|
4616
4630
|
parameters
|
4617
4631
|
# Whether scrollbars should be always hidden.
|
@@ -8450,6 +8464,7 @@ domain Page
|
|
8450
8464
|
interest-cohort
|
8451
8465
|
join-ad-interest-group
|
8452
8466
|
keyboard-map
|
8467
|
+
language-detector
|
8453
8468
|
local-fonts
|
8454
8469
|
magnetometer
|
8455
8470
|
media-playback-while-not-visible
|
@@ -8464,6 +8479,7 @@ domain Page
|
|
8464
8479
|
private-state-token-redemption
|
8465
8480
|
publickey-credentials-create
|
8466
8481
|
publickey-credentials-get
|
8482
|
+
rewriter
|
8467
8483
|
run-ad-auction
|
8468
8484
|
screen-wake-lock
|
8469
8485
|
serial
|
@@ -8474,7 +8490,9 @@ domain Page
|
|
8474
8490
|
speaker-selection
|
8475
8491
|
storage-access
|
8476
8492
|
sub-apps
|
8493
|
+
summarizer
|
8477
8494
|
sync-xhr
|
8495
|
+
translator
|
8478
8496
|
unload
|
8479
8497
|
usb
|
8480
8498
|
usb-unrestricted
|
@@ -8483,6 +8501,7 @@ domain Page
|
|
8483
8501
|
web-printing
|
8484
8502
|
web-share
|
8485
8503
|
window-management
|
8504
|
+
writer
|
8486
8505
|
xr-spatial-tracking
|
8487
8506
|
|
8488
8507
|
# Reason for a permissions policy feature to be disabled.
|
@@ -12903,6 +12922,7 @@ experimental domain Preload
|
|
12903
12922
|
PrefetchFailedMIMENotSupported
|
12904
12923
|
PrefetchFailedNetError
|
12905
12924
|
PrefetchFailedNon2XX
|
12925
|
+
PrefetchEvictedAfterBrowsingDataRemoved
|
12906
12926
|
PrefetchEvictedAfterCandidateRemoved
|
12907
12927
|
PrefetchEvictedForNewerPrefetch
|
12908
12928
|
PrefetchHeldback
|
@@ -13200,6 +13220,12 @@ experimental domain BluetoothEmulation
|
|
13200
13220
|
powered-off
|
13201
13221
|
powered-on
|
13202
13222
|
|
13223
|
+
# Indicates the various types of GATT event.
|
13224
|
+
type GATTOperationType extends string
|
13225
|
+
enum
|
13226
|
+
connection
|
13227
|
+
discovery
|
13228
|
+
|
13203
13229
|
# Stores the manufacturer data
|
13204
13230
|
type ManufacturerData extends object
|
13205
13231
|
properties
|
@@ -13261,3 +13287,19 @@ experimental domain BluetoothEmulation
|
|
13261
13287
|
command simulateAdvertisement
|
13262
13288
|
parameters
|
13263
13289
|
ScanEntry entry
|
13290
|
+
|
13291
|
+
# Simulates the response code from the peripheral with |address| for a
|
13292
|
+
# GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
13293
|
+
# Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
13294
|
+
command simulateGATTOperationResponse
|
13295
|
+
parameters
|
13296
|
+
string address
|
13297
|
+
GATTOperationType type
|
13298
|
+
integer code
|
13299
|
+
|
13300
|
+
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13301
|
+
# happened.
|
13302
|
+
event gattOperationReceived
|
13303
|
+
parameters
|
13304
|
+
string address
|
13305
|
+
GATTOperationType type
|
@@ -819,6 +819,11 @@ export namespace ProtocolMapping {
|
|
819
819
|
* or a command below.
|
820
820
|
*/
|
821
821
|
'FedCm.dialogClosed': [Protocol.FedCm.DialogClosedEvent];
|
822
|
+
/**
|
823
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
824
|
+
* happened.
|
825
|
+
*/
|
826
|
+
'BluetoothEmulation.gattOperationReceived': [Protocol.BluetoothEmulation.GattOperationReceivedEvent];
|
822
827
|
}
|
823
828
|
|
824
829
|
export interface Commands {
|
@@ -2813,6 +2818,24 @@ export namespace ProtocolMapping {
|
|
2813
2818
|
paramsType: [];
|
2814
2819
|
returnType: void;
|
2815
2820
|
};
|
2821
|
+
/**
|
2822
|
+
* Start using the given display features to pupulate the Viewport Segments API.
|
2823
|
+
* This override can also be set in setDeviceMetricsOverride().
|
2824
|
+
*/
|
2825
|
+
'Emulation.setDisplayFeaturesOverride': {
|
2826
|
+
paramsType: [Protocol.Emulation.SetDisplayFeaturesOverrideRequest];
|
2827
|
+
returnType: void;
|
2828
|
+
};
|
2829
|
+
/**
|
2830
|
+
* Clears the display features override set with either setDeviceMetricsOverride()
|
2831
|
+
* or setDisplayFeaturesOverride() and starts using display features from the
|
2832
|
+
* platform again.
|
2833
|
+
* Does nothing if no override is set.
|
2834
|
+
*/
|
2835
|
+
'Emulation.clearDisplayFeaturesOverride': {
|
2836
|
+
paramsType: [];
|
2837
|
+
returnType: void;
|
2838
|
+
};
|
2816
2839
|
'Emulation.setScrollbarsHidden': {
|
2817
2840
|
paramsType: [Protocol.Emulation.SetScrollbarsHiddenRequest];
|
2818
2841
|
returnType: void;
|
@@ -5279,6 +5302,15 @@ export namespace ProtocolMapping {
|
|
5279
5302
|
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
5280
5303
|
returnType: void;
|
5281
5304
|
};
|
5305
|
+
/**
|
5306
|
+
* Simulates the response code from the peripheral with |address| for a
|
5307
|
+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
5308
|
+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
5309
|
+
*/
|
5310
|
+
'BluetoothEmulation.simulateGATTOperationResponse': {
|
5311
|
+
paramsType: [Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest];
|
5312
|
+
returnType: void;
|
5313
|
+
};
|
5282
5314
|
}
|
5283
5315
|
}
|
5284
5316
|
|
@@ -1926,6 +1926,20 @@ export namespace ProtocolProxyApi {
|
|
1926
1926
|
*/
|
1927
1927
|
clearDevicePostureOverride(): Promise<void>;
|
1928
1928
|
|
1929
|
+
/**
|
1930
|
+
* Start using the given display features to pupulate the Viewport Segments API.
|
1931
|
+
* This override can also be set in setDeviceMetricsOverride().
|
1932
|
+
*/
|
1933
|
+
setDisplayFeaturesOverride(params: Protocol.Emulation.SetDisplayFeaturesOverrideRequest): Promise<void>;
|
1934
|
+
|
1935
|
+
/**
|
1936
|
+
* Clears the display features override set with either setDeviceMetricsOverride()
|
1937
|
+
* or setDisplayFeaturesOverride() and starts using display features from the
|
1938
|
+
* platform again.
|
1939
|
+
* Does nothing if no override is set.
|
1940
|
+
*/
|
1941
|
+
clearDisplayFeaturesOverride(): Promise<void>;
|
1942
|
+
|
1929
1943
|
setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest): Promise<void>;
|
1930
1944
|
|
1931
1945
|
setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest): Promise<void>;
|
@@ -4513,6 +4527,19 @@ export namespace ProtocolProxyApi {
|
|
4513
4527
|
*/
|
4514
4528
|
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<void>;
|
4515
4529
|
|
4530
|
+
/**
|
4531
|
+
* Simulates the response code from the peripheral with |address| for a
|
4532
|
+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
4533
|
+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
4534
|
+
*/
|
4535
|
+
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<void>;
|
4536
|
+
|
4537
|
+
/**
|
4538
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4539
|
+
* happened.
|
4540
|
+
*/
|
4541
|
+
on(event: 'gattOperationReceived', listener: (params: Protocol.BluetoothEmulation.GattOperationReceivedEvent) => void): void;
|
4542
|
+
|
4516
4543
|
}
|
4517
4544
|
}
|
4518
4545
|
|
@@ -2050,6 +2050,20 @@ export namespace ProtocolTestsProxyApi {
|
|
2050
2050
|
*/
|
2051
2051
|
clearDevicePostureOverride(): Promise<{id: number, result: void, sessionId: string}>;
|
2052
2052
|
|
2053
|
+
/**
|
2054
|
+
* Start using the given display features to pupulate the Viewport Segments API.
|
2055
|
+
* This override can also be set in setDeviceMetricsOverride().
|
2056
|
+
*/
|
2057
|
+
setDisplayFeaturesOverride(params: Protocol.Emulation.SetDisplayFeaturesOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2058
|
+
|
2059
|
+
/**
|
2060
|
+
* Clears the display features override set with either setDeviceMetricsOverride()
|
2061
|
+
* or setDisplayFeaturesOverride() and starts using display features from the
|
2062
|
+
* platform again.
|
2063
|
+
* Does nothing if no override is set.
|
2064
|
+
*/
|
2065
|
+
clearDisplayFeaturesOverride(): Promise<{id: number, result: void, sessionId: string}>;
|
2066
|
+
|
2053
2067
|
setScrollbarsHidden(params: Protocol.Emulation.SetScrollbarsHiddenRequest): Promise<{id: number, result: void, sessionId: string}>;
|
2054
2068
|
|
2055
2069
|
setDocumentCookieDisabled(params: Protocol.Emulation.SetDocumentCookieDisabledRequest): Promise<{id: number, result: void, sessionId: string}>;
|
@@ -4917,6 +4931,21 @@ export namespace ProtocolTestsProxyApi {
|
|
4917
4931
|
*/
|
4918
4932
|
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4919
4933
|
|
4934
|
+
/**
|
4935
|
+
* Simulates the response code from the peripheral with |address| for a
|
4936
|
+
* GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
4937
|
+
* Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
4938
|
+
*/
|
4939
|
+
simulateGATTOperationResponse(params: Protocol.BluetoothEmulation.SimulateGATTOperationResponseRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4940
|
+
|
4941
|
+
/**
|
4942
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
4943
|
+
* happened.
|
4944
|
+
*/
|
4945
|
+
onGattOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => void): void;
|
4946
|
+
offGattOperationReceived(listener: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => void): void;
|
4947
|
+
onceGattOperationReceived(eventMatcher?: (event: { params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }) => boolean): Promise<{ params: Protocol.BluetoothEmulation.GattOperationReceivedEvent }>;
|
4948
|
+
|
4920
4949
|
}
|
4921
4950
|
}
|
4922
4951
|
|
package/types/protocol.d.ts
CHANGED
@@ -3581,6 +3581,7 @@ export namespace Protocol {
|
|
3581
3581
|
|
3582
3582
|
export interface SRIMessageSignatureIssueDetails {
|
3583
3583
|
error: SRIMessageSignatureError;
|
3584
|
+
signatureBase: string;
|
3584
3585
|
request: AffectedRequest;
|
3585
3586
|
}
|
3586
3587
|
|
@@ -8686,6 +8687,7 @@ export namespace Protocol {
|
|
8686
8687
|
/**
|
8687
8688
|
* If set, the display feature of a multi-segment screen. If not set, multi-segment support
|
8688
8689
|
* is turned-off.
|
8690
|
+
* Deprecated, use Emulation.setDisplayFeaturesOverride.
|
8689
8691
|
*/
|
8690
8692
|
displayFeature?: DisplayFeature;
|
8691
8693
|
/**
|
@@ -8700,6 +8702,10 @@ export namespace Protocol {
|
|
8700
8702
|
posture: DevicePosture;
|
8701
8703
|
}
|
8702
8704
|
|
8705
|
+
export interface SetDisplayFeaturesOverrideRequest {
|
8706
|
+
features: DisplayFeature[];
|
8707
|
+
}
|
8708
|
+
|
8703
8709
|
export interface SetScrollbarsHiddenRequest {
|
8704
8710
|
/**
|
8705
8711
|
* Whether scrollbars should be always hidden.
|
@@ -13837,7 +13843,7 @@ export namespace Protocol {
|
|
13837
13843
|
* All Permissions Policy features. This enum should match the one defined
|
13838
13844
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
13839
13845
|
*/
|
13840
|
-
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'sync-xhr' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'xr-spatial-tracking');
|
13846
|
+
export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-private' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'fenced-unpartitioned-storage-read' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'language-detector' | 'local-fonts' | 'magnetometer' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'popins' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'rewriter' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
|
13841
13847
|
|
13842
13848
|
/**
|
13843
13849
|
* Reason for a permissions policy feature to be disabled.
|
@@ -19180,7 +19186,7 @@ export namespace Protocol {
|
|
19180
19186
|
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
19181
19187
|
* filter out the ones that aren't necessary to the developers.
|
19182
19188
|
*/
|
19183
|
-
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');
|
19189
|
+
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchEvictedAfterBrowsingDataRemoved' | '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');
|
19184
19190
|
|
19185
19191
|
/**
|
19186
19192
|
* Information of headers to be displayed when the header mismatch occurred.
|
@@ -19465,6 +19471,11 @@ export namespace Protocol {
|
|
19465
19471
|
*/
|
19466
19472
|
export type CentralState = ('absent' | 'powered-off' | 'powered-on');
|
19467
19473
|
|
19474
|
+
/**
|
19475
|
+
* Indicates the various types of GATT event.
|
19476
|
+
*/
|
19477
|
+
export type GATTOperationType = ('connection' | 'discovery');
|
19478
|
+
|
19468
19479
|
/**
|
19469
19480
|
* Stores the manufacturer data
|
19470
19481
|
*/
|
@@ -19539,6 +19550,21 @@ export namespace Protocol {
|
|
19539
19550
|
export interface SimulateAdvertisementRequest {
|
19540
19551
|
entry: ScanEntry;
|
19541
19552
|
}
|
19553
|
+
|
19554
|
+
export interface SimulateGATTOperationResponseRequest {
|
19555
|
+
address: string;
|
19556
|
+
type: GATTOperationType;
|
19557
|
+
code: integer;
|
19558
|
+
}
|
19559
|
+
|
19560
|
+
/**
|
19561
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19562
|
+
* happened.
|
19563
|
+
*/
|
19564
|
+
export interface GattOperationReceivedEvent {
|
19565
|
+
address: string;
|
19566
|
+
type: GATTOperationType;
|
19567
|
+
}
|
19542
19568
|
}
|
19543
19569
|
}
|
19544
19570
|
|