mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Webdriver GoBack and GoForward commands wait for navigation complete (#37950)
After sending `GoBack` or `GoForward` command, webdriver wait for the navigation complete. It can be achieved by waiting for `WebViewDelegate::notify_history_changed` Testing: `tests/wpt/meta/webdriver/tests/classic/back/back.py` `tests/wpt/meta/webdriver/tests/classic/forward/forward.py` --------- Signed-off-by: batu_hoang <longvatrong111@gmail.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> Signed-off-by: batu_hoang <hoang.binh.trong@huawei.com> Co-authored-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
c817d7b9ce
commit
8e2d2bde6f
16 changed files with 114 additions and 40 deletions
|
@ -73,16 +73,16 @@
|
|||
expected: FAIL
|
||||
|
||||
[Loading script (anonymous) with link (no-cors) should discard the preloaded response]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
[Loading script (anonymous) with link (use-credentials) should discard the preloaded response]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Loading script (use-credentials) with link (no-cors) should discard the preloaded response]
|
||||
expected: FAIL
|
||||
expected: NOTRUN
|
||||
|
||||
[Loading script (use-credentials) with link (anonymous) should discard the preloaded response]
|
||||
expected: TIMEOUT
|
||||
expected: NOTRUN
|
||||
|
||||
[Loading script (use-credentials) with link (use-credentials) should reuse the preloaded response]
|
||||
expected: NOTRUN
|
||||
|
@ -146,3 +146,6 @@
|
|||
|
||||
[Loading style (use-credentials) with link (use-credentials) should reuse the preloaded response]
|
||||
expected: NOTRUN
|
||||
|
||||
[Loading script (anonymous) with link (anonymous) should reuse the preloaded response]
|
||||
expected: NOTRUN
|
||||
|
|
|
@ -1,11 +1,4 @@
|
|||
[back.py]
|
||||
disabled: consistent panic
|
||||
[test_no_top_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_browsing_context]
|
||||
expected: ERROR
|
||||
|
||||
[test_seen_nodes[http\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,6 +7,3 @@
|
|||
|
||||
[test_seen_nodes[https coop\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_history_pushstate]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[forward.py]
|
||||
[test_basic]
|
||||
expected: FAIL
|
||||
|
||||
[test_seen_nodes[http\]]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -13,3 +10,6 @@
|
|||
|
||||
[test_removed_iframe]
|
||||
expected: FAIL
|
||||
|
||||
[test_basic]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue