Closed
Bug 950310
Opened 11 years ago
Closed 11 years ago
MediaRecorder should probably BindToOwner itself
Categories
(Core :: Audio/Video: Recording, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bzbarsky, Assigned: rlin)
Details
It looks like nsDOMEventTargetHelper subclasses that are bound to a window should tell the superclass that via BindToOwner. MediaRecorder doesn't do that. Olli, how serious a problem is this?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → rlin
Comment 2•11 years ago
|
||
Not binding to a window prevents doing certain cycle collection optimizations.
Assignee | ||
Comment 3•11 years ago
|
||
Sorry I don't get it. This statement could be run when JS start to new a mediarecorder object. http://dxr.mozilla.org/mozilla-central/source/content/media/MediaRecorder.cpp#361 BindToOwner(aOwnerWindow);
Updated•11 years ago
|
Blocks: MediaRecording
Reporter | ||
Comment 4•11 years ago
|
||
Hmm. I have no idea how I missed that call. I agree that it's right there!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•11 years ago
|
No longer blocks: MediaRecording
Updated•10 years ago
|
Component: Video/Audio → Video/Audio: Recording
You need to log in
before you can comment on or make changes to this bug.
Description
•