Closed Bug 1867786 Opened 2 years ago Closed 2 years ago

Only dispatch invoke events for recognised actions

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
128 Branch
Tracking Status
firefox128 --- fixed

People

(Reporter: lwarlow, Assigned: keithamus)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

In https://github.com/openui/open-ui/issues/900#issuecomment-1834448462 it was decided that Invoke Events should only be fired for actions that have a hyphen (custom actions) OR actions that are recognised and supported by the browser.

The implementation needs changing to match this requirement.

Blocks: 1856430
Assignee: nobody → mozilla
Status: NEW → ASSIGNED

Only "custom" invoke actions (those with a dash) or well-defined built-in
actions should dispatch an event.

Comment on attachment 9394092 [details]
Bug 1867786 - make InvokeAction an enum, disallow invalid defaults r?#dom-core

Revision D206182 was moved to bug 1888774. Setting attachment 9394092 [details] to obsolete.

Attachment #9394092 - Attachment is obsolete: true
Attachment #9401975 - Attachment is obsolete: true
Pushed by mozilla@keithcirkel.co.uk: https://hg.mozilla.org/integration/autoland/rev/3ffa6d456653 Only dispatch for valid invoke actions r=dom-core,sefeng
Status: ASSIGNED → RESOLVED
Closed: 2 years 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: