-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
interopImplementations are not interoperable with each otherImplementations are not interoperable with each othertopic: formstopic: locationtopic: navigation
Description
Consider this testcase:
<form action="https://software.hixie.ch/utilities/cgi/test-tools/echo" method=post>
<input type="submit" name="something" value="Submit me">
</form>
- Load the testcase.
- Click the button.
- Open developer tools and evaluate "location.reload()".
I can't do step 3 in Safari, because it won't let me open developer tools on that page. But in Chrome, Firefox, and Edge, in step 3 the reload resends the POST data. Firefox and Edge prompt for the repost; Chrome just silently does it.
If I read the spec right, we're in https://html.spec.whatwg.org/multipage/history.html#dom-location-reload in the "Otherwise" case, which just says to navigate to the document's URL, ignoring any POST data, which doesn't match the above-described browser behavior.
Metadata
Metadata
Assignees
Labels
interopImplementations are not interoperable with each otherImplementations are not interoperable with each othertopic: formstopic: locationtopic: navigation