Files
ladybird/Tests/LibWeb/Text/expected/wpt-import/navigation-api/navigate-event/defaultPrevented-navigation-preempted.txt
Tim Ledbetter dc649a7e46 LibWeb: Use reject_the_finished_promise() in abort_a_navigate_event()
This aligns our implementation with the specification. Doing this
fixes a number of WPT tests because this sets
`m_ongoing_api_method_tracker` to null, avoiding an assertion that
previously caused a crash.
2026-02-14 20:21:53 +01:00

6 lines
140 B
Plaintext

Harness status: OK
Found 1 tests
1 Pass
Pass navigateEvent.defaultPrevented isn't affected when the navigation is preempted after dispatch