devtools-protocol 0.0.1078443 → 0.0.1081314
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.
@@ -2182,7 +2182,8 @@
|
|
2182
2182
|
"type": "string",
|
2183
2183
|
"enum": [
|
2184
2184
|
"granted",
|
2185
|
-
"denied"
|
2185
|
+
"denied",
|
2186
|
+
"prompt"
|
2186
2187
|
]
|
2187
2188
|
},
|
2188
2189
|
{
|
@@ -20250,6 +20251,22 @@
|
|
20250
20251
|
}
|
20251
20252
|
]
|
20252
20253
|
},
|
20254
|
+
{
|
20255
|
+
"name": "getFeatureState",
|
20256
|
+
"description": "Returns information about the feature state.",
|
20257
|
+
"parameters": [
|
20258
|
+
{
|
20259
|
+
"name": "featureState",
|
20260
|
+
"type": "string"
|
20261
|
+
}
|
20262
|
+
],
|
20263
|
+
"returns": [
|
20264
|
+
{
|
20265
|
+
"name": "featureEnabled",
|
20266
|
+
"type": "boolean"
|
20267
|
+
}
|
20268
|
+
]
|
20269
|
+
},
|
20253
20270
|
{
|
20254
20271
|
"name": "getProcessInfo",
|
20255
20272
|
"description": "Returns information about all running processes.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -1100,6 +1100,7 @@ domain Browser
|
|
1100
1100
|
enum
|
1101
1101
|
granted
|
1102
1102
|
denied
|
1103
|
+
prompt
|
1103
1104
|
|
1104
1105
|
# Definition of PermissionDescriptor defined in the Permissions API:
|
1105
1106
|
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
|
@@ -9568,6 +9569,13 @@ experimental domain SystemInfo
|
|
9568
9569
|
# supported.
|
9569
9570
|
string commandLine
|
9570
9571
|
|
9572
|
+
# Returns information about the feature state.
|
9573
|
+
command getFeatureState
|
9574
|
+
parameters
|
9575
|
+
string featureState
|
9576
|
+
returns
|
9577
|
+
boolean featureEnabled
|
9578
|
+
|
9571
9579
|
# Returns information about all running processes.
|
9572
9580
|
command getProcessInfo
|
9573
9581
|
returns
|
@@ -4165,6 +4165,13 @@ export namespace ProtocolMapping {
|
|
4165
4165
|
paramsType: [];
|
4166
4166
|
returnType: Protocol.SystemInfo.GetInfoResponse;
|
4167
4167
|
};
|
4168
|
+
/**
|
4169
|
+
* Returns information about the feature state.
|
4170
|
+
*/
|
4171
|
+
'SystemInfo.getFeatureState': {
|
4172
|
+
paramsType: [Protocol.SystemInfo.GetFeatureStateRequest];
|
4173
|
+
returnType: Protocol.SystemInfo.GetFeatureStateResponse;
|
4174
|
+
};
|
4168
4175
|
/**
|
4169
4176
|
* Returns information about all running processes.
|
4170
4177
|
*/
|
@@ -3387,6 +3387,11 @@ export namespace ProtocolProxyApi {
|
|
3387
3387
|
*/
|
3388
3388
|
getInfo(): Promise<Protocol.SystemInfo.GetInfoResponse>;
|
3389
3389
|
|
3390
|
+
/**
|
3391
|
+
* Returns information about the feature state.
|
3392
|
+
*/
|
3393
|
+
getFeatureState(params: Protocol.SystemInfo.GetFeatureStateRequest): Promise<Protocol.SystemInfo.GetFeatureStateResponse>;
|
3394
|
+
|
3390
3395
|
/**
|
3391
3396
|
* Returns information about all running processes.
|
3392
3397
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -3710,7 +3710,7 @@ export namespace Protocol {
|
|
3710
3710
|
|
3711
3711
|
export type PermissionType = ('accessibilityEvents' | 'audioCapture' | 'backgroundSync' | 'backgroundFetch' | 'clipboardReadWrite' | 'clipboardSanitizedWrite' | 'displayCapture' | 'durableStorage' | 'flash' | 'geolocation' | 'idleDetection' | 'localFonts' | 'midi' | 'midiSysex' | 'nfc' | 'notifications' | 'paymentHandler' | 'periodicBackgroundSync' | 'protectedMediaIdentifier' | 'sensors' | 'storageAccess' | 'videoCapture' | 'videoCapturePanTiltZoom' | 'wakeLockScreen' | 'wakeLockSystem' | 'windowManagement');
|
3712
3712
|
|
3713
|
-
export type PermissionSetting = ('granted' | 'denied');
|
3713
|
+
export type PermissionSetting = ('granted' | 'denied' | 'prompt');
|
3714
3714
|
|
3715
3715
|
/**
|
3716
3716
|
* Definition of PermissionDescriptor defined in the Permissions API:
|
@@ -15249,6 +15249,14 @@ export namespace Protocol {
|
|
15249
15249
|
commandLine: string;
|
15250
15250
|
}
|
15251
15251
|
|
15252
|
+
export interface GetFeatureStateRequest {
|
15253
|
+
featureState: string;
|
15254
|
+
}
|
15255
|
+
|
15256
|
+
export interface GetFeatureStateResponse {
|
15257
|
+
featureEnabled: boolean;
|
15258
|
+
}
|
15259
|
+
|
15252
15260
|
export interface GetProcessInfoResponse {
|
15253
15261
|
/**
|
15254
15262
|
* An array of process info blocks.
|