Follow these steps:

  1. load a.html in iframe
  2. load b.html in iframe
  3. Set #test

Press the back-button a few times: notice the iframe is not changing