Ensure ancestors' focus are updated correctly when the focus moves from the nested iframe to a non-focusable top-level document element
In Gecko, the correct way of updating ancestors' focus is to adjust
the focus of the child document first, and then propagate that
to ancestors' chain.
This patch fixes a case where the focus of the ancestors are not
updated/cleared correctly when the focus moves from the nested
iframe to a non-focusable element in the top-level document.
Differential Revision: https://phabricator.services.mozilla.com/D218224
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1901689
gecko-commit: d2dd5f5adf2abe67ed2f9615b8bdcaf5d47827d6
gecko-reviewers: smaug