From e0b199f799f4fcb68846a9dd72e5e24f46af368e Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Mon, 28 Feb 2022 15:39:07 -0800 Subject: [PATCH] Adapt RTCDtlsTransport API to new events structure This PR adapts the RTCDtlsTransport 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. --- api/RTCDtlsTransport.json | 69 +++++---------------------------------- 1 file changed, 9 insertions(+), 60 deletions(-) diff --git a/api/RTCDtlsTransport.json b/api/RTCDtlsTransport.json index 0d6ebea65c9d82..1a8f1be31c0fe8 100644 --- a/api/RTCDtlsTransport.json +++ b/api/RTCDtlsTransport.json @@ -50,9 +50,9 @@ "deprecated": false } }, - "getRemoteCertificates": { + "error_event": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates", + "description": "error event", "support": { "chrome": { "version_added": "72" @@ -100,61 +100,9 @@ } } }, - "iceTransport": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport", - "spec_url": "https://w3c.github.io/webrtc-pc/#dom-rtcdtlstransport-icetransport", - "support": { - "chrome": { - "version_added": "72" - }, - "chrome_android": { - "version_added": "72" - }, - "edge": { - "version_added": "15", - "alternative_name": "transport" - }, - "firefox": { - "version_added": false, - "notes": "See bug 1307996." - }, - "firefox_android": { - "version_added": false, - "notes": "See bug 1307996." - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "60" - }, - "opera_android": { - "version_added": "50" - }, - "safari": { - "version_added": "15.4" - }, - "safari_ios": { - "version_added": "15.4" - }, - "samsunginternet_android": { - "version_added": "11.0" - }, - "webview_android": { - "version_added": "72" - } - }, - "status": { - "experimental": false, - "standard_track": true, - "deprecated": false - } - } - }, - "onerror": { + "getRemoteCertificates": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/onerror", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/getRemoteCertificates", "support": { "chrome": { "version_added": "72" @@ -202,9 +150,10 @@ } } }, - "onstatechange": { + "iceTransport": { "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/onstatechange", + "mdn_url": "https://developer.mozilla.org/docs/Web/API/RTCDtlsTransport/iceTransport", + "spec_url": "https://w3c.github.io/webrtc-pc/#dom-rtcdtlstransport-icetransport", "support": { "chrome": { "version_added": "72" @@ -213,8 +162,8 @@ "version_added": "72" }, "edge": { - "version_added": "12", - "alternative_name": "ondtlsstatechange" + "version_added": "15", + "alternative_name": "transport" }, "firefox": { "version_added": false,