[wpt-sync] Sync PR 37683 - Reland "Reject getDisplayMedia calls without user activation"
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox111 fixed)
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
139.92 KB,
text/plain
|
Details |
Sync web-platform-tests PR 37683 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37683
Details from upstream follow.
Fr <beaufort.francois@gmail.com> wrote:
Reland "Reject getDisplayMedia calls without user activation"
This reverts commit 085deeae4f99ba12f7982aae69f6576f7f18b9c1.
Reason for revert: Fixing permission policy tests
Original change's description:
Revert "Reject getDisplayMedia calls without user activation"
This reverts commit 5fbd1e8cdadc327dedfad9ce896e24c562e59fbf.
Reason for revert: Reverted by Sheriff on suspicion of causing a test failure. https://ci.chromium.org/ui/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/110084/test-results?sortby=&groupby=&q=ExactID%3Aninja%3A%2F%2F%3Ablink_wpt_tests%2Fexternal%2Fwpt%2Fscreen-capture%2Fpermissions-policy-audio%2Bvideo.https.sub.html+VHash%3A9f5ebdc6f73354e7.
The test failure lists getDisplayMedia failing as the cause, and this CL is in the blame set and looks related.
Original change's description:
Reject getDisplayMedia calls without user activation
This CL makes sure getDisplayMedia() returned promise reject with
InvalidStateError when called without user activation.
Note that speculation rules tests are updated as well[1].[1] https://github.com/WICG/nav-speculation/issues/225
Intent to remove: https://groups.google.com/a/chromium.org/g/blink-dev/c/YGmuAVOqftI
Bug: 1198918
Change-Id: I530761d95e6db412582d0f19c0170803516c33f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4096797
Reviewed-by: Dale Curtis \<dalecurtis@chromium.org>
Reviewed-by: Hiroki Nakagawa \<nhiroki@chromium.org>
Reviewed-by: Elad Alon \<eladalon@chromium.org>
Commit-Queue: Fr \<beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1086033}Bug: 1198918
Change-Id: I14d0e47ee406aa09b6eec763e94d8e83f282a04d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4119423
Auto-Submit: Peter Williamson \<petewil@chromium.org>
Quick-Run: Peter Williamson \<petewil@chromium.org>
Commit-Queue: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Peter Williamson \<petewil@chromium.org>
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1086147}Bug: 1198918
Change-Id: I456423c03c1430399f4b44e275a77e0411f6bda7Reviewed-on: https://chromium-review.googlesource.com/4125755
WPT-Export-Revision: 6fa6a9fcacdcd4c3588a5175c8f049c0011fb8dc
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3979562afed9
https://hg.mozilla.org/mozilla-central/rev/3cd90909aa73
Description
•