Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Navigation] Dispatch NavigateEvent on same-document navigations
https://bugs.webkit.org/show_bug.cgi?id=265401 Reviewed by Alex Christensen. - Partial implementation intercept/finish/scroll/abort in NavigateEvent. - Implement a large part of the dispatching of Traversal and Push/Reload/Replace events. - The FrameLoader dispatches the events in the case of same-document loads. - Gate NavigateEvent.hasUAVisualTransition behind the setting for it. * LayoutTests/TestExpectations: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/commit-behavior/multiple-intercept-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/click-samedocument-crossorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/click-samedocument-crossorigin-sameorigindomain.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/click-samedocument-sameorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/location-samedocument-crossorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/location-samedocument-crossorigin-sameorigindomain.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/location-samedocument-sameorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/open-samedocument-crossorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/open-samedocument-crossorigin-sameorigindomain.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/open-samedocument-sameorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/submit-samedocument-crossorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/submit-samedocument-crossorigin-sameorigindomain.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/cross-window/submit-samedocument-sameorigin-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/intercept-after-dispatch-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/intercept-canceled-event-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/intercept-handler-null-or-undefined-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-anchor-fragment-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-anchor-userInitiated-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-get-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-back-after-fragment-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-history-go-0-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-location-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh-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/navigate-navigation-navigate-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-svg-anchor-fragment-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-window-open-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self-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/navigate-history-push-not-loaded-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-same-document-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/navigation-api/scroll-behavior/manual-scroll-after-resolve-expected.txt: * Source/WebCore/loader/FrameLoader.cpp: (WebCore::determineNavigationType): (WebCore::FrameLoader::loadInSameDocument): * Source/WebCore/page/NavigateEvent.cpp: (WebCore::NavigateEvent::NavigateEvent): (WebCore::NavigateEvent::create): (WebCore::NavigateEvent::sharedChecks): (WebCore::NavigateEvent::intercept): (WebCore::NavigateEvent::scroll): (WebCore::NavigateEvent::finish): * Source/WebCore/page/NavigateEvent.h: * Source/WebCore/page/Navigation.cpp: (WebCore::Navigation::currentEntry const): (WebCore::Navigation::updateCurrentEntry): (WebCore::Navigation::hasEntriesAndEventsDisabled const): (WebCore::Navigation::updateForNavigation): (WebCore::documentCanHaveURLRewritten): (WebCore::Navigation::innerDispatchNavigateEvent): (WebCore::Navigation::dispatchTraversalNavigateEvent): (WebCore::Navigation::dispatchPushReplaceReloadNavigateEvent): (WebCore::Navigation::dispatchDownloadNavigateEvent): (WebCore::determineNavigationType): Deleted. * Source/WebCore/page/Navigation.h: * Source/WebCore/page/NavigationTransition.h: Canonical link: https://commits.webkit.org/276522@main
- Loading branch information
Showing
43 changed files
with
384 additions
and
144 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
16 changes: 8 additions & 8 deletions
16
...ted/w3c/web-platform-tests/navigation-api/commit-behavior/multiple-intercept-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,10 +1,10 @@ | ||
|
||
FAIL after-transition + after-transition assert_equals: expected "#1" but got "" | ||
FAIL after-transition + (not provided) assert_equals: expected "#2" but got "" | ||
FAIL after-transition + immediate assert_equals: expected true but got false | ||
FAIL immediate + after-transition assert_equals: expected "#4" but got "" | ||
FAIL immediate + (not provided) assert_equals: expected true but got false | ||
FAIL immediate + immediate assert_equals: expected true but got false | ||
FAIL (not provided) + after-transition assert_equals: expected "#7" but got "" | ||
FAIL (not provided) + immediate assert_equals: expected true but got false | ||
FAIL after-transition + after-transition assert_equals: expected false but got true | ||
FAIL after-transition + (not provided) assert_equals: expected false but got true | ||
PASS after-transition + immediate | ||
FAIL immediate + after-transition assert_equals: expected false but got true | ||
PASS immediate + (not provided) | ||
PASS immediate + immediate | ||
FAIL (not provided) + after-transition assert_equals: expected false but got true | ||
PASS (not provided) + immediate | ||
|
4 changes: 1 addition & 3 deletions
4
...ts/navigation-api/navigate-event/cross-window/click-samedocument-crossorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT clicking on an <a> element that navigates same-document targeting a cross-origin window Test timed out | ||
FAIL clicking on an <a> element that navigates same-document targeting a cross-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...igate-event/cross-window/click-samedocument-crossorigin-sameorigindomain.sub-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT clicking on an <a> element that navigates same-document targeting a same-origin-domain (but cross-origin) window Test timed out | ||
FAIL clicking on an <a> element that navigates same-document targeting a same-origin-domain (but cross-origin) window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...sts/navigation-api/navigate-event/cross-window/click-samedocument-sameorigin-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,6 +1,4 @@ | ||
Click me | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT clicking on an <a> element that navigates same-document targeting a same-origin window Test timed out | ||
FAIL clicking on an <a> element that navigates same-document targeting a same-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...navigation-api/navigate-event/cross-window/location-samedocument-crossorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using location.href to navigate same-document targeting a cross-origin window Test timed out | ||
FAIL using location.href to navigate same-document targeting a cross-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...te-event/cross-window/location-samedocument-crossorigin-sameorigindomain.sub-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using location.href to navigate same-document targeting a same-origin-domain (but cross-origin) window Test timed out | ||
FAIL using location.href to navigate same-document targeting a same-origin-domain (but cross-origin) window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
.../navigation-api/navigate-event/cross-window/location-samedocument-sameorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using location.href to navigate same-document targeting a same-origin window Test timed out | ||
FAIL using location.href to navigate same-document targeting a same-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...sts/navigation-api/navigate-event/cross-window/open-samedocument-crossorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using window.open() to navigate same-document targeting a cross-origin window Test timed out | ||
FAIL using window.open() to navigate same-document targeting a cross-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...vigate-event/cross-window/open-samedocument-crossorigin-sameorigindomain.sub-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using window.open() to navigate same-document targeting a same-origin-domain (but cross-origin) window Test timed out | ||
FAIL using window.open() to navigate same-document targeting a same-origin-domain (but cross-origin) window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...ests/navigation-api/navigate-event/cross-window/open-samedocument-sameorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT using window.open() to navigate same-document targeting a same-origin window Test timed out | ||
FAIL using window.open() to navigate same-document targeting a same-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...s/navigation-api/navigate-event/cross-window/submit-samedocument-crossorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT submitting a <form> element that navigates same-document targeting a cross-origin window Test timed out | ||
FAIL submitting a <form> element that navigates same-document targeting a cross-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...gate-event/cross-window/submit-samedocument-crossorigin-sameorigindomain.sub-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT submitting a <form> element that navigates cross-document targeting a same-origin-domain (but cross-origin) window Test timed out | ||
FAIL submitting a <form> element that navigates cross-document targeting a same-origin-domain (but cross-origin) window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...ts/navigation-api/navigate-event/cross-window/submit-samedocument-sameorigin-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT submitting a <form> element that navigates same-document targeting a same-origin window Test timed out | ||
FAIL submitting a <form> element that navigates same-document targeting a same-origin window assert_true: destination.sameDocument expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...3c/web-platform-tests/navigation-api/navigate-event/intercept-after-dispatch-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT event.intercept() throws if used after the dispatch phase Test timed out | ||
PASS event.intercept() throws if used after the dispatch phase | ||
|
2 changes: 1 addition & 1 deletion
2
...3c/web-platform-tests/navigation-api/navigate-event/intercept-canceled-event-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 event.intercept() throws if used on a canceled event assert_true: expected true got false | ||
PASS event.intercept() throws if used on a canceled event | ||
|
2 changes: 1 addition & 1 deletion
2
...form-tests/navigation-api/navigate-event/intercept-handler-null-or-undefined-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,6 +1,6 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT event.intercept() should throw if the handler is null Test timed out | ||
PASS event.intercept() should throw if the handler is null | ||
TIMEOUT event.intercept() should not throw if the handler is explicit undefined Test timed out | ||
|
4 changes: 1 addition & 3 deletions
4
...3c/web-platform-tests/navigation-api/navigate-event/navigate-anchor-fragment-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,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT Fragment <a> click fires navigate event Test timed out | ||
FAIL Fragment <a> click fires navigate event assert_true: expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...b-platform-tests/navigation-api/navigate-event/navigate-anchor-userInitiated-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,6 +1,4 @@ | ||
Click me | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT Fragment <a> click fires navigate event Test timed out | ||
FAIL Fragment <a> click fires navigate event assert_true: expected true got false | ||
|
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 @@ | ||
|
||
PASS navigate event destination.getState() on back/forward navigation | ||
FAIL navigate event destination.getState() on back/forward navigation assert_equals: expected "traverse" but got "push" | ||
|
4 changes: 2 additions & 2 deletions
4
.../imported/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-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: Timed out waiting for notifyDone to be called | ||
|
||
{"error": {"code": 404, "message": ""}} | ||
FAIL <form> submission fires navigate event assert_equals: expected "replace" but got "push" | ||
|
2 changes: 1 addition & 1 deletion
2
...orted/w3c/web-platform-tests/navigation-api/navigate-event/navigate-form-get-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: Timed out waiting for notifyDone to be called | ||
|
||
FAIL <form> submission with GET method fires navigate event but with formData null assert_equals: expected "replace" but got "push" | ||
|
5 changes: 3 additions & 2 deletions
5
...web-platform-tests/navigation-api/navigate-event/navigate-form-userInitiated-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,4 @@ | ||
FAIL: Timed out waiting for notifyDone to be called | ||
|
||
{"error": {"code": 404, "message": ""}} | ||
|
||
FAIL <form> submission fires navigate event assert_true: expected true got false | ||
|
2 changes: 1 addition & 1 deletion
2
...orm-tests/navigation-api/navigate-event/navigate-history-back-after-fragment-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 history.back() fires the navigate event and sets hashChange when reversing a fragment navigation null is not an object (evaluating 'navigation.currentEntry.index') | ||
FAIL history.back() fires the navigate event and sets hashChange when reversing a fragment navigation assert_equals: expected "traverse" but got "push" | ||
|
4 changes: 1 addition & 3 deletions
4
...d/w3c/web-platform-tests/navigation-api/navigate-event/navigate-history-go-0-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT history.go(0) fires the navigate event Test timed out | ||
FAIL history.go(0) fires the navigate event assert_equals: expected "reload" but got "push" | ||
|
4 changes: 1 addition & 3 deletions
4
...3c/web-platform-tests/navigation-api/navigate-event/navigate-iframe-location-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT location API on another window fires navigate event in the target window only Test timed out | ||
FAIL location API on another window fires navigate event in the target window only assert_true: expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...orted/w3c/web-platform-tests/navigation-api/navigate-event/navigate-location-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,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT location API fires navigate event Test timed out | ||
FAIL location API fires navigate event assert_equals: expected "replace" but got "push" | ||
|
4 changes: 1 addition & 3 deletions
4
...d/w3c/web-platform-tests/navigation-api/navigate-event/navigate-meta-refresh-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT <meta> refresh fires navigate event Test timed out | ||
FAIL <meta> refresh fires navigate event assert_false: expected false got true | ||
|
4 changes: 1 addition & 3 deletions
4
...eb-platform-tests/navigation-api/navigate-event/navigate-navigation-navigate-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,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT navigate event for navigation.navigate() Test timed out | ||
FAIL navigate event for navigation.navigate() assert_equals: expected "replace" but got "push" | ||
|
4 changes: 1 addition & 3 deletions
4
...eb-platform-tests/navigation-api/navigate-event/navigate-svg-anchor-fragment-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,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT <svg:a> click fires navigate event Test timed out | ||
FAIL <svg:a> click fires navigate event assert_true: expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...ed/w3c/web-platform-tests/navigation-api/navigate-event/navigate-window-open-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,6 +1,4 @@ | ||
|
||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT window.open() fires navigate event in target window but not source Test timed out | ||
FAIL window.open() fires navigate event in target window but not source assert_true: expected true got false | ||
|
4 changes: 1 addition & 3 deletions
4
...c/web-platform-tests/navigation-api/navigate-event/navigate-window-open-self-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,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT window.open() fires navigate event when targeting self Test timed out | ||
FAIL window.open() fires navigate event when targeting self assert_true: expected true got false | ||
|
2 changes: 1 addition & 1 deletion
2
...orm-tests/navigation-api/navigation-methods/navigate-history-push-not-loaded-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 history: 'push' in a document that has not yet had its load event promise_test: Unhandled rejection with value: object "TypeError: null is not an object (evaluating 'navigation.currentEntry.index')" | ||
PASS navigate() with history: 'push' in a document that has not yet had its load event | ||
|
4 changes: 2 additions & 2 deletions
4
.../web-platform-tests/navigation-api/navigation-methods/navigate-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,4 +1,4 @@ | ||
|
||
FAIL navigate() navigates same-document and fires onnavigate (async) assert_equals: expected "#d" but got "" | ||
FAIL navigate() navigates same-document and fires onnavigate (sync) assert_equals: expected "#d" but got "" | ||
FAIL navigate() navigates same-document and fires onnavigate (async) assert_true: expected true got false | ||
PASS navigate() navigates same-document and fires onnavigate (sync) | ||
|
2 changes: 1 addition & 1 deletion
2
...c/web-platform-tests/navigation-api/navigation-methods/return-value/navigate-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() promises assert_array_equals: lengths differ, expected array ["committed", "finished"] length 2, got ["todo"] length 1 | ||
FAIL navigate() promises assert_equals: expected object "[object NavigationHistoryEntry]" but got object "[object NavigationHistoryEntry]" | ||
|
2 changes: 1 addition & 1 deletion
2
...eb-platform-tests/navigation-api/scroll-behavior/manual-scroll-after-resolve-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 scroll: scroll() should throw after a navigation finished promise fulfills assert_not_equals: got disallowed value 0 | ||
FAIL scroll: scroll() should throw after a navigation finished promise fulfills assert_throws_dom: function "() => navigate_event.scroll()" threw object "TypeError: undefined is not an object (evaluating 'navigate_event.scroll')" that is not a DOMException InvalidStateError: property "code" is equal to undefined, expected 11 | ||
|
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
Oops, something went wrong.