Bug 210762

Summary: Rename legacy Web IDL extended attributes
Product: WebKit Reporter: Domenic Denicola <d>
Component: BindingsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ashvayka, cdumez
Priority: P2    
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   

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 ***