зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1666843 - Clear mFocusedWindow while burring; r=hsivonen
The expectation is that the blurring would eventually result in an IPC message doing this anyway, but this doesn't happen if the focus is in OOP iframe which won't try to bounce an IPC message to its parent frame. Differential Revision: https://phabricator.services.mozilla.com/D93210
This commit is contained in:
Родитель
1ee9ae7416
Коммит
6ea02af2f9
|
@ -2092,6 +2092,10 @@ bool nsFocusManager::Blur(BrowsingContext* aBrowsingContextToClear,
|
|||
ancestorWindowToFocus->SetFocusedElement(nullptr, 0, true);
|
||||
ancestorWindowToFocusHandled = true;
|
||||
}
|
||||
// The expectation is that the blurring would eventually result in an IPC
|
||||
// message doing this anyway, but this doesn't happen if the focus is in OOP
|
||||
// iframe which won't try to bounce an IPC message to its parent frame.
|
||||
SetFocusedWindowInternal(nullptr);
|
||||
contentChild->SendBlurToParent(
|
||||
focusedBrowsingContext, aBrowsingContextToClear,
|
||||
aAncestorBrowsingContextToFocus, aIsLeavingDocument, aAdjustWidget,
|
||||
|
|
|
@ -77,7 +77,6 @@ support-files =
|
|||
support-files =
|
||||
test_mixed_content_image.html
|
||||
[browser_pointerlock_warning.js]
|
||||
skip-if = fission && (os == 'linux') && debug # Bug 1666843
|
||||
[browser_sessionStorage_navigation.js]
|
||||
support-files =
|
||||
file_empty.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче