From 2bb2f261759d56b54ff78b5b02bdae6d7edb80a4 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 24 Nov 2022 12:45:13 -0800 Subject: [PATCH] Add missing api.XRView.camera feature (#18291) 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 `camera` member of the XRView 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/XRView/camera _Check out the [collector's guide on how to review this PR](https://github.com/GooborgStudios/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/XRView.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/api/XRView.json b/api/XRView.json index 16688766cac6e..e83959c0e2842 100644 --- a/api/XRView.json +++ b/api/XRView.json @@ -37,6 +37,43 @@ "deprecated": false } }, + "camera": { + "__compat": { + "spec_url": "https://immersive-web.github.io/raw-camera-access/#dom-xrview-camera", + "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 + } + } + }, "eye": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/XRView/eye",