Closed
Bug 1143971
Opened 10 years ago
Closed 10 years ago
Failing Test endOfStream completes previous seek to truncated duration
Categories
(Core :: Audio/Video, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla39
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
3.49 KB,
patch
|
mattwoodrow
:
review+
Sylvestre
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
1.51 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
Will fail the webref media-source/mediasource-duration.html with:
TIMEOUT expected FAIL Test endOfStream completes previous seek to truncated duration
This bug tracks the cause of it.
Assignee | ||
Comment 1•10 years ago
|
||
update test. We don't pass on linux and webm as we fail an assert to calculate the duration of the video (6.042 vs 6.045)
Attachment #8579130 -
Flags: review?(karlt)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jyavenard
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8579130 [details] [diff] [review]
Part2. Update webref tests
wrong bug #
Attachment #8579130 -
Attachment is obsolete: true
Attachment #8579130 -
Flags: review?(karlt)
Assignee | ||
Comment 3•10 years ago
|
||
Comes out of waiting mode when mediasource is ended. Behaviour was racey. If we decoded all content before EndOfStream() was called we would be stuck in waiting mode forever.
Attachment #8580483 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 4•10 years ago
|
||
When seeking to the end of the mediasource duration, we would have stalled as the mPendingSeekTime would never be in the buffered range. So instead, we seek to the last of the audio sample and the last video sample. The MDSM seek logic will hit an end of stream and
automatically complete the seek as required.
Attachment #8580488 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 5•10 years ago
|
||
with bug 1144617 applied, we now pass the test reliably.
Attachment #8580489 -
Flags: review?(karlt)
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8580488 [details] [diff] [review]
Part2. Allow seek to end of mediasource.duration
belonged in bug 1144617
Attachment #8580488 -
Attachment is obsolete: true
Attachment #8580488 -
Flags: review?(matt.woodrow)
Updated•10 years ago
|
Attachment #8580483 -
Flags: review?(matt.woodrow) → review+
Updated•10 years ago
|
Attachment #8580489 -
Flags: review?(karlt) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
bad rebase before push :(
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/ab5aa8850e25
Updated•10 years ago
|
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/2ee1fb53c59c
https://hg.mozilla.org/mozilla-central/rev/1fadcc2735db
https://hg.mozilla.org/mozilla-central/rev/ab5aa8850e25
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Assignee | ||
Comment 10•10 years ago
|
||
This prevent stalls. And remove the intermittent failure that cause tests to be disabled
Flags: needinfo?(giles)
Comment 11•10 years ago
|
||
Comment on attachment 8580483 [details] [diff] [review]
Part1. Come out of waiting mode when mediasource is ended
Approval Request Comment
[Feature/regressing bug #]: MSE
[User impact if declined]: Spec compliance, less consistent testing.
[Describe test coverage new/current, TreeHerder]: Landed on m-c; web platform test.
[Risks and why]: Change is specific to the MSE code. Not trivial, but looks reasonable to me.
[String/UUID change made/needed]: None.
Flags: needinfo?(giles)
Attachment #8580483 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
status-firefox37:
--- → wontfix
status-firefox38:
--- → affected
Updated•10 years ago
|
Attachment #8580483 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 12•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/c29c4393b55e
https://hg.mozilla.org/releases/mozilla-aurora/rev/52d27124efe7
Bustage fixed rolled into the first commit.
Comment 13•10 years ago
|
||
Re-disabled on Windows because it still permafails.
https://hg.mozilla.org/releases/mozilla-aurora/rev/0b7762fb7639
Assignee | ||
Comment 14•10 years ago
|
||
the test re-enabled will only pass with bug 1143586 and bug 1142433
Flags: needinfo?(giles)
Updated•10 years ago
|
Flags: needinfo?(giles)
You need to log in
before you can comment on or make changes to this bug.
Description
•