What should happen with location.reload() on a page that is a POST result? #3215
Labels
interop
Implementations are not interoperable with each other
topic: forms
topic: location
topic: navigation
Consider this testcase:
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.
The text was updated successfully, but these errors were encountered: