Intermittent dom/media/test/test_eme_protection_query.html | InvalidStateError: getDisplayMedia requires transient activation from a user gesture. - Should not throw any errors
Categories
(Core :: Audio/Video: Playback, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: karlt)
Details
(Keywords: intermittent-failure, Whiteboard: [stockwell needswork:owner])
Attachments
(2 files)
Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=350525933&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PtasO28XQTqtjbbmLuUncQ/runs/0/artifacts/public/logs/live_backing.log
[task 2021-09-04T08:28:59.241Z] 08:28:59 INFO - TEST-START | dom/media/test/test_eme_protection_query.html
[task 2021-09-04T08:29:05.154Z] 08:29:05 INFO - TEST-INFO | started process screentopng
[task 2021-09-04T08:29:05.492Z] 08:29:05 INFO - TEST-INFO | screentopng: exit 0
[task 2021-09-04T08:29:05.493Z] 08:29:05 INFO - Buffered messages logged at 08:28:59
[task 2021-09-04T08:29:05.493Z] 08:29:05 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | A valid string reason is expected
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | Reason cannot be empty
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - add_task | Entering test setupEnvironment
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - add_task | Leaving test setupEnvironment
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - add_task | Entering test testProtectionQueryWithCaptureDuringVideo
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - Buffered messages logged at 08:29:01
[task 2021-09-04T08:29:05.496Z] 08:29:05 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | Should be usable as capture hasn't started
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - Buffered messages logged at 08:29:02
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | Should be output-restricted as capture is happening
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - Buffered messages logged at 08:29:05
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | Should be usable as capture has stopped
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - add_task | Leaving test testProtectionQueryWithCaptureDuringVideo
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - add_task | Entering test testProtectionQueryWithCaptureStartingBeforeVideo
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - Buffered messages finished
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - TEST-UNEXPECTED-FAIL | dom/media/test/test_eme_protection_query.html | InvalidStateError: getDisplayMedia requires transient activation from a user gesture. - Should not throw any errors
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - testProtectionQueryWithCaptureStartingBeforeVideo@https://example.com/tests/dom/media/test/test_eme_protection_query.html:189:57
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - nextTick/<@https://example.com/tests/SimpleTest/SimpleTest.js:2095:34
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - GECKO(8271) | MEMORY STAT | vsize 130550759MB | residentFast 612MB
[task 2021-09-04T08:29:05.497Z] 08:29:05 INFO - TEST-OK | dom/media/test/test_eme_protection_query.html | took 6065ms
[task 2021-09-04T08:29:05.498Z] 08:29:05 INFO - TEST-START | dom/media/test/test_eme_pssh_in_moof.html
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 15•2 years ago
|
||
Update:
There have been 40 failures within the last 7 days:
• 2 failures on Linux 18.04 x64 WebRender debug
• 38 failures on Linux 18.04 x64 WebRender tsan opt
Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=360937278&repo=autoland&lineNumber=6269
[task 2021-12-12T05:17:27.433Z] 05:17:27 INFO - TEST-PASS | dom/media/test/test_eme_protection_query.html | Should be usable as capture has stopped
[task 2021-12-12T05:17:27.433Z] 05:17:27 INFO - add_task | Leaving test testProtectionQueryWithCaptureDuringVideo
[task 2021-12-12T05:17:27.434Z] 05:17:27 INFO - add_task | Entering test testProtectionQueryWithCaptureStartingBeforeVideo
[task 2021-12-12T05:17:27.434Z] 05:17:27 INFO - Buffered messages finished
[task 2021-12-12T05:17:27.436Z] 05:17:27 INFO - TEST-UNEXPECTED-FAIL | dom/media/test/test_eme_protection_query.html | InvalidStateError: getDisplayMedia requires transient activation from a user gesture. - Should not throw any errors
[task 2021-12-12T05:17:27.436Z] 05:17:27 INFO - testProtectionQueryWithCaptureStartingBeforeVideo@https://example.com/tests/dom/media/test/test_eme_protection_query.html:189:57
[task 2021-12-12T05:17:27.436Z] 05:17:27 INFO - add_task/nextTick/<@https://example.com/tests/SimpleTest/SimpleTest.js:2095:34
[task 2021-12-12T05:17:27.436Z] 05:17:27 INFO - GECKO(9972) | MEMORY STAT | vsize 130558979MB | residentFast 534MB
[task 2021-12-12T05:17:27.436Z] 05:17:27 INFO - TEST-OK | dom/media/test/test_eme_protection_query.html | took 5848ms
[task 2021-12-12T05:17:27.442Z] 05:17:27 INFO - TEST-START | dom/media/test/test_eme_pssh_in_moof.html
Comment 16•2 years ago
|
||
Hi Jim! As the owner of this component, could you help us assign it to someone?
Thank you.
Comment hidden (Intermittent Failures Robot) |
Comment 18•2 years ago
|
||
I would think we'd have a way to disable the user input requirement. Not sure what's wrong here but looks like a pretty bad test failure. Alastor, any chance you could take a look when you have some free time?
Assignee | ||
Comment 19•2 years ago
|
||
The gesture activation is valid for 5 seconds (with default pref value).
TSan and debug testing is taking 6 seconds to get to the second getDisplayMedia()
call.
I'll move the gesture activation to immediately before each getDisplayMedia()
.
Assignee | ||
Comment 20•2 years ago
|
||
DisplayMediaStreamConstraints.video defaults to true.
https://searchfox.org/mozilla-central/rev/667224045f6e624ac4e730171c75c21945f1b336/dom/webidl/MediaStream.webidl#27
Assignee | ||
Comment 21•2 years ago
|
||
"media.navigator.streams.fake" has no effect on getDisplayMedia() because it
affects only cameras and microphones.
https://searchfox.org/mozilla-central/rev/667224045f6e624ac4e730171c75c21945f1b336/dom/media/MediaManager.cpp#2672-2683
Depends on D133988
Comment 22•2 years ago
|
||
Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d3f86b9382e2 start gesture activation immediately before getDisplayMedia() r=bryce https://hg.mozilla.org/integration/autoland/rev/34fd68a9e30d remove unused "media.navigator.streams.fake" pref r=bryce
Comment 23•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d3f86b9382e2
https://hg.mozilla.org/mozilla-central/rev/34fd68a9e30d
Comment hidden (Intermittent Failures Robot) |
Description
•