From 45f0416f11589e3eb2a47d390e08af5e3f1c1fb1 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 12:47:58 -0800 Subject: [PATCH] Add missing XRCamera API (#18298) 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 `XRCamera` API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.gooborg.com) project (v7.0.0). Tests Used: https://mdn-bcd-collector.gooborg.com/tests/api/XRCamera _Check out the [collector's guide on how to review this PR](https://github.com/GooborgStudios/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/XRCamera.json | 115 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 api/XRCamera.json diff --git a/api/XRCamera.json b/api/XRCamera.json new file mode 100644 index 0000000000000..8ac57a62c0e2a --- /dev/null +++ b/api/XRCamera.json @@ -0,0 +1,115 @@ +{ + "api": { + "XRCamera": { + "__compat": { + "spec_url": "https://immersive-web.github.io/raw-camera-access/#xrcamera", + "support": { + "chrome": { + "version_added": "107" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": { + "version_added": false + }, + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + }, + "height": { + "__compat": { + "spec_url": "https://immersive-web.github.io/raw-camera-access/#dom-xrcamera-height", + "support": { + "chrome": { + "version_added": "107" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": { + "version_added": false + }, + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, + "width": { + "__compat": { + "spec_url": "https://immersive-web.github.io/raw-camera-access/#dom-xrcamera-width", + "support": { + "chrome": { + "version_added": "107" + }, + "chrome_android": "mirror", + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": { + "version_added": false + }, + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": { + "version_added": false + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + } + } + } +}