devtools-protocol 0.0.1433962 → 0.0.1438564
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.
@@ -17912,6 +17912,7 @@
|
|
17912
17912
|
"interest-cohort",
|
17913
17913
|
"join-ad-interest-group",
|
17914
17914
|
"keyboard-map",
|
17915
|
+
"language-detector",
|
17915
17916
|
"local-fonts",
|
17916
17917
|
"magnetometer",
|
17917
17918
|
"media-playback-while-not-visible",
|
@@ -17926,6 +17927,7 @@
|
|
17926
17927
|
"private-state-token-redemption",
|
17927
17928
|
"publickey-credentials-create",
|
17928
17929
|
"publickey-credentials-get",
|
17930
|
+
"rewriter",
|
17929
17931
|
"run-ad-auction",
|
17930
17932
|
"screen-wake-lock",
|
17931
17933
|
"serial",
|
@@ -17936,7 +17938,9 @@
|
|
17936
17938
|
"speaker-selection",
|
17937
17939
|
"storage-access",
|
17938
17940
|
"sub-apps",
|
17941
|
+
"summarizer",
|
17939
17942
|
"sync-xhr",
|
17943
|
+
"translator",
|
17940
17944
|
"unload",
|
17941
17945
|
"usb",
|
17942
17946
|
"usb-unrestricted",
|
@@ -17945,6 +17949,7 @@
|
|
17945
17949
|
"web-printing",
|
17946
17950
|
"web-share",
|
17947
17951
|
"window-management",
|
17952
|
+
"writer",
|
17948
17953
|
"xr-spatial-tracking"
|
17949
17954
|
]
|
17950
17955
|
},
|
@@ -22294,31 +22299,36 @@
|
|
22294
22299
|
]
|
22295
22300
|
},
|
22296
22301
|
{
|
22297
|
-
"id": "
|
22298
|
-
"description": "Enum of shared storage access
|
22302
|
+
"id": "SharedStorageAccessScope",
|
22303
|
+
"description": "Enum of shared storage access scopes.",
|
22299
22304
|
"type": "string",
|
22300
22305
|
"enum": [
|
22301
|
-
"
|
22302
|
-
"
|
22303
|
-
"
|
22304
|
-
"
|
22305
|
-
|
22306
|
-
|
22307
|
-
|
22308
|
-
|
22309
|
-
|
22310
|
-
|
22311
|
-
|
22312
|
-
"
|
22313
|
-
"
|
22314
|
-
"
|
22315
|
-
"
|
22316
|
-
"
|
22317
|
-
"
|
22318
|
-
"
|
22319
|
-
"
|
22320
|
-
"
|
22321
|
-
"
|
22306
|
+
"window",
|
22307
|
+
"sharedStorageWorklet",
|
22308
|
+
"protectedAudienceWorklet",
|
22309
|
+
"header"
|
22310
|
+
]
|
22311
|
+
},
|
22312
|
+
{
|
22313
|
+
"id": "SharedStorageAccessMethod",
|
22314
|
+
"description": "Enum of shared storage access methods.",
|
22315
|
+
"type": "string",
|
22316
|
+
"enum": [
|
22317
|
+
"addModule",
|
22318
|
+
"createWorklet",
|
22319
|
+
"selectURL",
|
22320
|
+
"run",
|
22321
|
+
"batchUpdate",
|
22322
|
+
"set",
|
22323
|
+
"append",
|
22324
|
+
"delete",
|
22325
|
+
"clear",
|
22326
|
+
"get",
|
22327
|
+
"keys",
|
22328
|
+
"values",
|
22329
|
+
"entries",
|
22330
|
+
"length",
|
22331
|
+
"remainingBudget"
|
22322
22332
|
]
|
22323
22333
|
},
|
22324
22334
|
{
|
@@ -23869,9 +23879,14 @@
|
|
23869
23879
|
"$ref": "Network.TimeSinceEpoch"
|
23870
23880
|
},
|
23871
23881
|
{
|
23872
|
-
"name": "
|
23882
|
+
"name": "scope",
|
23883
|
+
"description": "Enum value indicating the access scope.",
|
23884
|
+
"$ref": "SharedStorageAccessScope"
|
23885
|
+
},
|
23886
|
+
{
|
23887
|
+
"name": "method",
|
23873
23888
|
"description": "Enum value indicating the Shared Storage API method invoked.",
|
23874
|
-
"$ref": "
|
23889
|
+
"$ref": "SharedStorageAccessMethod"
|
23875
23890
|
},
|
23876
23891
|
{
|
23877
23892
|
"name": "mainFrameId",
|
@@ -23880,7 +23895,12 @@
|
|
23880
23895
|
},
|
23881
23896
|
{
|
23882
23897
|
"name": "ownerOrigin",
|
23883
|
-
"description": "
|
23898
|
+
"description": "Serialization of the origin owning the Shared Storage data.",
|
23899
|
+
"type": "string"
|
23900
|
+
},
|
23901
|
+
{
|
23902
|
+
"name": "ownerSite",
|
23903
|
+
"description": "Serialization of the site owning the Shared Storage data.",
|
23884
23904
|
"type": "string"
|
23885
23905
|
},
|
23886
23906
|
{
|
@@ -27808,6 +27828,15 @@
|
|
27808
27828
|
"powered-on"
|
27809
27829
|
]
|
27810
27830
|
},
|
27831
|
+
{
|
27832
|
+
"id": "GATTOperationType",
|
27833
|
+
"description": "Indicates the various types of GATT event.",
|
27834
|
+
"type": "string",
|
27835
|
+
"enum": [
|
27836
|
+
"connection",
|
27837
|
+
"discovery"
|
27838
|
+
]
|
27839
|
+
},
|
27811
27840
|
{
|
27812
27841
|
"id": "ManufacturerData",
|
27813
27842
|
"description": "Stores the manufacturer data",
|
@@ -27955,6 +27984,40 @@
|
|
27955
27984
|
"$ref": "ScanEntry"
|
27956
27985
|
}
|
27957
27986
|
]
|
27987
|
+
},
|
27988
|
+
{
|
27989
|
+
"name": "simulateGATTOperationResponse",
|
27990
|
+
"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.",
|
27991
|
+
"parameters": [
|
27992
|
+
{
|
27993
|
+
"name": "address",
|
27994
|
+
"type": "string"
|
27995
|
+
},
|
27996
|
+
{
|
27997
|
+
"name": "type",
|
27998
|
+
"$ref": "GATTOperationType"
|
27999
|
+
},
|
28000
|
+
{
|
28001
|
+
"name": "code",
|
28002
|
+
"type": "integer"
|
28003
|
+
}
|
28004
|
+
]
|
28005
|
+
}
|
28006
|
+
],
|
28007
|
+
"events": [
|
28008
|
+
{
|
28009
|
+
"name": "gattOperationReceived",
|
28010
|
+
"description": "Event for when a GATT operation of |type| to the peripheral with |address|\nhappened.",
|
28011
|
+
"parameters": [
|
28012
|
+
{
|
28013
|
+
"name": "address",
|
28014
|
+
"type": "string"
|
28015
|
+
},
|
28016
|
+
{
|
28017
|
+
"name": "type",
|
28018
|
+
"$ref": "GATTOperationType"
|
28019
|
+
}
|
28020
|
+
]
|
27958
28021
|
}
|
27959
28022
|
]
|
27960
28023
|
}
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -8464,6 +8464,7 @@ domain Page
|
|
8464
8464
|
interest-cohort
|
8465
8465
|
join-ad-interest-group
|
8466
8466
|
keyboard-map
|
8467
|
+
language-detector
|
8467
8468
|
local-fonts
|
8468
8469
|
magnetometer
|
8469
8470
|
media-playback-while-not-visible
|
@@ -8478,6 +8479,7 @@ domain Page
|
|
8478
8479
|
private-state-token-redemption
|
8479
8480
|
publickey-credentials-create
|
8480
8481
|
publickey-credentials-get
|
8482
|
+
rewriter
|
8481
8483
|
run-ad-auction
|
8482
8484
|
screen-wake-lock
|
8483
8485
|
serial
|
@@ -8488,7 +8490,9 @@ domain Page
|
|
8488
8490
|
speaker-selection
|
8489
8491
|
storage-access
|
8490
8492
|
sub-apps
|
8493
|
+
summarizer
|
8491
8494
|
sync-xhr
|
8495
|
+
translator
|
8492
8496
|
unload
|
8493
8497
|
usb
|
8494
8498
|
usb-unrestricted
|
@@ -8497,6 +8501,7 @@ domain Page
|
|
8497
8501
|
web-printing
|
8498
8502
|
web-share
|
8499
8503
|
window-management
|
8504
|
+
writer
|
8500
8505
|
xr-spatial-tracking
|
8501
8506
|
|
8502
8507
|
# Reason for a permissions policy feature to be disabled.
|
@@ -10549,30 +10554,32 @@ experimental domain Storage
|
|
10549
10554
|
bidderTrustedSignals
|
10550
10555
|
sellerTrustedSignals
|
10551
10556
|
|
10552
|
-
# Enum of shared storage access
|
10553
|
-
type
|
10554
|
-
enum
|
10555
|
-
|
10556
|
-
|
10557
|
-
|
10558
|
-
|
10559
|
-
|
10560
|
-
|
10561
|
-
|
10562
|
-
|
10563
|
-
|
10564
|
-
|
10565
|
-
|
10566
|
-
|
10567
|
-
|
10568
|
-
|
10569
|
-
|
10570
|
-
|
10571
|
-
|
10572
|
-
|
10573
|
-
|
10574
|
-
|
10575
|
-
|
10557
|
+
# Enum of shared storage access scopes.
|
10558
|
+
type SharedStorageAccessScope extends string
|
10559
|
+
enum
|
10560
|
+
window
|
10561
|
+
sharedStorageWorklet
|
10562
|
+
protectedAudienceWorklet
|
10563
|
+
header
|
10564
|
+
|
10565
|
+
# Enum of shared storage access methods.
|
10566
|
+
type SharedStorageAccessMethod extends string
|
10567
|
+
enum
|
10568
|
+
addModule
|
10569
|
+
createWorklet
|
10570
|
+
selectURL
|
10571
|
+
run
|
10572
|
+
batchUpdate
|
10573
|
+
set
|
10574
|
+
append
|
10575
|
+
delete
|
10576
|
+
clear
|
10577
|
+
get
|
10578
|
+
keys
|
10579
|
+
values
|
10580
|
+
entries
|
10581
|
+
length
|
10582
|
+
remainingBudget
|
10576
10583
|
|
10577
10584
|
# Struct for a single key-value pair in an origin's shared storage.
|
10578
10585
|
type SharedStorageEntry extends object
|
@@ -10988,12 +10995,16 @@ experimental domain Storage
|
|
10988
10995
|
parameters
|
10989
10996
|
# Time of the access.
|
10990
10997
|
Network.TimeSinceEpoch accessTime
|
10998
|
+
# Enum value indicating the access scope.
|
10999
|
+
SharedStorageAccessScope scope
|
10991
11000
|
# Enum value indicating the Shared Storage API method invoked.
|
10992
|
-
|
11001
|
+
SharedStorageAccessMethod method
|
10993
11002
|
# DevTools Frame Token for the primary frame tree's root.
|
10994
11003
|
Page.FrameId mainFrameId
|
10995
|
-
#
|
11004
|
+
# Serialization of the origin owning the Shared Storage data.
|
10996
11005
|
string ownerOrigin
|
11006
|
+
# Serialization of the site owning the Shared Storage data.
|
11007
|
+
string ownerSite
|
10997
11008
|
# The sub-parameters wrapped by `params` are all optional and their
|
10998
11009
|
# presence/absence depends on `type`.
|
10999
11010
|
SharedStorageAccessParams params
|
@@ -13215,6 +13226,12 @@ experimental domain BluetoothEmulation
|
|
13215
13226
|
powered-off
|
13216
13227
|
powered-on
|
13217
13228
|
|
13229
|
+
# Indicates the various types of GATT event.
|
13230
|
+
type GATTOperationType extends string
|
13231
|
+
enum
|
13232
|
+
connection
|
13233
|
+
discovery
|
13234
|
+
|
13218
13235
|
# Stores the manufacturer data
|
13219
13236
|
type ManufacturerData extends object
|
13220
13237
|
properties
|
@@ -13276,3 +13293,19 @@ experimental domain BluetoothEmulation
|
|
13276
13293
|
command simulateAdvertisement
|
13277
13294
|
parameters
|
13278
13295
|
ScanEntry entry
|
13296
|
+
|
13297
|
+
# Simulates the response code from the peripheral with |address| for a
|
13298
|
+
# GATT operation of |type|. The |code| value follows the HCI Error Codes from
|
13299
|
+
# Bluetooth Core Specification Vol 2 Part D 1.3 List Of Error Codes.
|
13300
|
+
command simulateGATTOperationResponse
|
13301
|
+
parameters
|
13302
|
+
string address
|
13303
|
+
GATTOperationType type
|
13304
|
+
integer code
|
13305
|
+
|
13306
|
+
# Event for when a GATT operation of |type| to the peripheral with |address|
|
13307
|
+
# happened.
|
13308
|
+
event gattOperationReceived
|
13309
|
+
parameters
|
13310
|
+
string address
|
13311
|
+
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 {
|
@@ -5297,6 +5302,15 @@ export namespace ProtocolMapping {
|
|
5297
5302
|
paramsType: [Protocol.BluetoothEmulation.SimulateAdvertisementRequest];
|
5298
5303
|
returnType: void;
|
5299
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
|
+
};
|
5300
5314
|
}
|
5301
5315
|
}
|
5302
5316
|
|
@@ -4527,6 +4527,19 @@ export namespace ProtocolProxyApi {
|
|
4527
4527
|
*/
|
4528
4528
|
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<void>;
|
4529
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
|
+
|
4530
4543
|
}
|
4531
4544
|
}
|
4532
4545
|
|
@@ -4931,6 +4931,21 @@ export namespace ProtocolTestsProxyApi {
|
|
4931
4931
|
*/
|
4932
4932
|
simulateAdvertisement(params: Protocol.BluetoothEmulation.SimulateAdvertisementRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4933
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
|
+
|
4934
4949
|
}
|
4935
4950
|
}
|
4936
4951
|
|
package/types/protocol.d.ts
CHANGED
@@ -13843,7 +13843,7 @@ export namespace Protocol {
|
|
13843
13843
|
* All Permissions Policy features. This enum should match the one defined
|
13844
13844
|
* in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
|
13845
13845
|
*/
|
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' | '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');
|
13847
13847
|
|
13848
13848
|
/**
|
13849
13849
|
* Reason for a permissions policy feature to be disabled.
|
@@ -16361,9 +16361,14 @@ export namespace Protocol {
|
|
16361
16361
|
export type InterestGroupAuctionFetchType = ('bidderJs' | 'bidderWasm' | 'sellerJs' | 'bidderTrustedSignals' | 'sellerTrustedSignals');
|
16362
16362
|
|
16363
16363
|
/**
|
16364
|
-
* Enum of shared storage access
|
16364
|
+
* Enum of shared storage access scopes.
|
16365
16365
|
*/
|
16366
|
-
export type
|
16366
|
+
export type SharedStorageAccessScope = ('window' | 'sharedStorageWorklet' | 'protectedAudienceWorklet' | 'header');
|
16367
|
+
|
16368
|
+
/**
|
16369
|
+
* Enum of shared storage access methods.
|
16370
|
+
*/
|
16371
|
+
export type SharedStorageAccessMethod = ('addModule' | 'createWorklet' | 'selectURL' | 'run' | 'batchUpdate' | 'set' | 'append' | 'delete' | 'clear' | 'get' | 'keys' | 'values' | 'entries' | 'length' | 'remainingBudget');
|
16367
16372
|
|
16368
16373
|
/**
|
16369
16374
|
* Struct for a single key-value pair in an origin's shared storage.
|
@@ -17136,18 +17141,26 @@ export namespace Protocol {
|
|
17136
17141
|
* Time of the access.
|
17137
17142
|
*/
|
17138
17143
|
accessTime: Network.TimeSinceEpoch;
|
17144
|
+
/**
|
17145
|
+
* Enum value indicating the access scope.
|
17146
|
+
*/
|
17147
|
+
scope: SharedStorageAccessScope;
|
17139
17148
|
/**
|
17140
17149
|
* Enum value indicating the Shared Storage API method invoked.
|
17141
17150
|
*/
|
17142
|
-
|
17151
|
+
method: SharedStorageAccessMethod;
|
17143
17152
|
/**
|
17144
17153
|
* DevTools Frame Token for the primary frame tree's root.
|
17145
17154
|
*/
|
17146
17155
|
mainFrameId: Page.FrameId;
|
17147
17156
|
/**
|
17148
|
-
*
|
17157
|
+
* Serialization of the origin owning the Shared Storage data.
|
17149
17158
|
*/
|
17150
17159
|
ownerOrigin: string;
|
17160
|
+
/**
|
17161
|
+
* Serialization of the site owning the Shared Storage data.
|
17162
|
+
*/
|
17163
|
+
ownerSite: string;
|
17151
17164
|
/**
|
17152
17165
|
* The sub-parameters wrapped by `params` are all optional and their
|
17153
17166
|
* presence/absence depends on `type`.
|
@@ -19471,6 +19484,11 @@ export namespace Protocol {
|
|
19471
19484
|
*/
|
19472
19485
|
export type CentralState = ('absent' | 'powered-off' | 'powered-on');
|
19473
19486
|
|
19487
|
+
/**
|
19488
|
+
* Indicates the various types of GATT event.
|
19489
|
+
*/
|
19490
|
+
export type GATTOperationType = ('connection' | 'discovery');
|
19491
|
+
|
19474
19492
|
/**
|
19475
19493
|
* Stores the manufacturer data
|
19476
19494
|
*/
|
@@ -19545,6 +19563,21 @@ export namespace Protocol {
|
|
19545
19563
|
export interface SimulateAdvertisementRequest {
|
19546
19564
|
entry: ScanEntry;
|
19547
19565
|
}
|
19566
|
+
|
19567
|
+
export interface SimulateGATTOperationResponseRequest {
|
19568
|
+
address: string;
|
19569
|
+
type: GATTOperationType;
|
19570
|
+
code: integer;
|
19571
|
+
}
|
19572
|
+
|
19573
|
+
/**
|
19574
|
+
* Event for when a GATT operation of |type| to the peripheral with |address|
|
19575
|
+
* happened.
|
19576
|
+
*/
|
19577
|
+
export interface GattOperationReceivedEvent {
|
19578
|
+
address: string;
|
19579
|
+
type: GATTOperationType;
|
19580
|
+
}
|
19548
19581
|
}
|
19549
19582
|
}
|
19550
19583
|
|