-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Navigation] Enable some tests that now pass
https://bugs.webkit.org/show_bug.cgi?id=271374 Reviewed by Manuel Rego Casasnovas. Enable some tests that now pass. * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-destination-getState-back-forward-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-back-noop-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-navigation-back-same-document-in-iframe-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/same-url-replace-cross-document-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/same-url-replace-same-document-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/back-forward-initial-about-blank-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/back-forward-opaque-origin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-already-detached-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-detach-in-serialization-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-invalid-url-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-push-javascript-url-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-detached-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-rejection-order-invalidurl-unserializablestate-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-unserializable-state-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key-expected.txt: Canonical link: https://commits.webkit.org/276474@main
- Loading branch information
Showing
16 changed files
with
26 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sts/navigation-api/navigate-event/navigate-destination-getState-back-forward-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate event destination.getState() on back/forward navigation null is not an object (evaluating 'navigation.currentEntry.key') | ||
PASS navigate event destination.getState() on back/forward navigation | ||
|
3 changes: 1 addition & 2 deletions
3
.../web-platform-tests/navigation-api/navigate-event/navigate-history-back-noop-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
|
||
FAIL history.back() does not fire a navigate event when there's nothing to navigate promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'navigation.currentEntry.index')" | ||
PASS history.back() does not fire a navigate event when there's nothing to navigate | ||
|
2 changes: 1 addition & 1 deletion
2
...vigation-api/navigate-event/navigate-navigation-back-same-document-in-iframe-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
|
||
FAIL navigate event for navigation.back() - same-document in an iframe promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'i.contentWindow.navigation.currentEntry.key')" | ||
PASS navigate event for navigation.back() - same-document in an iframe | ||
|
2 changes: 1 addition & 1 deletion
2
...platform-tests/navigation-api/navigate-event/same-url-replace-cross-document-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() to the current URL cross document should replace promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'navigation.currentEntry.index')" | ||
PASS navigate() to the current URL cross document should replace | ||
|
2 changes: 1 addition & 1 deletion
2
...-platform-tests/navigation-api/navigate-event/same-url-replace-same-document-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() to the current URL same document should replace promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'navigation.currentEntry.index')" | ||
PASS navigate() to the current URL same document should replace | ||
|
2 changes: 1 addition & 1 deletion
2
...igation-api/navigation-methods/return-value/back-forward-initial-about-blank-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
|
||
FAIL back() and forward() in initial about:blank document assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS back() and forward() in initial about:blank document | ||
|
2 changes: 1 addition & 1 deletion
2
...ts/navigation-api/navigation-methods/return-value/back-forward-opaque-origin-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
|
||
FAIL navigation.back()/forward() in an opaque origin iframe assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigation.back()/forward() in an opaque origin iframe | ||
|
2 changes: 1 addition & 1 deletion
2
...sts/navigation-api/navigation-methods/return-value/navigate-already-detached-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() in a detached window assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() in a detached window | ||
|
3 changes: 1 addition & 2 deletions
3
...igation-api/navigation-methods/return-value/navigate-detach-in-serialization-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
|
||
FAIL navigate() promise rejections when detaching an iframe inside state serialization assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() promise rejections when detaching an iframe inside state serialization | ||
|
2 changes: 1 addition & 1 deletion
2
...rm-tests/navigation-api/navigation-methods/return-value/navigate-invalid-url-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() with an invalid URL assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() with an invalid URL | ||
|
2 changes: 1 addition & 1 deletion
2
.../navigation-api/navigation-methods/return-value/navigate-push-javascript-url-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() to a javascript: URL assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() to a javascript: URL | ||
|
2 changes: 1 addition & 1 deletion
2
...navigation-methods/return-value/navigate-rejection-order-invalidurl-detached-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() with an invalid URL in a detached iframe throws "SyntaxError", not "InvalidStateError" assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() with an invalid URL in a detached iframe throws "SyntaxError", not "InvalidStateError" | ||
|
2 changes: 1 addition & 1 deletion
2
...methods/return-value/navigate-rejection-order-invalidurl-unserializablestate-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL navigate() with an invalid URL and unserializable state throws "SyntaxError", not "DataCloneError" assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() with an invalid URL and unserializable state throws "SyntaxError", not "DataCloneError" | ||
|
2 changes: 1 addition & 1 deletion
2
...navigation-api/navigation-methods/return-value/navigate-unserializable-state-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
FAIL navigate() with an unserializable state (WritableStream) assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS navigate() with an unserializable state (WritableStream) | ||
FAIL navigate() with an unserializable state (SharedArrayBuffer) assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
|
2 changes: 1 addition & 1 deletion
2
...-tests/navigation-api/navigation-methods/return-value/traverseTo-invalid-key-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
FAIL traverseTo() with invalid key assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
PASS traverseTo() with invalid key | ||
|