Closed
Bug 1897477
Opened 1 year ago
Closed 1 year ago
Remove inline event handlers from <command>
Categories
(Firefox :: General, task)
Firefox
General
Tracking
()
RESOLVED
FIXED
128 Branch
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: tschuster, Assigned: tschuster)
References
Details
Attachments
(3 files, 1 obsolete file)
No description provided.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Attachment #9402488 -
Attachment description: WIP: Bug 1897477 - Remove inline event handlers from <command> → Bug 1897477 - Remove inline event handlers from <command> in mainCommandSet. r?gijs
| Assignee | ||
Comment 2•1 year ago
|
||
Depends on D210815
| Assignee | ||
Comment 3•1 year ago
|
||
Depends on D211191
| Assignee | ||
Comment 4•1 year ago
|
||
Some uses of observes especially observes="*" or attribute="oncommand"
were relying on XULBroadcastManager::SynchronizeBroadcastListener
actually copying the inline event handler oncommand from their
corresponding command element.
I manually search for this using:
https://searchfox.org/mozilla-central/search?q=observes%5Cs*%3D%5Cs*%22&path=&case=false®exp=true
and
https://searchfox.org/mozilla-central/search?q=%3C%5Cs*observes&path=&case=false®exp=true
Depends on D211721
Updated•1 year ago
|
Attachment #9404093 -
Attachment is obsolete: true
Pushed by tschuster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20ef2c07be32
Remove inline event handlers from <command> in mainCommandSet. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/a63e0d13ee34
Remove inline event handlers from <command> for downloads. r=Gijs
https://hg.mozilla.org/integration/autoland/rev/ab21bb3052dd
Update test that uses oncommand for eval. r=Gijs
Comment 6•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/20ef2c07be32
https://hg.mozilla.org/mozilla-central/rev/a63e0d13ee34
https://hg.mozilla.org/mozilla-central/rev/ab21bb3052dd
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•