[wpt-sync] Sync PR 23981 - [PTZ] Reject with NotSupportedError in applyConstraints if no permission
Categories
(Core :: Audio/Video: Recording, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23981 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23981
Details from upstream follow.
Francois Beaufort <beaufort.francois@gmail.com> wrote:
[PTZ] Reject with NotSupportedError in applyConstraints if no permission
This CL makes sure applyConstraints is rejected with NotSupportedError,
not NotAllowedError anymore. This specific error allowed web developers
to know if a camera was supporting PTZ, even though they didn't ask for
it.Spec: https://github.com/w3c/mediacapture-image/issues/223
Bug: 934063
Change-Id: I20a09740313446586dabf5f64b920cc1646112f0Reviewed-on: https://chromium-review.googlesource.com/2230487
WPT-Export-Revision: ffa7ce903e3b41b4945230fd57937fa2e0337f43
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=808cd8c4f7052009df8580525e9693ebf57bdf3b
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
FAIL: 2
Safari
OK : 1
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html
exercises an applyConstraints() - getSettings() cycle with PTZ permission granted: FAIL (Chrome: FAIL, Safari: FAIL)
exercises an applyConstraints() with PTZ permission denied: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/762df36e4548 [wpt PR 23981] - [PTZ] Reject with NotSupportedError in applyConstraints if no permission, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•