Closed Bug 1976609 Opened 1 year ago Closed 1 year ago

Make popupshowing event hold the event that triggered it

Categories

(Core :: XUL, task)

task

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: daisuke, Assigned: daisuke)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

We sometimes wanted to know the event that triggered the popupshowing event.
We have encountered the same situation again.
After discussing with :masayuki, we will support a triggered event type field in popupshowing event.
https://phabricator.services.mozilla.com/D255955#inline-1409421

Popupshowing is a XUL feature.

Component: DOM: Events → XUL

Oh, thanks!

Attachment #9499966 - Attachment description: WIP: Bug 1976609: popupshowing event holds trigger event type → Bug 1976609: popupshowing event holds trigger event type
Attachment #9499966 - Attachment description: Bug 1976609: popupshowing event holds trigger event type → Bug 1976609: popupshowing event holds an event that triggered it

I'm sorry. Event type was not enough for our purpose, and we needed to see the event target.
Thus, as same to XULCommandEvent.sourceEvent, I want to make popupshowing event needs to hold an event that triggered it.

Summary: Make popupshowing event hold the event type triggered → Make popupshowing event hold the event that triggered it
Whiteboard: [sng]
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: