Skip to content

Commit

Permalink
More consistent use of required/optional instead of mandatory.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeenon committed Aug 23, 2022
1 parent f771414 commit 8f0f5d4
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 19 deletions.
4 changes: 2 additions & 2 deletions webextensions/api/tabs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1336,14 +1336,14 @@
"safari": {
"notes": [
"The default file format is 'jpeg'.",
"<code>&lt;all_urls&gt;</code> permission is not required to call this."
"<code>&lt;all_urls&gt;</code> permission is optional."
],
"version_added": "14"
},
"safari_ios": {
"notes": [
"The default file format is 'jpeg'.",
"<code>&lt;all_urls&gt;</code> permission is not required to call this."
"<code>&lt;all_urls&gt;</code> permission is optional."
],
"version_added": "15"
}
Expand Down
2 changes: 1 addition & 1 deletion webextensions/manifest/author.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"edge": {
"version_added": "14",
"notes": "This key is mandatory in Microsoft Edge."
"notes": "This property is required."
},
"firefox": {
"version_added": "52"
Expand Down
2 changes: 1 addition & 1 deletion webextensions/manifest/background.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"edge": {
"version_added": "14",
"notes": "The <code>persistent</code> property is mandatory."
"notes": "This property is required."
},
"firefox": {
"version_added": "48",
Expand Down
14 changes: 4 additions & 10 deletions webextensions/manifest/browser_specific_settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,10 @@
"version_added": "15",
"version_removed": "79"
},
"firefox": [
{
"version_added": "48"
},
{
"version_added": "42",
"alternative_name": "applications",
"notes": "Mandatory before Firefox 48."
}
],
"firefox": {
"version_added": "42",
"notes": "Before Firefox 48, this property was required."
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
Expand Down
10 changes: 5 additions & 5 deletions webextensions/manifest/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
"version_added": "55",
"version_removed": "70",
"notes": [
"Before version 59, the RGB array form was not supported for this property.",
"Before version 63, this property was mandatory.",
"Before Firefox 59, the RGB array form was not supported for this property.",
"Before Firefox 63, this property was required.",
"Use <code>frame</code> instead."
]
},
Expand Down Expand Up @@ -633,8 +633,8 @@
"version_added": "55",
"version_removed": "70",
"notes": [
"Before version 59, the RGB array form was not supported for this property.",
"Before version 63, this property was mandatory.",
"Before Firefox 59, the RGB array form was not supported for this property.",
"Before Firefox 63, this property was required.",
"Use <code>tab_background_text</code> instead."
]
},
Expand Down Expand Up @@ -990,7 +990,7 @@
},
"firefox": {
"version_added": "55",
"notes": "Mandatory before Firefox 60"
"notes": "Before Firefox 60, this property was required."
},
"firefox_android": {
"version_added": true
Expand Down

0 comments on commit 8f0f5d4

Please sign in to comment.