devtools-protocol 0.0.1589152 → 0.0.1591319

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.
@@ -1004,7 +1004,8 @@
1004
1004
  "description": "Audits domain allows investigation of page violations and possible improvements.",
1005
1005
  "experimental": true,
1006
1006
  "dependencies": [
1007
- "Network"
1007
+ "Network",
1008
+ "Runtime"
1008
1009
  ],
1009
1010
  "types": [
1010
1011
  {
@@ -2261,6 +2262,72 @@
2261
2262
  }
2262
2263
  ]
2263
2264
  },
2265
+ {
2266
+ "id": "AdScriptIdentifier",
2267
+ "description": "Metadata about the ad script that was on the stack that caused the current\nscript in the `AdAncestry` to be considered ad related.",
2268
+ "type": "object",
2269
+ "properties": [
2270
+ {
2271
+ "name": "scriptId",
2272
+ "description": "The script's v8 identifier.",
2273
+ "$ref": "Runtime.ScriptId"
2274
+ },
2275
+ {
2276
+ "name": "debuggerId",
2277
+ "description": "v8's debugging id for the v8::Context.",
2278
+ "$ref": "Runtime.UniqueDebuggerId"
2279
+ },
2280
+ {
2281
+ "name": "name",
2282
+ "description": "The script's url (or generated name based on id if inline script).",
2283
+ "type": "string"
2284
+ }
2285
+ ]
2286
+ },
2287
+ {
2288
+ "id": "AdAncestry",
2289
+ "description": "Providence about how an ad script was determined to be such. It is an ad\nbecause its url matched a filterlist rule, or because some other ad script\nwas on the stack when this script was loaded.",
2290
+ "type": "object",
2291
+ "properties": [
2292
+ {
2293
+ "name": "adAncestryChain",
2294
+ "description": "The ad-script in the stack when the offending script was loaded. This is\nrecursive down to the root script that was tagged due to the filterlist\nrule.",
2295
+ "type": "array",
2296
+ "items": {
2297
+ "$ref": "AdScriptIdentifier"
2298
+ }
2299
+ },
2300
+ {
2301
+ "name": "rootScriptFilterlistRule",
2302
+ "description": "The filterlist rule that caused the root (last) script in\n`adAncestry` to be ad-tagged.",
2303
+ "optional": true,
2304
+ "type": "string"
2305
+ }
2306
+ ]
2307
+ },
2308
+ {
2309
+ "id": "SelectivePermissionsInterventionIssueDetails",
2310
+ "description": "The issue warns about blocked calls to privacy sensitive APIs via the\nSelective Permissions Intervention.",
2311
+ "type": "object",
2312
+ "properties": [
2313
+ {
2314
+ "name": "apiName",
2315
+ "description": "Which API was intervened on.",
2316
+ "type": "string"
2317
+ },
2318
+ {
2319
+ "name": "adAncestry",
2320
+ "description": "Why the ad script using the API is considered an ad.",
2321
+ "$ref": "AdAncestry"
2322
+ },
2323
+ {
2324
+ "name": "stackTrace",
2325
+ "description": "The stack trace at the time of the intervention.",
2326
+ "optional": true,
2327
+ "$ref": "Runtime.StackTrace"
2328
+ }
2329
+ ]
2330
+ },
2264
2331
  {
2265
2332
  "id": "InspectorIssueCode",
2266
2333
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -2294,7 +2361,8 @@
2294
2361
  "ConnectionAllowlistIssue",
2295
2362
  "UserReidentificationIssue",
2296
2363
  "PermissionElementIssue",
2297
- "PerformanceIssue"
2364
+ "PerformanceIssue",
2365
+ "SelectivePermissionsInterventionIssue"
2298
2366
  ]
2299
2367
  },
