From cea439b289df94d1c7dcc0b36b75436b3cc0a08f Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 12 Nov 2021 00:54:39 -0800 Subject: [PATCH 1/2] Remove PhotoCapabilities API from BCD This PR removes `PhotoCapabilities` from BCD. This feature is a dictionary, enum, or WebIDL typedef and should not be included in BCD. --- api/ImageCapture.json | 192 ++++++++++++++++++++++++++++ api/PhotoCapabilities.json | 249 ------------------------------------- 2 files changed, 192 insertions(+), 249 deletions(-) delete mode 100644 api/PhotoCapabilities.json diff --git a/api/ImageCapture.json b/api/ImageCapture.json index 7fd86ec71b98db..ede9870d011c19 100644 --- a/api/ImageCapture.json +++ b/api/ImageCapture.json @@ -151,6 +151,198 @@ "standard_track": true, "deprecated": false } + }, + "fillLightMode": { + "__compat": { + "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-filllightmode", + "support": { + "chrome": { + "version_added": "59" + }, + "chrome_android": { + "version_added": "59" + }, + "edge": { + "version_added": "≤79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "46" + }, + "opera_android": { + "version_added": "43" + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "7.0" + }, + "webview_android": { + "version_added": "59" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "imageHeight": { + "__compat": { + "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imageheight", + "support": { + "chrome": { + "version_added": "59" + }, + "chrome_android": { + "version_added": "59" + }, + "edge": { + "version_added": "≤79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "46" + }, + "opera_android": { + "version_added": "43" + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "7.0" + }, + "webview_android": { + "version_added": "59" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "imageWidth": { + "__compat": { + "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imagewidth", + "support": { + "chrome": { + "version_added": "59" + }, + "chrome_android": { + "version_added": "59" + }, + "edge": { + "version_added": "≤79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "46" + }, + "opera_android": { + "version_added": "43" + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "7.0" + }, + "webview_android": { + "version_added": "59" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "redEyeReduction": { + "__compat": { + "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-redeyereduction", + "support": { + "chrome": { + "version_added": "59" + }, + "chrome_android": { + "version_added": "59" + }, + "edge": { + "version_added": "≤79" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "46" + }, + "opera_android": { + "version_added": "43" + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": "7.0" + }, + "webview_android": { + "version_added": "59" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } }, "getPhotoSettings": { diff --git a/api/PhotoCapabilities.json b/api/PhotoCapabilities.json deleted file mode 100644 index 8172c79ec10f5b..00000000000000 --- a/api/PhotoCapabilities.json +++ /dev/null @@ -1,249 +0,0 @@ -{ - "api": { - "PhotoCapabilities": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PhotoCapabilities", - "spec_url": "https://w3c.github.io/mediacapture-image/#photocapabilities-section", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - }, - "fillLightMode": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PhotoCapabilities/fillLightMode", - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-filllightmode", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "imageHeight": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PhotoCapabilities/imageHeight", - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imageheight", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "imageWidth": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PhotoCapabilities/imageWidth", - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imagewidth", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "redEyeReduction": { - "__compat": { - "mdn_url": "https://developer.mozilla.org/docs/Web/API/PhotoCapabilities/redEyeReduction", - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-redeyereduction", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - } - } - } -} From d106e1dcc8e622907b999fbc5220ad6c7a478c87 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 12 Nov 2021 03:05:50 -0800 Subject: [PATCH 2/2] Remove new subfeatures --- api/ImageCapture.json | 192 ------------------------------------------ 1 file changed, 192 deletions(-) diff --git a/api/ImageCapture.json b/api/ImageCapture.json index ede9870d011c19..7fd86ec71b98db 100644 --- a/api/ImageCapture.json +++ b/api/ImageCapture.json @@ -151,198 +151,6 @@ "standard_track": true, "deprecated": false } - }, - "fillLightMode": { - "__compat": { - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-filllightmode", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "imageHeight": { - "__compat": { - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imageheight", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "imageWidth": { - "__compat": { - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-imagewidth", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } - }, - "redEyeReduction": { - "__compat": { - "spec_url": "https://w3c.github.io/mediacapture-image/#dom-photocapabilities-redeyereduction", - "support": { - "chrome": { - "version_added": "59" - }, - "chrome_android": { - "version_added": "59" - }, - "edge": { - "version_added": "≤79" - }, - "firefox": { - "version_added": false - }, - "firefox_android": { - "version_added": false - }, - "ie": { - "version_added": false - }, - "opera": { - "version_added": "46" - }, - "opera_android": { - "version_added": "43" - }, - "safari": { - "version_added": false - }, - "safari_ios": { - "version_added": false - }, - "samsunginternet_android": { - "version_added": "7.0" - }, - "webview_android": { - "version_added": "59" - } - }, - "status": { - "experimental": true, - "standard_track": true, - "deprecated": false - } - } } }, "getPhotoSettings": {