Closed Bug 1294398 Opened 9 years ago Closed 9 years ago

HTMLMediaElement has no need to check readyState before calling MediaDecoder::GetBuffered

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

Attachments

(1 file)

We have: if (mMediaSource || (mDecoder && mReadyState > nsIDOMHTMLMediaElement::HAVE_NOTHING)) { The readyState test is redundant.
Attachment #8780043 - Flags: review?(jwwang) → review+
Assignee: nobody → jyavenard
Pushed by jyavenard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/039f759b2bc7 Always calculate seekable attribute value. r=jwwang
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Depends on: 1297880
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: