Skip to content

Commit f1b38e9

Browse files
eehakkinmoz-wptsync-bot
authored andcommitted
Bug 1912929 [wpt PR 47585] - [MediaCapture Extensions] Fix background segmentation mask constraints, a=testonly
Automatic update from web-platform-tests [MediaCapture Extensions] Fix background segmentation mask constraints This CL fixes background segmentation mask constraints to be passed to the imagecapture module and adds a web platform test to test background segmentation mask constraints and settings. Background segmentation mask feature is behind a flag: chrome --enable-blink-features=MediaCaptureCameraControls Intent to Prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/nWEqxi83rus Spec: w3c/mediacapture-extensions#142 Explainer: https://github.com/riju/backgroundBlur/blob/main/explainer.md#background-segmentation-mask-api Bug: 349939554 Change-Id: I1c11bd8919272147ed28f699a38dd8922cefc4c8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5783519 Reviewed-by: Rijubrata Bhaumik <[email protected]> Commit-Queue: Eero Hakkinen <[email protected]> Reviewed-by: Guido Urdaneta <[email protected]> Cr-Commit-Position: refs/heads/main@{#1341202} -- wpt-commits: 732899be1aa3e1efcb01cab15852eb4c05bfe9b5 wpt-pr: 47585
1 parent df04a02 commit f1b38e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

testing/web-platform/tests/mediacapture-extensions/GUM-backgroundBlur.https.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Test background blur support</title>
4+
<title>Test background blur and segmentation mask support</title>
55
<link rel="help" href="https://w3c.github.io/mediacapture-extensions/">
66
</head>
77
<body>
88
<h1 class="instructions">Description</h1>
9-
<p class="instructions">This test checks background blur support.</p>
9+
<p class="instructions">This test checks background blur and segmentation mask support.</p>
1010
<div id='log'></div>
1111
<script src=/resources/testharness.js></script>
1212
<script src=/resources/testharnessreport.js></script>
1313
<script>
1414
"use strict";
1515

1616
const constraintSet = {
17-
backgroundBlur: true
17+
backgroundBlur: true,
18+
backgroundSegmentationMask: true,
1819
};
1920

2021
Object.keys(constraintSet).forEach(property => {

0 commit comments

Comments
 (0)