2300
2368
  {
@@ -2447,6 +2515,11 @@
2447
2515
  "name": "performanceIssueDetails",
2448
2516
  "optional": true,
2449
2517
  "$ref": "PerformanceIssueDetails"
2518
+ },
2519
+ {
2520
+ "name": "selectivePermissionsInterventionIssueDetails",
2521
+ "optional": true,
2522
+ "$ref": "SelectivePermissionsInterventionIssueDetails"
2450
2523
  }
2451
2524
  ]
2452
2525
  },
@@ -10984,6 +11057,17 @@
10984
11057
  "deprecated": true,
10985
11058
  "optional": true,
10986
11059
  "$ref": "DevicePosture"
11060
+ },
11061
+ {
11062
+ "name": "scrollbarType",
11063
+ "description": "Scrollbar type. Default: `default`.",
11064
+ "experimental": true,
11065
+ "optional": true,
11066
+ "type": "string",
11067
+ "enum": [
11068
+ "overlay",
11069
+ "default"
11070
+ ]
10987
11071
  }
10988
11072
  ]
10989
11073
  },
@@ -11607,6 +11691,17 @@
11607
11691
  "$ref": "ScreenId"
11608
11692
  }
11609
11693
  ]
11694
+ },
11695
+ {
11696
+ "name": "setPrimaryScreen",
11697
+ "description": "Set primary screen. Only supported in headless mode.\nNote that this changes the coordinate system origin to the top-left\nof the new primary screen, updating the bounds and work areas\nof all existing screens accordingly.",
11698
+ "experimental": true,
11699
+ "parameters": [
11700
+ {
11701
+ "name": "screenId",
11702
+ "$ref": "ScreenId"
11703
+ }
11704
+ ]
11610
11705
  }
11611
11706
  ],
11612
11707
  "events": [
@@ -11665,6 +11760,38 @@
11665
11760
  "sync",
11666
11761
  "managed"
11667
11762
  ]
11763
+ },
11764
+ {
11765
+ "id": "ExtensionInfo",
11766
+ "description": "Detailed information about an extension.",
11767
+ "type": "object",
11768
+ "properties": [
11769
+ {
11770
+ "name": "id",
11771
+ "description": "Extension id.",
11772
+ "type": "string"
11773
+ },
11774
+ {
11775
+ "name": "name",
11776
+ "description": "Extension name.",
11777
+ "type": "string"
11778
+ },
11779
+ {
11780
+ "name": "version",
11781
+ "description": "Extension version.",
11782
+ "type": "string"
11783
+ },
11784
+ {
11785
+ "name": "path",
11786
+ "description": "The path from which the extension was loaded.",
11787
+ "type": "string"
11788
+ },
11789
+ {
11790
+ "name": "enabled",
11791
+ "description": "Extension enabled status.",
11792
+ "type": "boolean"
11793
+ }
11794
+ ]
11668
11795
  }
11669
11796
  ],
11670
11797
  "commands": [
@@ -11708,6 +11835,19 @@
11708
11835
  }
11709
11836
  ]
11710
11837
  },
11838
+ {
11839
+ "name": "getExtensions",
11840
+ "description": "Gets a list of all unpacked extensions.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging flag is set.",
11841
+ "returns": [
11842
+ {
11843
+ "name": "extensions",
11844
+ "type": "array",
11845
+ "items": {
11846
+ "$ref": "ExtensionInfo"
11847
+ }
11848
+ }
11849
+ ]
11850
+ },
11711
11851
  {
11712
11852
  "name": "uninstall",
11713
11853
  "description": "Uninstalls an unpacked extension (others not supported) from the profile.\nAvailable if the client is connected using the --remote-debugging-pipe flag\nand the --enable-unsafe-extension-debugging.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1589152",
3
+ "version": "0.0.1591319",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7,6 +7,7 @@
7
7
  # Audits domain allows investigation of page violations and possible improvements.
8
8
  experimental domain Audits
9
9
  depends on Network
10
+ depends on Runtime
10
11
 
11
12
  # Information about a cookie that is affected by an inspector issue.
12
13
  type AffectedCookie extends object
@@ -696,6 +697,41 @@ experimental domain Audits
696
697
  # Used for messages about activation disabled reason
697
698
  optional string disableReason
698
699
 
700
+ # Metadata about the ad script that was on the stack that caused the current
701
+ # script in the `AdAncestry` to be considered ad related.
702
+ type AdScriptIdentifier extends object
703
+ properties
704
+ # The script's v8 identifier.
705
+ Runtime.ScriptId scriptId
706
+ # v8's debugging id for the v8::Context.
707
+ Runtime.UniqueDebuggerId debuggerId
708
+ # The script's url (or generated name based on id if inline script).
709
+ string name
710
+
711
+ # Providence about how an ad script was determined to be such. It is an ad
712
+ # because its url matched a filterlist rule, or because some other ad script
713
+ # was on the stack when this script was loaded.
714
+ type AdAncestry extends object
715
+ properties
716
+ # The ad-script in the stack when the offending script was loaded. This is
717
+ # recursive down to the root script that was tagged due to the filterlist
718
+ # rule.
719
+ array of AdScriptIdentifier adAncestryChain
720
+ # The filterlist rule that caused the root (last) script in
721
+ # `adAncestry` to be ad-tagged.
722
+ optional string rootScriptFilterlistRule
723
+
724
+ # The issue warns about blocked calls to privacy sensitive APIs via the
725
+ # Selective Permissions Intervention.
726
+ type SelectivePermissionsInterventionIssueDetails extends object
727
+ properties
728
+ # Which API was intervened on.
729
+ string apiName
730
+ # Why the ad script using the API is considered an ad.
731
+ AdAncestry adAncestry
732
+ # The stack trace at the time of the intervention.
733
+ optional Runtime.StackTrace stackTrace
734
+
699
735
  # A unique identifier for the type of issue. Each type may use one of the
700
736
  # optional fields in InspectorIssueDetails to convey more specific
701
737
  # information about the kind of issue.
@@ -731,6 +767,7 @@ experimental domain Audits
731
767
  UserReidentificationIssue
732
768
  PermissionElementIssue
733
769
  PerformanceIssue
770
+ SelectivePermissionsInterventionIssue
734
771
 
735
772
  # This struct holds a list of optional fields with additional information
736
773
  # specific to the kind of issue. When adding a new issue code, please also
@@ -766,6 +803,7 @@ experimental domain Audits
766
803
  optional UserReidentificationIssueDetails userReidentificationIssueDetails
767
804
  optional PermissionElementIssueDetails permissionElementIssueDetails
768
805
  optional PerformanceIssueDetails performanceIssueDetails
806
+ optional SelectivePermissionsInterventionIssueDetails selectivePermissionsInterventionIssueDetails
769
807
 
770
808
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
771
809
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -297,6 +297,15 @@ domain Emulation
297
297
  # to continuous.
298
298
  # Deprecated, use Emulation.setDevicePostureOverride.
299
299
  experimental deprecated optional DevicePosture devicePosture
300
+ # Scrollbar type. Default: `default`.
301
+ experimental optional enum scrollbarType
302
+ # Emulates scrollbars that float over the content, typically appearing
303
+ # only when scrolling.
304
+ overlay
305
+ # Restores the platform's default scrollbar behavior, which might be
306
+ # classic (occupying space within the layout) or overlay, depending
307
+ # on the platform. Note: if `mobile` is `true`, the default scrollbar type is `overlay`.
308
+ default
300
309
 
301
310
  # Start reporting the given posture value to the Device Posture API.
302
311
  # This override can also be set in setDeviceMetricsOverride().
@@ -608,3 +617,11 @@ domain Emulation
608
617
  experimental command removeScreen
609
618
  parameters
610
619
  ScreenId screenId
620
+
621
+ # Set primary screen. Only supported in headless mode.
622
+ # Note that this changes the coordinate system origin to the top-left
623
+ # of the new primary screen, updating the bounds and work areas
624
+ # of all existing screens accordingly.
625
+ experimental command setPrimaryScreen
626
+ parameters
627
+ ScreenId screenId
@@ -38,6 +38,28 @@ experimental domain Extensions
38
38
  returns
39
39
  # Extension id.
40
40
  string id
41
+
42
+ # Detailed information about an extension.
43
+ type ExtensionInfo extends object
44
+ properties
45
+ # Extension id.
46
+ string id
47
+ # Extension name.
48
+ string name
49
+ # Extension version.
50
+ string version
51
+ # The path from which the extension was loaded.
52
+ string path
53
+ # Extension enabled status.
54
+ boolean enabled
55
+
56
+ # Gets a list of all unpacked extensions.
57
+ # Available if the client is connected using the --remote-debugging-pipe flag
58
+ # and the --enable-unsafe-extension-debugging flag is set.
59
+ command getExtensions
60
+ returns
61
+ array of ExtensionInfo extensions
62
+
41
63
  # Uninstalls an unpacked extension (others not supported) from the profile.
42
64
  # Available if the client is connected using the --remote-debugging-pipe flag
43
65
  # and the --enable-unsafe-extension-debugging.
@@ -3591,6 +3591,17 @@ export namespace ProtocolMapping {
3591
3591
  paramsType: [Protocol.Emulation.RemoveScreenRequest];
3592
3592
  returnType: void;
3593
3593
  };
3594
+ /**
3595
+ * Set primary screen. Only supported in headless mode.
3596
+ * Note that this changes the coordinate system origin to the top-left
3597
+ * of the new primary screen, updating the bounds and work areas
3598
+ * of all existing screens accordingly.
3599
+ * @experimental
3600
+ */
3601
+ 'Emulation.setPrimaryScreen': {
3602
+ paramsType: [Protocol.Emulation.SetPrimaryScreenRequest];
3603
+ returnType: void;
3604
+ };
3594
3605
  /**
3595
3606
  * Sets breakpoint on particular native event.
3596
3607
  */
@@ -3632,6 +3643,15 @@ export namespace ProtocolMapping {
3632
3643
  paramsType: [Protocol.Extensions.LoadUnpackedRequest];
3633
3644
  returnType: Protocol.Extensions.LoadUnpackedResponse;
3634
3645
  };
3646
+ /**
3647
+ * Gets a list of all unpacked extensions.
3648
+ * Available if the client is connected using the --remote-debugging-pipe flag
3649
+ * and the --enable-unsafe-extension-debugging flag is set.
3650
+ */
3651
+ 'Extensions.getExtensions': {
3652
+ paramsType: [];
3653
+ returnType: Protocol.Extensions.GetExtensionsResponse;
3654
+ };
3635
3655
  /**
3636
3656
  * Uninstalls an unpacked extension (others not supported) from the profile.
3637
3657
  * Available if the client is connected using the --remote-debugging-pipe flag
@@ -2390,6 +2390,15 @@ export namespace ProtocolProxyApi {
2390
2390
  */
2391
2391
  removeScreen(params: Protocol.Emulation.RemoveScreenRequest): Promise<void>;
2392
2392
 
2393
+ /**
2394
+ * Set primary screen. Only supported in headless mode.
2395
+ * Note that this changes the coordinate system origin to the top-left
2396
+ * of the new primary screen, updating the bounds and work areas
2397
+ * of all existing screens accordingly.
2398
+ * @experimental
2399
+ */
2400
+ setPrimaryScreen(params: Protocol.Emulation.SetPrimaryScreenRequest): Promise<void>;
2401
+
2393
2402
  /**
2394
2403
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
2395
2404
  * @experimental
@@ -2433,6 +2442,13 @@ export namespace ProtocolProxyApi {
2433
2442
  */
2434
2443
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<Protocol.Extensions.LoadUnpackedResponse>;
2435
2444
 
2445
+ /**
2446
+ * Gets a list of all unpacked extensions.
2447
+ * Available if the client is connected using the --remote-debugging-pipe flag
2448
+ * and the --enable-unsafe-extension-debugging flag is set.
2449
+ */
2450
+ getExtensions(): Promise<Protocol.Extensions.GetExtensionsResponse>;
2451
+
2436
2452
  /**
2437
2453
  * Uninstalls an unpacked extension (others not supported) from the profile.
2438
2454
  * Available if the client is connected using the --remote-debugging-pipe flag
@@ -2528,6 +2528,15 @@ export namespace ProtocolTestsProxyApi {
2528
2528
  */
2529
2529
  removeScreen(params: Protocol.Emulation.RemoveScreenRequest): Promise<{id: number, result: void, sessionId: string}>;
2530
2530
 
2531
+ /**
2532
+ * Set primary screen. Only supported in headless mode.
2533
+ * Note that this changes the coordinate system origin to the top-left
2534
+ * of the new primary screen, updating the bounds and work areas
2535
+ * of all existing screens accordingly.
2536
+ * @experimental
2537
+ */
2538
+ setPrimaryScreen(params: Protocol.Emulation.SetPrimaryScreenRequest): Promise<{id: number, result: void, sessionId: string}>;
2539
+
2531
2540
  /**
2532
2541
  * Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.
2533
2542
  * @experimental
@@ -2573,6 +2582,13 @@ export namespace ProtocolTestsProxyApi {
2573
2582
  */
2574
2583
  loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<{id: number, result: Protocol.Extensions.LoadUnpackedResponse, sessionId: string}>;
2575
2584
 
2585
+ /**
2586
+ * Gets a list of all unpacked extensions.
2587
+ * Available if the client is connected using the --remote-debugging-pipe flag
2588
+ * and the --enable-unsafe-extension-debugging flag is set.
2589
+ */
2590
+ getExtensions(): Promise<{id: number, result: Protocol.Extensions.GetExtensionsResponse, sessionId: string}>;
2591
+
2576
2592
  /**
2577
2593
  * Uninstalls an unpacked extension (others not supported) from the profile.
2578
2594
  * Available if the client is connected using the --remote-debugging-pipe flag
@@ -3936,12 +3936,69 @@ export namespace Protocol {
3936
3936
  disableReason?: string;
3937
3937
  }
3938
3938
 
3939
+ /**
3940
+ * Metadata about the ad script that was on the stack that caused the current
3941
+ * script in the `AdAncestry` to be considered ad related.
3942
+ */
3943
+ export interface AdScriptIdentifier {
3944
+ /**
3945
+ * The script's v8 identifier.
3946
+ */
3947
+ scriptId: Runtime.ScriptId;
3948
+ /**
3949
+ * v8's debugging id for the v8::Context.
3950
+ */
3951
+ debuggerId: Runtime.UniqueDebuggerId;
3952
+ /**
3953
+ * The script's url (or generated name based on id if inline script).
3954
+ */
3955
+ name: string;
3956
+ }
3957
+
3958
+ /**
3959
+ * Providence about how an ad script was determined to be such. It is an ad
3960
+ * because its url matched a filterlist rule, or because some other ad script
3961
+ * was on the stack when this script was loaded.
3962
+ */
3963
+ export interface AdAncestry {
3964
+ /**
3965
+ * The ad-script in the stack when the offending script was loaded. This is
3966
+ * recursive down to the root script that was tagged due to the filterlist
3967
+ * rule.
3968
+ */
3969
+ adAncestryChain: AdScriptIdentifier[];
3970
+ /**
3971
+ * The filterlist rule that caused the root (last) script in
3972
+ * `adAncestry` to be ad-tagged.
3973
+ */
3974
+ rootScriptFilterlistRule?: string;
3975
+ }
3976
+
3977
+ /**
3978
+ * The issue warns about blocked calls to privacy sensitive APIs via the
3979
+ * Selective Permissions Intervention.
3980
+ */
3981
+ export interface SelectivePermissionsInterventionIssueDetails {
3982
+ /**
3983
+ * Which API was intervened on.
3984
+ */
3985
+ apiName: string;
3986
+ /**
3987
+ * Why the ad script using the API is considered an ad.
3988
+ */
3989
+ adAncestry: AdAncestry;
3990
+ /**
3991
+ * The stack trace at the time of the intervention.
3992
+ */
3993
+ stackTrace?: Runtime.StackTrace;
3994
+ }
3995
+
3939
3996
  /**
3940
3997
  * A unique identifier for the type of issue. Each type may use one of the
3941
3998
  * optional fields in InspectorIssueDetails to convey more specific
3942
3999
  * information about the kind of issue.
3943
4000
  */
3944
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue');
4001
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue');
3945
4002
 
3946
4003
  /**
3947
4004
  * This struct holds a list of optional fields with additional information
@@ -3981,6 +4038,7 @@ export namespace Protocol {
3981
4038
  userReidentificationIssueDetails?: UserReidentificationIssueDetails;
3982
4039
  permissionElementIssueDetails?: PermissionElementIssueDetails;
3983
4040
  performanceIssueDetails?: PerformanceIssueDetails;
4041
+ selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
3984
4042
  }
3985
4043
 
3986
4044
  /**
@@ -9380,6 +9438,11 @@ export namespace Protocol {
9380
9438
  insets: SafeAreaInsets;
9381
9439
  }
9382
9440
 
9441
+ export const enum SetDeviceMetricsOverrideRequestScrollbarType {
9442
+ Overlay = 'overlay',
9443
+ Default = 'default',
9444
+ }
9445
+
9383
9446
  export interface SetDeviceMetricsOverrideRequest {
9384
9447
  /**
9385
9448
  * Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
@@ -9454,6 +9517,11 @@ export namespace Protocol {
9454
9517
  * @experimental
9455
9518
  */
9456
9519
  devicePosture?: DevicePosture;
9520
+ /**
9521
+ * Scrollbar type. Default: `default`.
9522
+ * @experimental
9523
+ */
9524
+ scrollbarType?: ('overlay' | 'default');
9457
9525
  }
