Port bug 1479538 to thunderbird - [Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)]
Categories
(Thunderbird :: General, task, P1)
Tracking
(thunderbird68 fixed, thunderbird69 fixed)
People
(Reporter: mkmelin, Assigned: mkmelin)
Details
Attachments
(2 files, 1 obsolete file)
12.08 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
17.85 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1479538 +++
Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Comment on attachment 9066349 [details] [diff] [review] bug1553077_createElementNS_xul.patch Looks OK.
Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Comment on attachment 9066349 [details] [diff] [review] bug1553077_createElementNS_xul.patch I think we want to backport as much of the de-XBL stuff as possible/reasonable.
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/55a4d4b9df15
Port [Bug 1479538 - Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)]. r=jorgk
Updated•5 years ago
|
What about e.g. https://searchfox.org/comm-central/source/common/bindings/toolbar.xml#70 ?
Comment 6•5 years ago
|
||
According to the commit message, the second variant was only run on JS files but not XML files.
Updated•5 years ago
|
Comment 7•5 years ago
•
|
||
There is one more here:
https://searchfox.org/comm-central/rev/3a823d0c0fca436b989c1bef70563741bcbb7228/common/bindings/toolbar.xml#308
Maybe the file is on the de-XBL hit list, so there's not point to change it?
I'm not sure, but there are also XUL_NS occurrences:
EDITED search:
https://searchfox.org/comm-central/search?q=createElementNS(XUL_NS&case=false®exp=false&path=
Yes, I also think those XUL_NS cases should be replaced as they seem to be the same as what is done here. Even comment 0 mentions XUL_NS but in reality only XULNS was replaced by the script.
Assignee | ||
Comment 10•5 years ago
|
||
Indeed, there was some cleanup missing
Comment 11•5 years ago
•
|
||
Comment on attachment 9066614 [details] [diff] [review] bug1553077_createElementNS_xul_part2.patch Thanks, but you still missed a few multi-line ones in base/content/folderDisplay.js and base/content/tabmail.xml. EDIT: More precisely, one each in those two files.
Comment 12•5 years ago
•
|
||
I had the files open, so I fixed the two remaining ones.
EDIT: https://bugzilla.mozilla.org/attachment.cgi?oldid=9066614&action=interdiff&newid=9066629&headers=1
Comment 13•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/f6a39b92a233
Part 2: more createElementNS(XUL_NS,...) -> createXULElement(...) conversions. r=jorgk DONTBUILD
Comment 14•5 years ago
|
||
TB 68 beta:
https://hg.mozilla.org/releases/comm-beta/rev/86f96321816478eea37b56c3359f50a27cf7e1a2
https://hg.mozilla.org/releases/comm-beta/rev/7eeeb32bfd07ee54fc5ffc6285fba51aaa3a1888
Description
•