From c4d79c6ca95d1da2c49187509121211b88464927 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Thu, 11 Nov 2021 06:54:05 -0800 Subject: [PATCH] Add missing api.VideoFrame.copyTo 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 `copyTo` member of the VideoFrame API, populating the results using data from the [mdn-bcd-collector](https://mdn-bcd-collector.appspot.com) project (v4.0.0). Tests Used: https://mdn-bcd-collector.appspot.com/tests/api/VideoFrame/copyTo _Check out the [collector's guide on how to review this PR](https://github.com/foolip/mdn-bcd-collector#reviewing-bcd-changes)._ --- api/VideoFrame.json | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/api/VideoFrame.json b/api/VideoFrame.json index ff7abd5a74ccec..8aabad377a5205 100644 --- a/api/VideoFrame.json +++ b/api/VideoFrame.json @@ -441,6 +441,54 @@ } } }, + "copyTo": { + "__compat": { + "spec_url": "https://w3c.github.io/webcodecs/#dom-videoframe-copyto", + "support": { + "chrome": { + "version_added": "94" + }, + "chrome_android": { + "version_added": "94" + }, + "edge": { + "version_added": "94" + }, + "firefox": { + "version_added": false + }, + "firefox_android": { + "version_added": false + }, + "ie": { + "version_added": false + }, + "opera": { + "version_added": "80" + }, + "opera_android": { + "version_added": false + }, + "safari": { + "version_added": false + }, + "safari_ios": { + "version_added": false + }, + "samsunginternet_android": { + "version_added": false + }, + "webview_android": { + "version_added": "94" + } + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + }, "displayHeight": { "__compat": { "mdn_url": "https://developer.mozilla.org/docs/Web/API/VideoFrame/displayHeight",