servoshell: Add window position for headless window (#38249)

Add virtual `window_position` to headless window so that `moveTo` and
WebDriver window command can work properly.

Testing: `./mach test-wpt -r
"tests\wpt\tests\webdriver\tests\classic\set_window_rect\set.py"
--product servodriver --headless`
Fixes: Task 7 of #37804.

---------

Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
Euclid Ye 2025-07-25 01:57:58 +08:00 committed by GitHub
parent 4c7797a7ab
commit 3bc104c8e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 45 deletions

View file

@ -5,44 +5,8 @@
[test_restore_from_maximized]
expected: FAIL
[test_x_y_floats]
expected: FAIL
[test_partial_input[rect2\]]
expected: FAIL
[test_partial_input[rect3\]]
expected: FAIL
[test_partial_input[rect4\]]
expected: FAIL
[test_partial_input[rect5\]]
expected: FAIL
[test_partial_input[rect6\]]
expected: FAIL
[test_partial_input[rect7\]]
expected: FAIL
[test_set_to_available_size]
expected: FAIL
[test_set_smaller_than_minimum_browser_size]
expected: FAIL
[test_x_y]
expected: FAIL
[test_x_as_current]
expected: FAIL
[test_y_as_current]
expected: FAIL
[test_negative_x_y]
expected: FAIL
[test_response_payload]
expected: FAIL