[WebDriver] Properly report error: "No such window" (#37385)

For WebDriver, return "No Such Window" properly according to spec.

Testing: `./mach test-wpt -r --log-raw "D:\servo test log\all.txt"
.\tests\wpt\tests\webdriver\tests\classic\ --product servodriver`

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
Euclid Ye 2025-06-11 03:43:03 +08:00 committed by GitHub
parent 63e27bcab9
commit 56bbc49f21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 108 additions and 43 deletions

View file

@ -1,3 +0,0 @@
[get.py]
[test_no_top_browsing_context]
expected: FAIL

View file

@ -1,6 +1,3 @@
[get.py]
[test_no_top_browsing_context]
expected: FAIL
[test_payload]
expected: FAIL

View file

@ -1,7 +1,4 @@
[navigate.py]
[test_no_top_browsing_context]
expected: FAIL
[test_seen_nodes[http\]]
expected: FAIL

View file

@ -1,3 +0,0 @@
[new.py]
[test_no_top_browsing_context]
expected: FAIL

View file

@ -1,7 +1,4 @@
[key.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL

View file

@ -1,6 +1,3 @@
[none.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL

View file

@ -1,10 +1,4 @@
[wheel.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL
[test_scroll_not_scrollable]
expected: FAIL

View file

@ -1,6 +1,3 @@
[release.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL

View file

@ -1,10 +1,4 @@
[set.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL
[test_restore_from_fullscreen]
expected: FAIL

View file

@ -1,6 +1,3 @@
[screenshot.py]
[test_no_top_browsing_context]
expected: FAIL
[test_no_browsing_context]
expected: FAIL