Closed Bug 1897477 Opened 5 months ago Closed 4 months ago

Remove inline event handlers from <command>

Categories

(Firefox :: General, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: tschuster, Assigned: tschuster)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files, 1 obsolete file)

No description provided.
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

Depends on D211191

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&regexp=true
and
https://searchfox.org/mozilla-central/search?q=%3C%5Cs*observes&path=&case=false&regexp=true

Depends on D211721

Attachment #9404093 - Attachment is obsolete: true
Blocks: 1899518
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
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: