Skip to content

Commit

Permalink
Adapt PresentationConnection API to new events structure (#15185)
Browse files Browse the repository at this point in the history
This PR adapts the PresentationConnection API to conform to the new events structure.

Note: there are no MDN pages associated with this event, so there will be no corresponding content PR. Any broken MDN URLs in BCD have been removed.
  • Loading branch information
queengooborg authored Mar 4, 2022
1 parent 603f59d commit 134c914
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions api/PresentationConnection.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,15 @@
}
}
},
"id": {
"close_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/id",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-id",
"description": "<code>close</code> event",
"support": {
"chrome": {
"version_added": "47"
"version_added": "50"
},
"chrome_android": {
"version_added": "47"
"version_added": "50"
},
"edge": {
"version_added": "79"
Expand Down Expand Up @@ -234,10 +233,10 @@
"version_added": false
},
"opera": {
"version_added": "34"
"version_added": "37"
},
"opera_android": {
"version_added": "34"
"version_added": "37"
},
"safari": {
"version_added": false
Expand All @@ -259,9 +258,9 @@
}
}
},
"onclose": {
"connect_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/onclose",
"description": "<code>connect</code> event",
"support": {
"chrome": {
"version_added": "50"
Expand Down Expand Up @@ -323,15 +322,16 @@
}
}
},
"onconnect": {
"id": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/onconnect",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/id",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-id",
"support": {
"chrome": {
"version_added": "50"
"version_added": "47"
},
"chrome_android": {
"version_added": "50"
"version_added": "47"
},
"edge": {
"version_added": "79"
Expand Down Expand Up @@ -362,10 +362,10 @@
"version_added": false
},
"opera": {
"version_added": "37"
"version_added": "34"
},
"opera_android": {
"version_added": "37"
"version_added": "34"
},
"safari": {
"version_added": false
Expand All @@ -387,9 +387,9 @@
}
}
},
"onmessage": {
"message_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/onmessage",
"description": "<code>message</code> event",
"support": {
"chrome": {
"version_added": "47"
Expand Down Expand Up @@ -451,15 +451,16 @@
}
}
},
"onterminate": {
"send": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/onterminate",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/send",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-send",
"support": {
"chrome": {
"version_added": "50"
"version_added": "47"
},
"chrome_android": {
"version_added": "50"
"version_added": "47"
},
"edge": {
"version_added": "79"
Expand Down Expand Up @@ -490,10 +491,10 @@
"version_added": false
},
"opera": {
"version_added": "37"
"version_added": "34"
},
"opera_android": {
"version_added": "37"
"version_added": "34"
},
"safari": {
"version_added": false
Expand All @@ -515,10 +516,10 @@
}
}
},
"send": {
"state": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/send",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-send",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/state",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-state",
"support": {
"chrome": {
"version_added": "47"
Expand Down Expand Up @@ -580,16 +581,16 @@
}
}
},
"state": {
"terminate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/state",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-state",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/terminate",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-terminate",
"support": {
"chrome": {
"version_added": "47"
"version_added": "48"
},
"chrome_android": {
"version_added": "47"
"version_added": "48"
},
"edge": {
"version_added": "79"
Expand Down Expand Up @@ -620,10 +621,10 @@
"version_added": false
},
"opera": {
"version_added": "34"
"version_added": "35"
},
"opera_android": {
"version_added": "34"
"version_added": "35"
},
"safari": {
"version_added": false
Expand All @@ -645,16 +646,15 @@
}
}
},
"terminate": {
"terminate_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PresentationConnection/terminate",
"spec_url": "https://w3c.github.io/presentation-api/#dom-presentationconnection-terminate",
"description": "<code>terminate</code> event",
"support": {
"chrome": {
"version_added": "48"
"version_added": "50"
},
"chrome_android": {
"version_added": "48"
"version_added": "50"
},
"edge": {
"version_added": "79"
Expand Down Expand Up @@ -685,10 +685,10 @@
"version_added": false
},
"opera": {
"version_added": "35"
"version_added": "37"
},
"opera_android": {
"version_added": "35"
"version_added": "37"
},
"safari": {
"version_added": false
Expand Down

0 comments on commit 134c914

Please sign in to comment.