Open Bug 1786008 Opened 2 years ago Updated 4 months ago

Drop MozXULElement.entities as unused

Categories

(Toolkit :: UI Widgets, task)

task

Tracking

()

People

(Reporter: eemeli, Unassigned)

References

(Blocks 1 open bug)

Details

After the linked bugs are resolved, no users in mozilla-central are left for MozXULElement.entities, which is used internally by get MozXULElement.fragment to include DTD entities when parsing the custom element's markup.

One user in comm-central does remain: https://searchfox.org/comm-central/source/calendar/base/content/widgets/calendar-item-summary.js

Magnus, do you have thoughts on this? This, the linked bugs and bug 1784882 are also the last m-c users of the second argument of MozXULElement.parseXULToFragment(str, entities), which has rather more c-c users:

  • calendar/base/content/calendar-menus.js
  • calendar/base/content/calendar-task-tree.js
  • calendar/base/content/dialogs/calendar-invitations-dialog.js
  • calendar/base/content/widgets/calendar-alarm-widget.js
  • calendar/base/content/widgets/calendar-item-summary.js
  • calendar/base/content/widgets/calendar-minimonth.js
  • chat/content/chat-account-richlistitem.js
  • mail/base/content/widgets/mailWidgets.js
  • mail/base/content/widgets/tabmail-tab.js
  • mail/components/im/content/chat-contact.js
  • mail/components/im/content/chat-imconv.js
  • mailnews/search/content/searchWidgets.js
Flags: needinfo?(mkmelin+mozilla)

I filed bug 1786233 for migrating those to Fluent. It's not a super small project though.

Flags: needinfo?(mkmelin+mozilla)
Blocks: 1873201
You need to log in before you can comment on or make changes to this bug.