9458
9526
 
9459
9527
  export interface SetDevicePostureOverrideRequest {
@@ -9800,6 +9868,10 @@ export namespace Protocol {
9800
9868
  export interface RemoveScreenRequest {
9801
9869
  screenId: ScreenId;
9802
9870
  }
9871
+
9872
+ export interface SetPrimaryScreenRequest {
9873
+ screenId: ScreenId;
9874
+ }
9803
9875
  }
9804
9876
 
9805
9877
  /**
@@ -9836,6 +9908,32 @@ export namespace Protocol {
9836
9908
  */
9837
9909
  export type StorageArea = ('session' | 'local' | 'sync' | 'managed');
9838
9910
 
9911
+ /**
9912
+ * Detailed information about an extension.
9913
+ */
9914
+ export interface ExtensionInfo {
9915
+ /**
9916
+ * Extension id.
9917
+ */
9918
+ id: string;
9919
+ /**
9920
+ * Extension name.
9921
+ */
9922
+ name: string;
9923
+ /**
9924
+ * Extension version.
9925
+ */
9926
+ version: string;
9927
+ /**
9928
+ * The path from which the extension was loaded.
9929
+ */
9930
+ path: string;
9931
+ /**
9932
+ * Extension enabled status.
9933
+ */
9934
+ enabled: boolean;
9935
+ }
9936
+
9839
9937
  export interface TriggerActionRequest {
9840
9938
  /**
9841
9939
  * Extension id.
@@ -9865,6 +9963,10 @@ export namespace Protocol {
9865
9963
  id: string;
9866
9964
  }
9867
9965
 
9966
+ export interface GetExtensionsResponse {
9967
+ extensions: ExtensionInfo[];
9968
+ }
9969
+
9868
9970
  export interface UninstallRequest {
9869
9971
  /**
9870
9972
  * Extension id.