webext-schema 2.0.0 → 2.0.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.
@@ -8376,6 +8376,10 @@
8376
8376
  "$ref": "types.Setting",
8377
8377
  "description": "This setting controls whether the user-chosen colors override the page's colors."
8378
8378
  },
8379
+ "overrideContentColorScheme": {
8380
+ "$ref": "types.Setting",
8381
+ "description": "This setting controls whether a light or dark color scheme overrides the page's preferred color scheme."
8382
+ },
8379
8383
  "useDocumentFonts": {
8380
8384
  "$ref": "types.Setting",
8381
8385
  "description": "This setting controls whether the document's fonts are used."
@@ -9321,6 +9325,18 @@
9321
9325
  ],
9322
9326
  "description": "A cookie's 'SameSite' state (https://tools.ietf.org/html/draft-west-first-party-cookies). 'no_restriction' corresponds to a cookie set without a 'SameSite' attribute, 'lax' to 'SameSite=Lax', and 'strict' to 'SameSite=Strict'."
9323
9327
  },
9328
+ {
9329
+ "id": "PartitionKey",
9330
+ "type": "object",
9331
+ "description": "The description of the storage partition of a cookie. This object may be omitted (null) if a cookie is not partitioned.",
9332
+ "properties": {
9333
+ "topLevelSite": {
9334
+ "type": "string",
9335
+ "optional": true,
9336
+ "description": "The first-party URL of the cookie, if the cookie is in storage partitioned by the top-level site."
9337
+ }
9338
+ }
9339
+ },
9324
9340
  {
9325
9341
  "id": "Cookie",
9326
9342
  "type": "object",
@@ -9374,6 +9390,11 @@
9374
9390
  "firstPartyDomain": {
9375
9391
  "type": "string",
9376
9392
  "description": "The first-party domain of the cookie."
9393
+ },
9394
+ "partitionKey": {
9395
+ "$ref": "PartitionKey",
9396
+ "optional": true,
9397
+ "description": "The cookie's storage partition, if any. null if not partitioned."
9377
9398
  }
9378
9399
  }
9379
9400
  },
@@ -9441,6 +9462,11 @@
9441
9462
  "type": "string",
9442
9463
  "optional": true,
9443
9464
  "description": "The first-party domain which the cookie to retrieve is associated. This attribute is required if First-Party Isolation is enabled."
9465
+ },
9466
+ "partitionKey": {
9467
+ "$ref": "PartitionKey",
9468
+ "optional": true,
9469
+ "description": "The storage partition, if the cookie is part of partitioned storage. By default, only non-partitioned cookies are returned."
9444
9470
  }
9445
9471
  }
9446
9472
  },
@@ -9508,6 +9534,11 @@
9508
9534
  "type": "string",
9509
9535
  "optional": "omit-key-if-missing",
9510
9536
  "description": "Restricts the retrieved cookies to those whose first-party domains match this one. This attribute is required if First-Party Isolation is enabled. To not filter by a specific first-party domain, use `null` or `undefined`."
9537
+ },
9538
+ "partitionKey": {
9539
+ "$ref": "PartitionKey",
9540
+ "optional": true,
9541
+ "description": "Selects a specific storage partition to look up cookies. Defaults to null, in which case only non-partitioned cookies are retrieved. If an object iis passed, partitioned cookies are also included, and filtered based on the keys present in the given PartitionKey description. An empty object ({}) returns all cookies (partitioned + unpartitioned), a non-empty object (e.g. {topLevelSite: '...'}) only returns cookies whose partition match all given attributes."
9511
9542
  }
9512
9543
  }
9513
9544
  },
@@ -9592,6 +9623,11 @@
9592
9623
  "type": "string",
9593
9624
  "optional": true,
9594
9625
  "description": "The first-party domain of the cookie. This attribute is required if First-Party Isolation is enabled."
9626
+ },
9627
+ "partitionKey": {
9628
+ "$ref": "PartitionKey",
9629
+ "optional": true,
9630
+ "description": "The storage partition, if the cookie is part of partitioned storage. By default, non-partitioned storage is used."
9595
9631
  }
9596
9632
  }
9597
9633
  },
@@ -9638,6 +9674,11 @@
9638
9674
  "type": "string",
9639
9675
  "optional": true,
9640
9676
  "description": "The first-party domain associated with the cookie. This attribute is required if First-Party Isolation is enabled."
9677
+ },
9678
+ "partitionKey": {
9679
+ "$ref": "PartitionKey",
9680
+ "optional": true,
9681
+ "description": "The storage partition, if the cookie is part of partitioned storage. By default, non-partitioned storage is used."
9641
9682
  }
9642
9683
  }
9643
9684
  },
@@ -9667,6 +9708,11 @@
9667
9708
  "firstPartyDomain": {
9668
9709
  "type": "string",
9669
9710
  "description": "The first-party domain associated with the cookie that's been removed."
9711
+ },
9712
+ "partitionKey": {
9713
+ "$ref": "PartitionKey",
9714
+ "optional": true,
9715
+ "description": "The storage partition, if the cookie is part of partitioned storage. null if not partitioned."
9670
9716
  }
9671
9717
  }
9672
9718
  }
@@ -14881,6 +14927,10 @@
14881
14927
  "httpsOnlyMode": {
14882
14928
  "$ref": "types.Setting",
14883
14929
  "description": "Allow users to query the mode for 'HTTPS-Only Mode'. This setting's value is of type HTTPSOnlyModeOption, defaulting to <code>never</code>."
14930
+ },
14931
+ "globalPrivacyControl": {
14932
+ "$ref": "types.Setting",
14933
+ "description": "Allow users to query the status of 'Global Privacy Control'. This setting's value is of type boolean, defaulting to <code>false</code>."
14884
14934
  }
14885
14935
  }
14886
14936
  },
@@ -17254,6 +17304,10 @@
17254
17304
  "$ref": "ThemeColor",
17255
17305
  "optional": true
17256
17306
  },
17307
+ "ntp_card_background": {
17308
+ "$ref": "ThemeColor",
17309
+ "optional": true
17310
+ },
17257
17311
  "ntp_text": {
17258
17312
  "$ref": "ThemeColor",
17259
17313
  "optional": true
@@ -18458,7 +18512,8 @@
18458
18512
  "type": "string",
18459
18513
  "enum": [
18460
18514
  "webRequest",
18461
- "webRequestBlocking"
18515
+ "webRequestBlocking",
18516
+ "webRequestFilterResponse.serviceWorkerScript"
18462
18517
  ]
18463
18518
  }
18464
18519
  ]