mirror of
https://github.com/servo/servo.git
synced 2025-09-04 20:18:21 +01:00
webdriver: Focus when "switch to window" (#38889)
Add logic that was accidentally removed in #38745. Otherwise it is very weird when using webdriver as a human, as we still stays on the original tab. Testing: ~this should not affect any test. Even if the tab is not "visible" previously, all programmatic interaction works fine.~ Stably pass `test_history_pushstate` in `back.py` and `forward.py`. --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
parent
71db9494bb
commit
0b5bcfbf17
3 changed files with 7 additions and 7 deletions
|
@ -7,6 +7,3 @@
|
|||
|
||||
[test_seen_nodes[https coop\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_history_pushstate]
|
||||
expected: FAIL
|
||||
|
|
|
@ -13,6 +13,3 @@
|
|||
|
||||
[test_removed_iframe]
|
||||
expected: FAIL
|
||||
|
||||
[test_history_pushstate]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue