Why do browsers clear the address bar if the navigation was canceled while connecting?
When I enter an address into a browser and press enter, and then cancel (ESC) while the server is still being contacted (before the browser receives the HTML and the title changes), the browser clears the address bar, and I can't get the entered address back. I just tried this in Chrome and Firefox, but I think it applies to every browser I've seen.
This is especially annoying when I've just entered a very long, complicated address manually, or am using a mobile device (where this happens more frequently because sites load slower on flaky mobile connections).
Why is this? Is it due to security reasons? Is it to make the address bar reflect the current page? Is it an oversight or intentional?