Closed Bug 1345711 Opened 5 years ago Closed 5 years ago

Ensure MediaDecoderStateMachine::InitializationTask() is the first task to run on the task queue

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: jwwang, Assigned: jwwang)

References

Details

Attachments

(1 file)

Bug 1318226 fixes the order of regular tasks and reveals a bug in MDSM which makes a wrong assumption about the event order.

http://searchfox.org/mozilla-central/source/dom/media/MediaDecoderStateMachine.cpp#2813

InitializationTask() needs to be the 1st task to run on the task queue so MDMS can be properly initialized before all other tasks can run.
Assignee: nobody → jwwang
Blocks: 1318226
Priority: -- → P3
Depends on: 1345713
Comment on attachment 8845212 [details]
Bug 1345711 - Ensure MediaDecoderStateMachine::InitializationTask() is the first task to run on the task queue.

https://reviewboard.mozilla.org/r/118404/#review120428
Attachment #8845212 - Flags: review?(kaku) → review+
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a7f51c857549
Ensure MediaDecoderStateMachine::InitializationTask() is the first task to run on the task queue. r=kaku
https://hg.mozilla.org/mozilla-central/rev/a7f51c857549
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.