mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
[WebDriver] Grant top_level_script_command
and browsing_context_script_command
freedom to not verify existence of pipeline (#37632)
Sometimes, it is redundant to verify existence of pipeline over and over again. Sometimes, it is just wrong to check it. See [Switch to Parent Frame](https://w3c.github.io/webdriver/#switch-to-parent-frame), where we only care about existence of parent frame. 1. This PR adds a constant compile-time bool flag to enable this. This will be essential to fix "no_browsing_context" next. 2. Fix some wrong usage of `top_level_script_command` in `is_selected` and `is_enabled`. 3. Add and unify some WARN info related to pipeline in Constellation Testing: All WebDriver test with new passing cases --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
e0f3679d55
commit
94a7428912
5 changed files with 65 additions and 65 deletions
|
@ -2,9 +2,6 @@
|
|||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_stale_element_reference[child_context\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_option_with_select[disabled\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
[selected.py]
|
||||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_stale_element_reference[child_context\]]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue