38.3navigation-api/navigate-event/
150 / 154 WPT subtests passing
- Failed
- 2
- Timed out
- 2
- Not run
- 0
- Test files
- 142
- Blocking files
- 0
Chrome 145 / 153 WPT subtests passing on the same files, 5 blocking, 3 without a result
Tests
1 directory, 114 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
cross- | 28 / 28 | 28 / 28 | 28 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
cross-origin-traversal-redirect.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- A traversal that redirects from same-origin to cross-origin fires the navigate event
defaultPrevented-window-stop-after-dispatch.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.stop() doesn't affect navigateEvent.defaultPrevented after dispatch
document-open-after-replaceState.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- document.open() after replaceState should not crash when updating navigation entries
event-constructor.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- can't bypass required members by omitting the dictionary entirely
- destination is required
- signal is required
- all properties are reflected back
- defaults are as expected
- hasUAVisualTransition is default false
intercept-after-dispatch.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() throws if used after the dispatch phase
intercept-canceled-event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() throws if used on a canceled event
intercept-cross-document-same-origin.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() intercepts a same-origin cross-document navigation
intercept-cross-origin-focus-without-user-activation.html 0 / 2 passingChrome 1 / 21 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
subtest 1: the cross-origin iframe's intercept() focus reset takes focus from the top-level input in Crane, Chrome and Firefox ("Top-level document should not lose focus to the cross-origin iframe without user interaction"); Safari keeps it. Subtest 2 times out in Crane only for want of a renderer
- Crane matches
- Chrome, Firefox
- Needs a renderer
- Navigation API intercept() focus reset should work if navigation was user-initiated — test_driver.click(iframe) clicks the frame's centre, where an absolutely positioned <a href="#nav"> (inset: 0) covers its viewport; finding it there is a hit test on laid-out content, and with no renderer the click lands on the frame's document root, so the navigation the subtest waits for never starts
- Chrome
- wpt.fyi run 4786307730243584: 1/2 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 1/2 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 1/2 (Safari 27.2, 2358bd4835; passes subtest 1, fails subtest 2)
- Revisit
- when Chrome or Firefox changes its result on a newer aligned wpt.fyi run, or a renderer answers hit tests, or Crane's result moves
/navigation-api/navigate-event/intercept-cross-origin-focus-without-user-activation.html TIMEOUT 0 / 2
- ¶
FAILNavigation API intercept() focus reset shouldn't bypass focus-without-user-activation permissions policy
assert_equals: Top-level document should not lose focus to the cross-origin iframe without user interaction. expected Element node <input type="text" id="input"></input> but got Element node <iframe allow="focus-without-user-activation 'none'" src=...
- ¶
TIMEOUTNavigation API intercept() focus reset should work if navigation was user-initiated
Test timed out
intercept-cross-origin.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should throw if called for a cross origin navigation
intercept-detach-multiple.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() throws if used on an event from a detached iframe
intercept-detach.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() throws if used on an event from a detached iframe
intercept-handler-null-or-undefined.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- event.intercept() should throw if the handler is null
- event.intercept() should not throw if the handler is explicit undefined
intercept-handler-returns-non-promise.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should resolve immediately if the handler doesn't return a promise
intercept-handler-throws.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should abort if the handler throws
intercept-history-pushState.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should proceed if the given promise resolves
intercept-history-replaceState.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should proceed if the given promise resolves
intercept-multiple-times-reject.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() is called multiple times and one of the promises rejects
intercept-multiple-times.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- navigation.navigate() returns a finished promise that awaits all promises if event.intercept() is called multiple times
intercept-no-beforeunload.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- navigate() whose navigate event is intercepted does not fire beforeunload
intercept-on-synthetic-event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() throws if invoked on a synthetic event
intercept-popstate-no-handler.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should provide popstate with a valid state object
intercept-popstate.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should provide popstate with a valid state object 2
intercept-reject.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should abort if the given promise rejects
intercept-resolve.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() should proceed if the given promise resolves
intercept-same-document-history-back.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() can intercept same-document history.back()
potentially-reset-focus-no-document-element-crash.html none reportedChrome —0 failedClean
/navigation-api/navigate-event/potentially-reset-focus-no-document-element-crash.html PASS none reported
No subtests were reported.
replaceState-inside-back-handler-infinite.optional.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- infinite replaceState inside a navigate event for navigation.back()
replaceState-inside-back-handler.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- replaceState inside a navigate event for navigation.back()
same-url-replace-cross-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- navigate() to the current URL cross document should replace
same-url-replace-same-document.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- navigate() to the current URL same document should replace
signal-abort-intercept.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.intercept() does not signal event.signal
signal-abort-preventDefault.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- event.preventDefault() signals event.signal
signal-abort-replaceState-crash.html none reportedChrome —0 failedClean
/navigation-api/navigate-event/signal-abort-replaceState-crash.html PASS none reported
No subtests were reported.
signal-abort-window-stop-after-intercept.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.stop() cancels the navigate event's intercept() and signals event.signal
signal-abort-window-stop.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- window.stop() signals event.signal
sourceElement-cross-origin.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- NavigateEvent.sourceElement should be null for cross-origin same-document initiators
traverseTo-detach.html 1 / 1 passingChrome none reported0 failedClean
1 passing subtest
- event is canceled when an iframe is detached