Bug 210762
Summary: | Rename legacy Web IDL extended attributes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Domenic Denicola <d> |
Component: | Bindings | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ashvayka, cdumez |
Priority: | P2 | ||
Version: | Safari 13 | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Domenic Denicola
In https://github.com/heycam/webidl/pull/870 we renamed many legacy Web IDL extended attributes to make their usage more clear:
* [NamedConstructor] -> [LegacyFactoryFunction]
* [LenientSetter] -> [LegacyLenientSetter]
* [LenientThis] -> [LegacyLenientThis]
* [NoInterfaceObject] -> [LegacyNoInterfaceObject]
* [TreatNullAs=EmptyString] -> [LegacyNullToEmptyString]
* [OverrideBuiltins] -> [LegacyOverrideBuiltins]
* [TreatNonObjectAsNull] -> [LegacyTreatNonObjectAsNull]
* [Unforgeable] -> [LegacyUnforgeable]
This bug is a FYI in case you want to update your .idl files and bindings implementation to align with the spec-side renames. Doing so should not change the generated code at all.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Shvayka
(In reply to Domenic Denicola from comment #0)
> In https://github.com/heycam/webidl/pull/870 we renamed many legacy Web IDL
> extended attributes to make their usage more clear:
r266662 implemented the rename of all mentioned extended attributes.
*** This bug has been marked as a duplicate of bug 216194 ***