Open
Bug 1904278
Opened 5 months ago
Updated 5 months ago
Investigate whether it's intentional or a bug that `PopupBlocker::GetEventPopupControlState` does not handle `auxclick` if it's caused by a middle button
Categories
(Core :: DOM: Core & HTML, task)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: masayuki, Unassigned)
References
(Blocks 1 open bug)
Details
See here and here, auxclick
event is handled in the else if
case against aEvent->AsPointerEvent()->mButton == MouseButton::ePrimary || aEvent->AsPointerEvent()->mButton == MouseButton::eMiddle
. This looks really odd. Even if it's intentional, it should be explained with an inline comment.
Edgar, could you take a look when you have much time?
Flags: needinfo?(echen)
We should mostly get rid of PopupBlocker::GetEventPopupControlState and rely on user activation state.
Comment 2•5 months ago
•
|
||
Yes, I think that won't be a problem after bug 1896672 which fallback to check user activation when popup blocker state is openBlocked
(and we could get rid of popup blocker state then).
Flags: needinfo?(echen)
See Also: → 1896672
You need to log in
before you can comment on or make changes to this bug.
Description
•