convert remaining <textbox> usages in javascript to using html:input
Categories
(Thunderbird :: General, task, P1)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: aleca)
References
Details
Attachments
(1 file, 1 obsolete file)
|
23.86 KB,
patch
|
aleca
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1562161 +++
Some related to chat:
There is at least this: https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/im/content/joinchat.js#73 and whatever related to that. Should also set required="required" for the input where needed.
Needs checking, probably only was needed for xbl: https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/im/content/chat-contact.js#170
https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/preferences/chat.js#98 "true" -> "disabled", or better just use toggleAttribute and get rid of the if-else
Other:
- https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/preferences/chat.js#98
- https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/customizableui/PanelMultiView.jsm#1508
- https://searchfox.org/comm-central/rev/c1eb386b9615967e5d316bd24ae71db507901e58/mail/components/preferences/connection.js#392
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #1)
And calendar?
https://searchfox.org/comm-central/search?q=%3Ctextbox&case=false®exp=false&path=calendar
I'll take care of the calendar stuff in a dedicated bug, thanks for the heads up.
| Assignee | ||
Comment 3•6 years ago
|
||
Can I include also these?
https://searchfox.org/comm-central/search?q=%22textbox%22&case=false®exp=false&path=mail
| Reporter | ||
Comment 4•6 years ago
|
||
Please do.
inputField also doesn't exist anymore, so check these: https://searchfox.org/comm-central/search?q=%5C.inputField&case=false®exp=true&path=%5Email (textbox.inputField is just the textbox, or rather the html:input now)
| Assignee | ||
Comment 5•6 years ago
|
||
This patch should include everything, except the qfbTextbox.inputField which is correct because it's a field inside the search-textbox custom element.
Here's the try run to see how many million tests I broke: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=d84cd53d3c98e8e909470d1d39e1156148e2f77c
| Assignee | ||
Comment 6•6 years ago
|
||
Wow, all the tests are green, sweet!
| Reporter | ||
Comment 7•6 years ago
•
|
||
| Assignee | ||
Comment 8•6 years ago
|
||
I updated the patch, but I can't test it as I'm getting a segfault since this morning.
I'm asking a quick feedback review from Magnus just to be sure everything works and I didn't introduce any bug.
| Assignee | ||
Comment 9•6 years ago
|
||
| Assignee | ||
Comment 10•6 years ago
|
||
A couple of failures in Z4 and Z3 which I can't reproduce locally.
Any insight on this, Jorg?
| Assignee | ||
Comment 12•6 years ago
|
||
I did another try-run here: https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=8a7efd5a0e1ee9317470f82f25ef1b09cadbb38d
The Z3 and Z4 are green, but now X3 are failing, but since other patches are part of the try run I don't think it's my fault...hopefully.
Maybe this can be checked in? Is the last bit to complete the textbox removal.
Comment 13•6 years ago
|
||
X3, see bug 1587199.
Comment 14•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0daedafc7c20
convert remaining <textbox> usages in JavaScript to using html:input. r=mkmelin
Updated•6 years ago
|
Description
•