Bug 210762 - Rename legacy Web IDL extended attributes
Summary: Rename legacy Web IDL extended attributes
Status: RESOLVED DUPLICATE of bug 216194
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: Safari 13
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-20 13:00 PDT by Domenic Denicola
Modified: 2020-11-12 09:52 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenic Denicola 2020-04-20 13:00:31 PDT
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.
Comment 1 Alexey Shvayka 2020-11-12 09:52:09 PST
(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 ***