Closed Bug 1341540 Opened 7 years ago Closed 7 years ago

Label runnables in dom/html/HTMLMediaElement.cpp

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: jwwang, Assigned: bevis)

References

Details

Attachments

(1 file)

See https://wiki.mozilla.org/Quantum/DOM for the motivation.
Blocks: Labeling
This includes HTMLMediaElement::ProgressTimerCallback, which shows up quite often in telemetry.
Take this bug to follow up.
Assignee: nobody → btseng
1. Hold the DocGroup event target at HTMLMediaElement::mMainThreadEventTarget for runnable labeling.
2. Name runnables with Runnable's constructor which accepts a name string.
3. Replace NS_DispatchToMainThread()/OwnerDoc()->Dispatch() with mMainThreadEventTarget->Dispatch()
4. Replace AbstractThread::MainThread() with mAbstractMainThread.
5. Set mMainThreadEventTarget as the event target of the nsITimers with the assumption that all these timers are initiated on the main thread.
Attachment #8884194 - Flags: review?(jwwang)
Attachment #8884194 - Flags: review?(jwwang) → review+
Pushed by btseng@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b0ece63a9a9
Label runnables in dom/html/HTMLMediaElement.cpp. r=jwwang
https://hg.mozilla.org/mozilla-central/rev/6b0ece63a9a9
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: