+1 to what Fergal said.
One interesting subcategory of #3 are tests which are specifically checking the behaviour when the back-forward cache is not enabled and that the history navigation page load is being handled correctly.
Overall they should be rare, but this test, based on the comment which says that the iframe restored from history should have a special behaviour, seems to be an interesting one.
Ideally we would run test twice, with and without bfcache and have two different sets of expectations.
However, I'm not very familiar with layout tests configurations and not sure how easy it actually is.
Disabling bfcache for this test seems like a good idea too.
Answering specific questions:
- We can know whether a navigation was restored from bfcache or not via the event.persisted property of the pageshow's event.
- We have been talking about adding a JS API to clear the history and disable bfcache.
+Rakina Zata Amni.