You should get alert once.
In firefox latest version (tested at windows and osx).
- If you make iframe visible and change hash of iframe.contentWindow then nothing happens which is correct.
- If you make iframe hidden and change the hash then content of the iframe is reloaded. Is it correct?