http://www.w3.org/TR/WebIDL/#idl-static-operations We need to add support for static to be able to correctly implement the URL object. Our implementation of the URL object is flawed. window.webkitURL returns an instance of DOMURL when it should return a URL constructor. http://www.w3.org/TR/FileAPI/#URL-object
It turns out that CodeGeneratorV8.pm already supports this using [ClassMethod] I plan to change the code generator to use "static" instead but a as a first step I am going to make CodeGeneratorJS support [ClassMethod] too.
Created attachment 117047 [details] Patch
Created attachment 117048 [details] Patch
webkit-patch land failed Commited as http://trac.webkit.org/changeset/101433