On Mon, Jul 20, 2015 at 6:33 PM, Jonas Sicking <jo...@sicking.cc> wrote:
> Good point. We also need to call > URL.revokeObjectURL(this.mOldObjectURL); in the .src setter and in the > dtor. > OK, but we still leak if someone saves a reference to the HTMLMediaElement as an expando property of the Blob/File. It would be best to store a reference to the Blob or File in the HTMLMediaElement and let the cycle collector do the work --- like we currently do for MediaStream srcObjects. Rob -- lbir ye,ea yer.tnietoehr rdn rdsme,anea lurpr edna e hnysnenh hhe uresyf toD selthor stor edna siewaoeodm or v sstvr esBa kbvted,t rdsme,aoreseoouoto o l euetiuruewFa kbn e hnystoivateweh uresyf tulsa rehr rdm or rnea lurpr .a war hsrer holsa rodvted,t nenh hneireseoouot.tniesiewaoeivatewt sstvr esn _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform