Verify webview still open in webdriver switch frame command (#37411)

SwitchToParentFrame webdriver commands do not handle the case where the
current top-level browsing context has been closed.

Tests:

`./tests/wpt/tests/webdriver/tests/classic/switch_to_parent_frame/switch.py`
`./tests/wpt/tests/webdriver/tests/classic/switch_to_frame/switch.py`

Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
batu_hoang 2025-06-13 16:32:59 +08:00 committed by GitHub
parent 1bbdcb1911
commit 4c598037a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 12 deletions

View file

@ -1,15 +1,6 @@
[switch.py]
[test_no_top_browsing_context[None\]]
expected: FAIL
[test_no_top_browsing_context[0\]]
expected: FAIL
[test_no_browsing_context[0\]]
expected: FAIL
[test_no_browsing_context[id2\]]
expected: FAIL
[test_no_browsing_context_when_already_top_level]
expected: FAIL

View file

@ -1,3 +0,0 @@
[switch.py]
[test_switch_from_top_level]
expected: FAIL