webext-schema 5.5.2 → 5.5.4

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.
@@ -9590,6 +9590,7 @@
9590
9590
  "imageset",
9591
9591
  "web_manifest",
9592
9592
  "speculative",
9593
+ "json",
9593
9594
  "other"
9594
9595
  ]
9595
9596
  },
@@ -12398,7 +12399,8 @@
12398
12399
  "bandwidth",
12399
12400
  "memory",
12400
12401
  "tracing",
12401
- "sandbox"
12402
+ "sandbox",
12403
+ "flows"
12402
12404
  ]
12403
12405
  },
12404
12406
  {
@@ -13421,6 +13423,7 @@
13421
13423
  },
13422
13424
  "name": {
13423
13425
  "type": "string",
13426
+ "description": "Name must be at least 2, at should be at most 75 characters",
13424
13427
  "optional": false,
13425
13428
  "preprocess": "localize"
13426
13429
  },
@@ -13519,24 +13522,16 @@
13519
13522
  {
13520
13523
  "type": "object",
13521
13524
  "properties": {
13522
- "page": {
13525
+ "service_worker": {
13526
+ "optional": true,
13523
13527
  "$ref": "ExtensionURL"
13524
13528
  },
13525
- "persistent": {
13529
+ "page": {
13526
13530
  "optional": true,
13527
- "type": "boolean",
13528
- "max_manifest_version": 2,
13529
- "default": true
13530
- }
13531
- },
13532
- "additionalProperties": {
13533
- "$ref": "UnrecognizedProperty"
13534
- }
13535
- },
13536
- {
13537
- "type": "object",
13538
- "properties": {
13531
+ "$ref": "ExtensionURL"
13532
+ },
13539
13533
  "scripts": {
13534
+ "optional": true,
13540
13535
  "type": "array",
13541
13536
  "items": {
13542
13537
  "$ref": "ExtensionURL"
@@ -13545,6 +13540,7 @@
13545
13540
  "type": {
13546
13541
  "optional": true,
13547
13542
  "type": "string",
13543
+ "description": "Only supported for page/scripts; not for service_worker yet, see bug 1775574",
13548
13544
  "enum": [
13549
13545
  "module",
13550
13546
  "classic"
@@ -13555,20 +13551,24 @@
13555
13551
  "type": "boolean",
13556
13552
  "max_manifest_version": 2,
13557
13553
  "default": true
13554
+ },
13555
+ "preferred_environment": {
13556
+ "optional": true,
13557
+ "type": "array",
13558
+ "items": {
13559
+ "type": "string",
13560
+ "enum": [
13561
+ "service_worker",
13562
+ "document"
13563
+ ],
13564
+ "onError": "warn"
13565
+ }
13558
13566
  }
13559
13567
  },
13560
13568
  "additionalProperties": {
13561
13569
  "$ref": "UnrecognizedProperty"
13562
- }
13563
- },
13564
- {
13565
- "type": "object",
13566
- "properties": {
13567
- "service_worker": {
13568
- "$ref": "ExtensionURL"
13569
- }
13570
13570
  },
13571
- "postprocess": "requireBackgroundServiceWorkerEnabled"
13571
+ "postprocess": "checkRequiredManifestBackgroundKeys"
13572
13572
  }
13573
13573
  ],
13574
13574
  "optional": true
@@ -20423,6 +20423,7 @@
20423
20423
  "imageset",
20424
20424
  "web_manifest",
20425
20425
  "speculative",
20426
+ "json",
20426
20427
  "other"
20427
20428
  ]
20428
20429
  },