[Bug 24292] Video and Audio constructors should accept File and Blob.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24292

Arun <arun@mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arun@mozilla.com

--- Comment #2 from Arun <arun@mozilla.com> ---
(In reply to oao.hikaru.oao from comment #0)
> Now, when use `File` to `Audio`, we should write like this,
> 
> var audio = new Audio(URL.createObjectURL(file));
> 
> but, that is redundancy, and `createObjectURL` need `revokeObjectURL` to
> release it's data.
> 
> Therefore, we should be writable like this,
> 
> var audio = new Audio(file);

FYI, URL.createFor does not need developers to couple a URL.revokeObjectURL
call with it.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 14 January 2014 18:28:24 UTC