Closed hannolans closed 10 years ago
Was this an error in a PhantomJS environment, or a browser? I tried to inject quail into these pages with Chrome and it didn't balk.
This is one of the reasons I would like to refactor complete callbacks in #122.
It's happening with PhantomJS. I checked the javascript in JSlint and it has some errors. Not sure if that is fatal for QUAIL. We didnt implement error handling with PhantomJS so far.
We now have another setup when requesting PhantomJS and it doesn't break anymore on the above websites. We still need error handling though.
When a web page contains a faulty DOM or a faulty javascript QUAIL seems to crash. While that is probably not caused by QUAIL, we would like to get a notice that the test failed. Instead we get a part of the results and are not sure if that are all the results. We discovered this because we don't get the total results at the end.
Two examples of government sites that crash in our system: http://www.overheid.nl http://www.webrichtlijnen.nl