Closed Bug 1631581 Opened 1 year ago Closed 1 month ago

Rename legacy Web IDL extended attributes


(Core :: DOM: Bindings (WebIDL), task, P2)




89 Branch
Tracking Status
firefox89 --- fixed


(Reporter: d, Assigned: saschanaz)



(8 files)

In 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 .webidl files and bindings implementation to align with the spec-side renames. Doing so should not change the generated code at all.

Assignee: nobody → echen
Severity: -- → N/A
Priority: -- → P2

Not actively working on this.

Assignee: echen → nobody
Assignee: nobody → krosylight
Pushed by
Part 1: Rename NoInterfaceObject to LegacyNoInterfaceObject r=edgar
Part 2: Rename NamedConstructor to LegacyFactoryFunction r=edgar
Part 3: Rename LenientThis to LegacyLenientThis r=edgar
Part 4: Rename Unforgeable to LegacyUnforgeable r=edgar
Part 5: Rename TreatNullAs=EmptyString to LegacyNullToEmptyString r=edgar
Part 6: Rename LenientSetter to LegacyLenientSetter r=edgar
Part 7: Rename OverrideBuiltIns to LegacyOverrideBuiltIns r=edgar
Part 8: Rename TreatNonObjectAsNull to LegacyTreatNonObjectAsNull r=edgar
You need to log in before you can comment on or make changes to this bug.