Re: How to correctly handle window.location.reload() in a crashtest

2012-11-15 Thread Henrik Skupin
Kyle Huey wrote on 11/15/12 12:26 AM: Can you use an iframe? I tried and it would work if we wouldn't crash in another area. So using an iframe is certainly another crashtest. But thanks for the information! -- Henrik ___ dev-platform mailing list

How to correctly handle window.location.reload() in a crashtest

2012-11-14 Thread Henrik Skupin
Hi, A crashtest for WebRTC requires to reload the current page. So that can be done by window.location.reload(). Sadly this will cause an infinite loop when run in the automation. So which practice do we have to set a flag once the window has been reloaded once? Are there any guides how to do it?