avoiding a reposting refresh on iframe activation
Posted: Fri Jun 17, 2011 6:05 pm
Fx 4.0.1, NS 2.1.1.2rc3, new profile, forbid iframe on trusted, allow the test page
test page:
test page:
Code: Select all
<form method="post">
<input type="submit">
</form>
<iframe width="0" height="0" frameborder="0" src="http://www.google.com/">
</iframe>
- load the test page from a server
- click submit
- activate the iframe
- NS decides to refresh the page which results in:
Code: Select all
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
- Should a refresh be happening at all? I vaguely remember a discussion about invisible utility plugins, but do those reasons apply to iframes?
- Even if a refresh is advisable, perhaps it should avoided in cases of reposts?