Repository navigation
Improve inter-document focus handling - #36649
Conversation
|
@kongbai1996 Do you mind preserving the original PR title and message as well as adding @yvt as a co-author of this change? Thank you. |
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#52124) with upstreamable changes. |
|
🤖 This change no longer contains upstreamable changes to WPT; closed existing upstream pull request (web-platform-tests/wpt#52124). |
7dc7b39 to
73fc849
Compare
I added it. Please review it. |
The original PR title is "Improve inter-document focus handling" |
fixed, please review. |
ff5a71c to
2eda894
Compare
|
@mrobinson @jdm Please review. Thank you very much. |
Improve inter-document focus handling
feat(script): add Window#{focus, blur}
refactor(script): represent a focus transaction's existence by Option
feat: track the system focus states of top-level browsing contexts
feat(script): consider system focus when determining a focus chain
feat(script): consider system focus in Document::HasFocus
test: add /mozilla/tests/mozilla/focus_inter_documents.html
...
Co-authored-by: yvt <[email protected]>
Signed-off-by: kongbai1996 <[email protected]>
Signed-off-by: yvt <[email protected]>
Signed-off-by: kongbai1996 <[email protected]>
…onously. As a result, some WPT test cases fail. Signed-off-by: kongbai1996 <[email protected]>
Signed-off-by: kongbai1996 <[email protected]>
Signed-off-by: kongbai1996 <[email protected]>
Signed-off-by: kongbai1996 <[email protected]>
4f0c96f to
3ebd96f
Compare
Describe the changes that this pull request makes here. This will be the commit message.
rewritten the PR #28571
Implement Window#focus, Window#blur
Testing: WPT
Fixes: #8981 #9421