Closed Bug 1631439 Opened 5 years ago Closed 5 years ago

Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)

Categories

(Firefox :: General, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

(Reporter: ntim, Assigned: aarushivij)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1479538 +++

As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1479050#c3 and https://bugzilla.mozilla.org/show_bug.cgi?id=1479050#c4, we are planning to add a new chrome-only API called document.createXULElement(el) as sugar around document.createElementNS(XUL_NS, el).

Once we land that, we can migrated existing callers like

https://searchfox.org/mozilla-central/search?q=createElementNS(XUL_NS%2C&case=false&regexp=false&path=

document.createElementNS(XUL_NS, needs to be replaced with document.createXULElement( in the non-test occurrences only. And the associated XUL_NS definition should be removed (if unused).

Keywords: good-first-bug

Hello, Can I take this bug?
Thanks :)
Aarushi

Flags: needinfo?(ntim.bugs)

Please do :)

Flags: needinfo?(ntim.bugs)
Assignee: nobody → aarushivij
Status: NEW → ASSIGNED
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d363e96d98f5 Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...) r=ntim
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: