Open Bug 1319292 Opened 8 years ago Updated 2 years ago

Enable dormant for dom/media/mediasource/test/test_Eviction_mp4.html

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

People

(Reporter: jwwang, Unassigned)

References

Details

Dormant should be invisible to the web. We will figure out how dormant causes test failures.
Assignee: nobody → jwwang
Blocks: 1286129
Depends on: 1318982
Priority: -- → P3
Got this error when dormant is enabled:
120 INFO TEST-UNEXPECTED-FAIL | dom/media/mediasource/test/test_Eviction_mp4.html | Shouldn't throw another time when data can be evicted

This is because:
DormantState::Enter -> MDSM::Reset -> MediaDecoderReaderWrapper::ResetDecode -> MediaFormatReader::ResetDecode -> DecoderData::ResetDemuxer -> MediaSourceTrackDemuxer::Reset -> TrackBuffersManager::Seek -> TrackBuffersManager::ResetEvictionIndex which changes mEvictionIndex.
Flags: needinfo?(jyavenard)
hmmm... interesting problem...

either we keep having dormant disable for this test.

Or we always allow an append to succeed after a seek, even if we think the buffer is full, eviction will still happen later in the cycle, just not synchronously.
Flags: needinfo?(jyavenard)
I guess the later has less impact on the user.
Hi Jya,
Please take this bug since this is your domain.
Assignee: jwwang → jyavenard
Blocks: 1325302
No longer blocks: 1286129
Assignee: jya-moz → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.