@@ -27,7 +27,7 @@ export namespace Manifest {
27
27
browser_specific_settings ?: BrowserSpecificSettings ;
28
28
29
29
/**
30
- * Name must be at least 2, at should be at most 75 characters
30
+ * Name must be at least 2, and should be at most 75 characters
31
31
*/
32
32
name : string ;
33
33
@@ -287,6 +287,7 @@ export namespace Manifest {
287
287
| "menus.overrideContext"
288
288
| "scripting"
289
289
| "search"
290
+ | "tabGroups"
290
291
| "activeTab"
291
292
| "webRequest"
292
293
| "webRequestAuthProvider"
@@ -315,7 +316,6 @@ export namespace Manifest {
315
316
| "proxy"
316
317
| "nativeMessaging"
317
318
| "sessions"
318
- | "tabGroups"
319
319
| "tabs"
320
320
| "tabHide"
321
321
| "topSites"
@@ -326,6 +326,23 @@ export namespace Manifest {
326
326
327
327
type PermissionPrivileged = "mozillaAddons" | "activityLog" | "networkStatus" | "normandyAddonStudy" ;
328
328
329
+ type CommonDataCollectionPermission =
330
+ | "authenticationInfo"
331
+ | "bookmarksInfo"
332
+ | "browsingActivity"
333
+ | "financialAndPaymentInfo"
334
+ | "healthInfo"
335
+ | "locationInfo"
336
+ | "personalCommunications"
337
+ | "personallyIdentifyingInfo"
338
+ | "searchTerms"
339
+ | "websiteActivity"
340
+ | "websiteContent" ;
341
+
342
+ type DataCollectionPermission = CommonDataCollectionPermission | "none" ;
343
+
344
+ type OptionalDataCollectionPermission = CommonDataCollectionPermission | "technicalAndInteraction" ;
345
+
329
346
type PermissionNoPrompt =
330
347
| OptionalPermissionNoPrompt
331
348
| PermissionPrivileged
@@ -381,6 +398,11 @@ export namespace Manifest {
381
398
* Optional.
382
399
*/
383
400
admin_install_only ?: boolean ;
401
+
402
+ /**
403
+ * Optional.
404
+ */
405
+ data_collection_permissions ?: FirefoxSpecificPropertiesDataCollectionPermissionsType ;
384
406
}
385
407
386
408
interface GeckoAndroidSpecificProperties {
@@ -456,6 +478,11 @@ export namespace Manifest {
456
478
*/
457
479
css ?: ExtensionURL [ ] ;
458
480
481
+ /**
482
+ * Optional.
483
+ */
484
+ css_origin ?: ExtensionTypes . CSSOrigin ;
485
+
459
486
/**
460
487
* The list of JS files to inject
461
488
* Optional.
@@ -1007,6 +1034,23 @@ export namespace Manifest {
1007
1034
paths ?: string [ ] ;
1008
1035
}
1009
1036
1037
+ interface FirefoxSpecificPropertiesDataCollectionPermissionsType {
1038
+ /**
1039
+ * Optional.
1040
+ */
1041
+ required ?: DataCollectionPermission [ ] ;
1042
+
1043
+ /**
1044
+ * Optional.
1045
+ */
1046
+ optional ?: OptionalDataCollectionPermission [ ] ;
1047
+
1048
+ /**
1049
+ * Optional.
1050
+ */
1051
+ has_previous_consent ?: boolean ;
1052
+ }
1053
+
1010
1054
/**
1011
1055
* Defines the location the browserAction will appear by default. The default location is navbar.
1012
1056
*/
0 commit comments