From 4377ba59510ea5a1e3a8f7adb4e21c9a86dcc50b Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 07:15:25 -0800 Subject: [PATCH 1/2] Add missing api.NDEFReader.makeReadOnly feature This PR is a part of a project to add missing interfaces and interface features to BCD that are from an active spec (including WICG specs) and is supported in at least one browser. This particular PR adds the missing `makeReadOnly` member of the NDEFReader API. Tests Used: https://mdn-bcd-collector.gooborg.com/tests/api/NDEFReader/makeReadOnly _Check out the [collector's guide on how to review this PR](https://github.com/GooborgStudios/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/MIDIOutputMap.json | 32 ++++++++++++++++++++++++++++++++ api/NDEFReader.json | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/api/MIDIOutputMap.json b/api/MIDIOutputMap.json index 97e8eca743216..fccdf7485f708 100644 --- a/api/MIDIOutputMap.json +++ b/api/MIDIOutputMap.json @@ -376,6 +376,38 @@ "deprecated": false } } + }, + "@@iterator": { + "__compat": { + "support": { + "chrome": { + "version_added": "43" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } } } diff --git a/api/NDEFReader.json b/api/NDEFReader.json index 6b74062605b39..e91f285299415 100644 --- a/api/NDEFReader.json +++ b/api/NDEFReader.json @@ -107,6 +107,41 @@ } } }, + "makeReadOnly": { + "__compat": { + "spec_url": "https://w3c.github.io/web-nfc/#the-makereadonly-method", + "support": { + "chrome": { + "version_added": false + }, + "chrome_android": { + "version_added": "89" + }, + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "reading_event": { "__compat": { "description": "reading event", From f0e72d1736a24f6712f1db8922f53138abeee840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Fri, 25 Nov 2022 18:32:27 +0100 Subject: [PATCH 2/2] Update MIDIOutputMap.json --- api/MIDIOutputMap.json | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/api/MIDIOutputMap.json b/api/MIDIOutputMap.json index fccdf7485f708..97e8eca743216 100644 --- a/api/MIDIOutputMap.json +++ b/api/MIDIOutputMap.json @@ -376,38 +376,6 @@ "deprecated": false } } - }, - "@@iterator": { - "__compat": { - "support": { - "chrome": { - "version_added": "43" - }, - "chrome_android": "mirror", - "edge": "mirror", - "firefox": { - "version_added": false - }, - "firefox_android": "mirror", - "ie": { - "version_added": false - }, - "oculus": "mirror", - "opera": "mirror", - "opera_android": "mirror", - "safari": { - "version_added": false - }, - "safari_ios": "mirror", - "samsunginternet_android": "mirror", - "webview_android": "mirror" - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } } } }