Commit Graph

2 Commits

Author SHA1 Message Date
Shannon Booth
346fa16b1e LibWeb: Don't cancel pending navigations in navigate to a javascript URL
Other browsers appear to only do this for form submission, not for
all javascript URL navigations. Let's remove the handling in the
general javascript URL navigation handling so that our behaviour
diference to other browsers is limited specifically to form
elements, instead of the general case.

Unfortunately this does (expectedly) cause the test added in
3e0ea4f62 to start timing out, so that test is marked as skipped.
2026-03-25 22:05:25 +01:00
Shannon Booth
71a9106744 Tests/LibWeb: Import a javascript URL navigation testcase
It turns out that the failing tests actually regressed in:
3e0ea4f62e, which requires more
investigation.

I don't think we would be better off with a revert (and all browsers
already have different behaviour here), so let's just add an in
tree test for now.
2026-01-31 20:41:37 +01:00