Bug 177701
| Summary: | InternalSettingsGenerated.idl should use attributes not operations | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Bindings | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
Currently, InternalSettingsGenerated.idl has an operation for each generated setting of the form set{SettingName}(value). This is awkward and provides no means to access the initial value via a getter.
A more natural way to express this would be with an IDL attribute instead.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Weinig
Changing to attributes is easy. Updating all the existing tests will be annoying.