Bug 73064
| Summary: | CodeGenerator*.pm should support overloaded Constructor attribute | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Cooney <dominicc> | 
| Component: | DOM | Assignee: | Kentaro Hara <haraken> | 
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sam, tommyw | 
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 100801, 103226 | ||
| Bug Blocks: | 65839 | ||
          Dominic Cooney
          
          
          
          
        
        
      Currently there is ad-hoc overloading of generated constructors using optional parameters. However Web IDL allows multiple Constructor specs that can vary in arity and argument types. For example the Intents constructor needs this because it is overloaded with zero, two or three arguments. See patches on bug 73051 for details of the Intent constructor.
    | Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |