Improve inter-document focus handling (#36649)

*Describe the changes that this pull request makes here. This will be
the commit message.*
rewritten the PR #28571
Implement
[Window#focus](https://html.spec.whatwg.org/multipage/#dom-window-focus),
[Window#blur](https://html.spec.whatwg.org/multipage/#dom-window-blur)
Testing: WPT
Fixes: #8981 #9421

---------

Signed-off-by: kongbai1996 <1782765876@qq.com>
Co-authored-by: yvt <i@yvt.jp>
This commit is contained in:
Fuguo 2025-04-30 12:37:53 +08:00 committed by GitHub
parent 27570987fd
commit 0c0ee04b8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1123 additions and 242 deletions

View file

@ -12744,7 +12744,7 @@
]
},
"FocusEvent.html": [
"9e002c1088de060b5e7f94c4152bf9fb779c04cc",
"7fb7aebf2afbac7f68a16308b9cc5d4588b7022f",
[
null,
{}
@ -13278,6 +13278,13 @@
{}
]
],
"focus_inter_documents.html": [
"5c759772367e844066d1df0081917c9e129d09ec",
[
null,
{}
]
],
"follow-hyperlink.html": [
"6ac9eaeb5814a663988ed8c664c113072e329dc5",
[