Skip to content

Commit

Permalink
Adapt api.Window.onbeforeinstallprompt to new events structure (#15236)
Browse files Browse the repository at this point in the history
This PR adapts the beforeinstallprompt event of the Window API to conform to the new events structure.
  • Loading branch information
queengooborg authored Mar 23, 2022
1 parent 8595e0d commit cee9f0e
Showing 1 changed file with 66 additions and 66 deletions.
132 changes: 66 additions & 66 deletions api/Window.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,12 +620,28 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/beforeinstallprompt_event",
"spec_url": "https://wicg.github.io/manifest-incubations/#onbeforeinstallprompt-attribute",
"support": {
"chrome": {
"version_added": "44"
},
"chrome_android": {
"version_added": "44"
},
"chrome": [
{
"version_added": "61"
},
{
"version_added": "44",
"version_removed": "61",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
],
"chrome_android": [
{
"version_added": "61"
},
{
"version_added": "44",
"version_removed": "61",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
],
"edge": {
"version_added": "≤79"
},
Expand All @@ -638,24 +654,56 @@
"ie": {
"version_added": false
},
"opera": {
"version_added": "31"
},
"opera_android": {
"version_added": "32"
},
"opera": [
{
"version_added": "48"
},
{
"version_added": "31",
"version_removed": "48",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
],
"opera_android": [
{
"version_added": "45"
},
{
"version_added": "32",
"version_removed": "45",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
],
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": "5.0"
},
"webview_android": {
"version_added": "44"
}
"samsunginternet_android": [
{
"version_added": "8.0"
},
{
"version_added": "5.0",
"version_removed": "8.0",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
],
"webview_android": [
{
"version_added": "61"
},
{
"version_added": "44",
"version_removed": "61",
"partial_implementation": true,
"notes": "The <code>onbeforeinstallprompt</code> event handler property is not supported."
}
]
},
"status": {
"experimental": false,
Expand Down Expand Up @@ -4010,54 +4058,6 @@
}
}
},
"onbeforeinstallprompt": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/onbeforeinstallprompt",
"support": {
"chrome": {
"version_added": "61"
},
"chrome_android": {
"version_added": "61"
},
"edge": {
"version_added": "79"
},
"firefox": {
"version_added": false
},
"firefox_android": {
"version_added": false
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "48"
},
"opera_android": {
"version_added": "45"
},
"safari": {
"version_added": false
},
"safari_ios": {
"version_added": false
},
"samsunginternet_android": {
"version_added": "8.0"
},
"webview_android": {
"version_added": "61"
}
},
"status": {
"experimental": false,
"standard_track": false,
"deprecated": false
}
}
},
"ondevicelight": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/Window/ondevicelight",
Expand Down

0 comments on commit cee9f0e

Please sign in to comment.