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.
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.