Closed Bug 1631581 Opened 5 years ago Closed 4 years ago

Rename legacy Web IDL extended attributes

Categories

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

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: d, Assigned: saschanaz)

Details

Attachments

(8 files)

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 .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 krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/66755e4bf4d9 Part 1: Rename NoInterfaceObject to LegacyNoInterfaceObject r=edgar https://hg.mozilla.org/integration/autoland/rev/a687ca563fcc Part 2: Rename NamedConstructor to LegacyFactoryFunction r=edgar https://hg.mozilla.org/integration/autoland/rev/630564ad6440 Part 3: Rename LenientThis to LegacyLenientThis r=edgar https://hg.mozilla.org/integration/autoland/rev/87f9f0b12dba Part 4: Rename Unforgeable to LegacyUnforgeable r=edgar https://hg.mozilla.org/integration/autoland/rev/1c0d8b69d139 Part 5: Rename TreatNullAs=EmptyString to LegacyNullToEmptyString r=edgar https://hg.mozilla.org/integration/autoland/rev/832b8a9fdc78 Part 6: Rename LenientSetter to LegacyLenientSetter r=edgar https://hg.mozilla.org/integration/autoland/rev/735010ff3c3f Part 7: Rename OverrideBuiltIns to LegacyOverrideBuiltIns r=edgar https://hg.mozilla.org/integration/autoland/rev/69df44c2f234 Part 8: Rename TreatNonObjectAsNull to LegacyTreatNonObjectAsNull r=edgar
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: