Closed Bug 1452741 Opened 6 years ago Closed 6 years ago

Stop using the no-arg DOMEventTargetHelper constructor from MediaTrack

Categories

(Core :: Audio/Video: Playback, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

      No description provided.
MozReview-Commit-ID: AbE3XJdj4KO
Attachment #8966465 - Flags: review?(bkelly)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment on attachment 8966465 [details] [diff] [review]
Stop using the no-arg DOMEventTargetHelper constructor in MediaTrack

Review of attachment 8966465 [details] [diff] [review]:
-----------------------------------------------------------------

This looks reasonable.  My only thought is if it would be nicer to pass around nsIGlobalObject instead of nsPIDOMWindowInner.  It would be nice to move away from window-specific code where possible.  We can burn that bridge in the future, though.
Attachment #8966465 - Flags: review?(bkelly) → review+
I can just switch all this stuff over to GetOwnerGlobal().  It's simple to do.  I'll do it before landing and make sure it compiles.
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a0710c21795a
Stop using the no-arg DOMEventTargetHelper constructor in MediaTrack.  r=bkelly
Rank: 10
Component: Audio/Video → Audio/Video: Playback
Priority: -- → P2
https://hg.mozilla.org/mozilla-central/rev/a0710c21795a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Blocks: 1452705
No longer blocks: 1450167
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: