Thunderbird - Remove unnecessary type attributes (i.e. [type="application/javascript"])
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: mkmelin, Assigned: mkmelin)
References
Details
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1546501 +++
Remove unnecessary type=application/javascript, per bug 1546501, which has a script which needs some adjustment: https://bugzilla.mozilla.org/attachment.cgi?id=9060222
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
[no manual corrections needed from what the script produced]
This bitrots almost instantly.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
This bitrots almost instantly.
Then you should land it with PLR or wait until M-C remove the ability to have the attribute and then land it as bustage-fix ;-)
Assignee | ||
Comment 7•6 years ago
|
||
If there's much bitrot I'll just rerun the script and check there wasn't any odd additional changes.
Comment 8•6 years ago
|
||
Up to you. Or you could split the patch in half. As I said, it may become a bustage-fix necessity, but I don't know when M-C will make it necessary.
Assignee | ||
Comment 9•6 years ago
|
||
The background is that XUL documents (like always was the case for HTML) now no longer require setting a type on scripts, so it's just removing unnecessary defaults. Specifying a type will still work forever I assume.
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/340b555c26cf
Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags. r=Paenglab,philipp DONTBUILD
Description
•