[Bug 21227] Remove static keyword from MediaSource.isTypeSupported()

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

--- Comment #1 from Adrian Bateman [MSFT] <adrianba@microsoft.com> ---
static is a relatively new addition to WebIDL and the platform to avoid
singleton objects that were used in the past. It has been used in some newer
APIs such as File API [1] and IndexedDB [2]. Adding methods to the prototype is
common in JavaScript (e.g. the methods on Array).

Since it has already been added to the platform it seems appropriate to use it
for its intended purpose. If we don't use new features because they are new
they will never become common.

[1] http://www.w3.org/TR/FileAPI/#creating-revoking
[2] http://www.w3.org/TR/IndexedDB/

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

Received on Friday, 8 March 2013 18:20:03 UTC