Closed
Bug 1081251
Opened 10 years ago
Closed 9 years ago
EME mochitests can pass even if the plugin crashes (e.g., ASAN)
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: jld, Assigned: jwwang)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
4.96 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
5.04 KB,
patch
|
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
It is possible for the mochitest content/media/test/test_encryptedMediaExtensions.html to pass even if the EME plugin container crashes while processing the test data. This is more of a problem on ASAN builds, because they disable the crash reporter, and the test harness doesn't know that it's possible for a crash to happen without a minidump (this is now bug 1081229), but it seems worthwhile to make the test stricter independently of that.
Comment 1•10 years ago
|
||
JW: Can you take this too? It follows on from bug 1082203. You'll need to detect crashes and fail the test in the test_eme* tests.
Assignee: nobody → jwwang
Assignee | ||
Comment 2•10 years ago
|
||
Btw, I can't find the file test_encryptedMediaExtensions.html anymore...
Comment 3•10 years ago
|
||
test_eme_playback.html is pretty much the same as test_encryptedMediaExtensions.html...
Comment 4•10 years ago
|
||
I think all we need to do here is go through the EME mochitests and ensure that every <video> or <audio> element using EME has an "error" event handler on it.
Summary: content/media/test/test_encryptedMediaExtensions.html can pass even if the plugin crashes (e.g., ASAN) → EME mochitests can pass even if the plugin crashes (e.g., ASAN)
Assignee | ||
Comment 5•10 years ago
|
||
We can have SetupEME() return a video element with 'error' handler registered by default so new test cases will not forget to register one.
Comment 6•9 years ago
|
||
(In reply to JW Wang [:jwwang] from comment #5) > We can have SetupEME() return a video element with 'error' handler > registered by default so new test cases will not forget to register one. Sounds good.
Assignee | ||
Comment 7•9 years ago
|
||
register error handlers for all media elements in EME mochitests.
Attachment #8546508 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8546508 -
Flags: review?(cpearce) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 8•9 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=0051ed934b53
Comment 9•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c645dd3b5468
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/c645dd3b5468
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Updated•9 years ago
|
Blocks: eme-platform-uplift
Comment 11•9 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/00ac75ab182f
status-firefox37:
--- → fixed
Comment 12•9 years ago
|
||
Patch for beta branch as part of EME platform uplift.
Comment 13•9 years ago
|
||
Comment on attachment 8572326 [details] [diff] [review] Beta patch Requesting retroactive approval for Beta landing as part of EME platform uplift.
Attachment #8572326 -
Flags: approval-mozilla-beta?
Updated•9 years ago
|
status-firefox38:
--- → fixed
Comment 14•9 years ago
|
||
Comment on attachment 8572326 [details] [diff] [review] Beta patch Previously approved as part of the EME platform landing on Beta.
Attachment #8572326 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in
before you can comment on or make changes to this bug.
Description
•