RESOLVED FIXED Bug 72998
WebIDL: Add support for static for JSC and V8
https://bugs.webkit.org/show_bug.cgi?id=72998
Summary WebIDL: Add support for static for JSC and V8
Erik Arvidsson
Reported 2011-11-22 18:19:38 PST
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
Attachments
Patch (19.19 KB, patch)
2011-11-29 14:38 PST, Erik Arvidsson
no flags
Patch (19.21 KB, patch)
2011-11-29 14:48 PST, Erik Arvidsson
abarth: review+
Erik Arvidsson
Comment 1 2011-11-28 12:02:24 PST
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.
Erik Arvidsson
Comment 2 2011-11-29 14:38:26 PST
Erik Arvidsson
Comment 3 2011-11-29 14:48:01 PST
Erik Arvidsson
Comment 4 2011-11-29 16:40:41 PST
webkit-patch land failed Commited as http://trac.webkit.org/changeset/101433
Note You need to log in before you can comment on or make changes to this bug.