WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
85068
[Gtk][DOM Bindings] Feature-protected properties are put under condition guards
https://bugs.webkit.org/show_bug.cgi?id=85068
Summary
[Gtk][DOM Bindings] Feature-protected properties are put under condition guards
Zan Dobersek
Reported
2012-04-27 08:10:37 PDT
When generating DOM bindings, if a property is feature-enabled, that property is generated with condition guards around it. This means that that property might not be present in a build that disables that feature. This leads to inconsistent ABI, which is unwanted. Instead of that, all the properties should be present, but when trying to get (or set if writable) the value of a feature-dependent property, a warning should be emitted if the feature was not enabled at compile time. Similarly, if the complete DOM object is feature-dependent, all the properties should still be present but getting or setting the value should throw a warning if that feature was not enabled at compile time.
Attachments
Patch
(23.83 KB, patch)
2012-04-27 09:13 PDT
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2012-04-27 09:13:20 PDT
Created
attachment 139215
[details]
Patch
Zan Dobersek
Comment 2
2012-04-27 09:34:42 PDT
Comment on
attachment 139215
[details]
Patch Clearing flags on attachment: 139215 Committed
r115442
: <
http://trac.webkit.org/changeset/115442
>
Zan Dobersek
Comment 3
2012-04-27 09:34:49 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug