Bug 78657
| Summary: | V8 should implement the length property of constructors | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kentaro Hara <haraken> |
| Component: | WebCore JavaScript | Assignee: | Kentaro Hara <haraken> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | abarth, burg |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Kentaro Hara
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |