Disallow more than one argument to ChromeUtils.import via ESLint
Categories
(Core :: XPConnect, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(8 files, 1 obsolete file)
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
We are almost ready to remove the target (second) argument from ChromeUtils.import which we are planning on doing in bug 1758481.
However, first step is to get the ESLint rule setup to disallow more than one argument and have that passing across the tree. This bug will do that.
There's a few extra cases which aren't covered by ESLint, so they'll be handled in bug 1758481.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D144556
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D144557
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D144558
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D144559
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D144560
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D144561
Assignee | ||
Comment 9•3 years ago
|
||
Depends on D144562
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
Comment on attachment 9273645 [details]
Port Bug 1766238 to Thunderbird - stop passing more than one argument to ChromeUtils.import. r=freaktechnik
Revision D144567 was moved to bug 1766247. Setting attachment 9273645 [details] to obsolete.
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4daafbfa93e
https://hg.mozilla.org/mozilla-central/rev/bf39a6ae228c
https://hg.mozilla.org/mozilla-central/rev/742461a448fc
https://hg.mozilla.org/mozilla-central/rev/cb816df074d5
https://hg.mozilla.org/mozilla-central/rev/e162c608408d
https://hg.mozilla.org/mozilla-central/rev/4fdd63415c26
https://hg.mozilla.org/mozilla-central/rev/c266f15c6077
https://hg.mozilla.org/mozilla-central/rev/d80fb2266253
Description
•