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

2012-11-15 Thread Henrik Skupin
Kevin Gadd wrote on 11/15/12 12:37 AM: > Increment a value in localStorage? That's what I have used now and which works great. Thanks Kevin! -- Henrik ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-p

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 d

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

2012-11-14 Thread Kevin Gadd
Increment a value in localStorage? -kg On Wed, Nov 14, 2012 at 3:26 PM, Kyle Huey wrote: > On Wed, Nov 14, 2012 at 3:17 PM, Henrik Skupin wrote: > > > Hi, > > > > A crashtest for WebRTC requires to reload the current page. So that can > > be done by window.location.reload(). Sadly this will ca

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

2012-11-14 Thread Kyle Huey
On Wed, Nov 14, 2012 at 3:17 PM, Henrik Skupin wrote: > 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