Refs #482: fixes issue with popup opened by a _blank link
Refs #482: fixes issue with popup opened by a _blank link

With SlimerJS, checkStep turns into an infinite loop when
clicking on an <a target="_blank"> links, because navigationRequested
is staying always at true. In fact, it should not be modify
to true. In this case, onNavigationRequested is called with
isMainFrame=true instead of false. This is an issue
of SlimerJS, that needs a patch on Gecko.
https://github.com/laurentj/slimerjs/issues/48

This is a "bypass" patch, and should be removed when
SlimerJS will be released with its own patched Gecko.

flyHe/casperjs,flyHe/casperjs,JZL/casperjs,singhdev/casperjs,jamesanthonyferguson/casperjs,vietch2612/casperjs,HienLeThi/Casperjs_Demo,alexbiehl/casperjs,kyroskoh/casperjs,hudl/casperjs,alexbiehl/casperjs,HienLeThi/Casperjs_Demo,hlr1983/casperjs,kyroskoh/casperjs,PeterWangPo/casperjs,mickaelandrieu/casperjs,RobertoMalatesta/casperjs,vietch2612/casperjs,RobertoMalatesta/casperjs,jjyycchh/casperjs,jjyycchh/casperjs,joshuafcole/casperjs,muntasir2000/casperjs,jjyycchh/casperjs,jamesanthonyferguson/casperjs,kyroskoh/casperjs,hexid/casperjs,dj31416/casperjs,hexid/casperjs,jefleponot/casperjs,davidwhthomas/casperjs,jjyycchh/casperjs,istr/casperjs,davidwhthomas/casperjs,vladikoff/casperjs,RobertoMalatesta/casperjs,jamesanthonyferguson/casperjs,casperjs/casperjs,dj31416/casperjs,alexbiehl/casperjs,davidwhthomas/casperjs,RobertoMalatesta/casperjs,mcwonka/casperjs,singhdev/casperjs,casperjs/casperjs,cryptoquick/casperjs,casperjs/casperjs,soundyogi/casperjs,pbrazdil/casperjs,mickaelandrieu/casperjs,singhdev/casperjs,mcwonka/casperjs,pbrazdil/casperjs,muntasir2000/casperjs,singhdev/casperjs,Andrey-Pavlov/casperjs,vladikoff/casperjs,mickaelandrieu/casperjs,mcwonka/casperjs,pbrazdil/casperjs,joshuafcole/casperjs,mcwonka/casperjs,alexbiehl/casperjs,PeterWangPo/casperjs,Andrey-Pavlov/casperjs,soundyogi/casperjs,soundyogi/casperjs,davidwhthomas/casperjs,n1k0/casperjs,PeterWangPo/casperjs,vietch2612/casperjs,hudl/casperjs,alexbiehl/casperjs,singhdev/casperjs,hlr1983/casperjs,jefleponot/casperjs,ravindrasingh22/casperjs,vladikoff/casperjs,flyHe/casperjs,mickaelandrieu/casperjs,ravindrasingh22/casperjs,soundyogi/casperjs,pbrazdil/casperjs,istr/casperjs,hlr1983/casperjs,cryptoquick/casperjs,n1k0/casperjs,vietch2612/casperjs,cryptoquick/casperjs,HienLeThi/Casperjs_Demo,vietch2612/casperjs,joshuafcole/casperjs,davidwhthomas/casperjs,vladikoff/casperjs,jefleponot/casperjs,linkedin/casperjs,hexid/casperjs,dj31416/casperjs,HienLeThi/Casperjs_Demo,Andrey-Pavlov/casperjs,cryptoquick/casperjs,jjyycchh/casperjs,joshuafcole/casperjs,Andrey-Pavlov/casperjs,mcwonka/casperjs,muntasir2000/casperjs,hlr1983/casperjs,PeterWangPo/casperjs,hudl/casperjs,hudl/casperjs,hudl/casperjs,artillery/casperjs,soundyogi/casperjs,n1k0/casperjs,ravindrasingh22/casperjs,hlr1983/casperjs,linkedin/casperjs,ravindrasingh22/casperjs,JZL/casperjs,artillery/casperjs,jefleponot/casperjs,n1k0/casperjs,muntasir2000/casperjs,artillery/casperjs,ravindrasingh22/casperjs,casperjs/casperjs,istr/casperjs,vietch2612/casperjs,jamesanthonyferguson/casperjs,kyroskoh/casperjs,flyHe/casperjs,alexbiehl/casperjs,Andrey-Pavlov/casperjs,dj31416/casperjs,jamesanthonyferguson/casperjs,jefleponot/casperjs,muntasir2000/casperjs,HienLeThi/Casperjs_Demo,artillery/casperjs,istr/casperjs,linkedin/casperjs,muntasir2000/casperjs,linkedin/casperjs,istr/casperjs,hexid/casperjs,HienLeThi/Casperjs_Demo,sircelsiussexy/casperjs,hexid/casperjs,JZL/casperjs,sircelsiussexy/casperjs,flyHe/casperjs,hlr1983/casperjs,JZL/casperjs,RobertoMalatesta/casperjs,mickaelandrieu/casperjs,jamesanthonyferguson/casperjs,cryptoquick/casperjs,pbrazdil/casperjs,sircelsiussexy/casperjs,JZL/casperjs,ravindrasingh22/casperjs,PeterWangPo/casperjs,RobertoMalatesta/casperjs,cryptoquick/casperjs,mcwonka/casperjs,n1k0/casperjs,soundyogi/casperjs,linkedin/casperjs,kyroskoh/casperjs,hexid/casperjs,sircelsiussexy/casperjs,davidwhthomas/casperjs,PeterWangPo/casperjs,JZL/casperjs,kyroskoh/casperjs,sircelsiussexy/casperjs,flyHe/casperjs,Andrey-Pavlov/casperjs,artillery/casperjs,joshuafcole/casperjs,joshuafcole/casperjs,istr/casperjs,mickaelandrieu/casperjs,linkedin/casperjs,vladikoff/casperjs,jjyycchh/casperjs,casperjs/casperjs,dj31416/casperjs,n1k0/casperjs,casperjs/casperjs,pbrazdil/casperjs,dj31416/casperjs,jefleponot/casperjs,sircelsiussexy/casperjs,artillery/casperjs