Bug 78657

Summary: V8 should implement the length property of constructors
Product: WebKit Reporter: Kentaro Hara <haraken>
Component: WebCore JavaScriptAssignee: Kentaro Hara <haraken>
Status: RESOLVED INVALID    
Severity: Normal CC: abarth, burg
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Kentaro Hara
Reported 2012-02-14 18:13:51 PST
The length property of a constructor should return the number of maximum arguments of the constructor. For example, SharedWorker.length should be 3. However, the current V8 bindings return 0 for the length of all constructors. The spec: http://dev.w3.org/2006/webapi/WebIDL/#es-interface-call, http://dev.w3.org/2006/webapi/WebIDL/#named-constructors
Attachments
Note You need to log in before you can comment on or make changes to this bug.