mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
webdriver: Improve parsing of Frame and Window (#39012)
In #38745, we changed the id of Frame and Window as the result of `ToString` trait. This PR - adapts the parsing of frame/window accordingly. - for frame, return the [WindowProxy](https://developer.mozilla.org/en-US/docs/Web/API/WindowProxy) object of the iframe as it's supposed to do. Testing: `execute_{async_}script/arguments.py` --------- Signed-off-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
parent
00c1f79a1d
commit
8305064522
4 changed files with 15 additions and 22 deletions
|
@ -31,9 +31,3 @@
|
|||
|
||||
[test_no_such_window_for_window_with_invalid_value]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_reference[frame\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_reference[window\]]
|
||||
expected: FAIL
|
||||
|
|
|
@ -31,9 +31,3 @@
|
|||
|
||||
[test_no_such_window_for_window_with_invalid_value]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_reference[frame\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_reference[window\]]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue