Skip to content

Commit

Permalink
Add more consistent use of mandatory vs required.
Browse files Browse the repository at this point in the history
  • Loading branch information
xeenon committed Aug 23, 2022
1 parent ef231af commit 39bfa2b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 22 deletions.
2 changes: 1 addition & 1 deletion webextensions/api/action.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@
"notes": [
"This call is not persisted.",
"The <code>imageData</code> parameter is not accepted.",
"The <code>path</code> parameter is required."
"The <code>path</code> parameter is mandatory."
]
},
"firefox": [
Expand Down
2 changes: 1 addition & 1 deletion webextensions/api/browserAction.json
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@
"notes": [
"This call is not persisted.",
"The <code>imageData</code> parameter is not accepted.",
"The <code>path</code> parameter is required."
"The <code>path</code> parameter is mandatory."
]
},
"firefox": [
Expand Down
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 not mandatory."
],
"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 not mandatory."
],
"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 mandatory."
},
"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 mandatory."
},
"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": "Mandatory before Firefox 48."
},
"firefox_android": "mirror",
"opera": "mirror",
"safari": {
Expand Down
12 changes: 6 additions & 6 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 mandatory.",
"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 mandatory.",
"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": "Mandatory before Firefox 60."
},
"firefox_android": {
"version_added": true
Expand Down Expand Up @@ -1062,7 +1062,7 @@
},
"firefox_android": {
"version_added": true,
"notes": "This property is required."
"notes": "This property is mandatory."
},
"opera": {
"version_added": false
Expand Down

0 comments on commit 39bfa2b

Please sign in to comment.