Bug 177701 - InternalSettingsGenerated.idl should use attributes not operations
Summary: InternalSettingsGenerated.idl should use attributes not operations
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 21:00 PDT by Sam Weinig
Modified: 2017-09-29 21:00 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2017-09-29 21:00:00 PDT
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.
Comment 1 Sam Weinig 2017-09-29 21:00:42 PDT
Changing to attributes is easy. Updating all the existing tests will be annoying.