Skip to content

Commit

Permalink
Add notes about Chrome requirements for web app manifest members (#24700
Browse files Browse the repository at this point in the history
)

add note
  • Loading branch information
dipikabh authored Oct 15, 2024
1 parent 809c1d1 commit dd9e4b2
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion html/manifest/display.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#display-member",
"support": {
"chrome": {
"version_added": "39"
"version_added": "39",
"notes": "<code>display</code> and/or <code>display_override</code> are required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand Down
3 changes: 2 additions & 1 deletion html/manifest/display_override.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://wicg.github.io/manifest-incubations/#display_override-member",
"support": {
"chrome": {
"version_added": "89"
"version_added": "89",
"notes": "<code>display_override</code> and/or <code>display</code> are required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand Down
7 changes: 4 additions & 3 deletions html/manifest/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#icons-member",
"support": {
"chrome": {
"version_added": "39"
"version_added": "39",
"notes": "<code>icons</code> is required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand All @@ -25,11 +26,11 @@
"opera_android": "mirror",
"safari": {
"version_added": "17",
"notes": "Only used when no <code>apple-touch-icon</code> is present with <code>\"purpose\": \"any\"</code> or no <code>\"purpose\"</code> key."
"notes": "Only used when no <code>apple-touch-icon</code> is present and either <code>\"purpose\" is set to \"any\"</code> or <code>\"purpose\"</code> is not specified."
},
"safari_ios": {
"version_added": "15.4",
"notes": "Only used when no <code>apple-touch-icon</code> is present with <code>\"purpose\": \"any\"</code> or no <code>\"purpose\"</code> key."
"notes": "Only used when no <code>apple-touch-icon</code> is present and either <code>\"purpose\" is set to \"any\"</code> or <code>\"purpose\"</code> is not specified."
},
"samsunginternet_android": "mirror",
"webview_android": "mirror",
Expand Down
3 changes: 2 additions & 1 deletion html/manifest/name.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#name-member",
"support": {
"chrome": {
"version_added": "39"
"version_added": "39",
"notes": "<code>name</code> or <code>short_name</code> is required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand Down
3 changes: 2 additions & 1 deletion html/manifest/prefer_related_applications.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#prefer_related_applications-member",
"support": {
"chrome": {
"version_added": false
"version_added": false,
"notes": "<code>prefer_related_applications</code> must be <code>false</code> or not present for a web app to be installable."
},
"chrome_android": {
"version_added": "44"
Expand Down
3 changes: 2 additions & 1 deletion html/manifest/short_name.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#short_name-member",
"support": {
"chrome": {
"version_added": "39"
"version_added": "39",
"notes": "<code>short_name</code> or <code>name</code> is required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand Down
3 changes: 2 additions & 1 deletion html/manifest/start_url.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"spec_url": "https://w3c.github.io/manifest/#start_url-member",
"support": {
"chrome": {
"version_added": "39"
"version_added": "39",
"notes": "<code>start_url</code> is required for a web app to be installable."
},
"chrome_android": "mirror",
"edge": "mirror",
Expand Down

0 comments on commit dd9e4b2

Please sign in to comment.