jshint/jshint — pull request #944 by hmalphettes (2013-03-21 03:44:07+00:00)
Title: Test to verify that jshint survives parsing some html

This was actually solved at the same time than https://github.com/jshint/jshint/issues/910
However it hits me more than twice now so I added a test specifically for this case.

It is only marginally useful.

Maybe the true feature I would like to see would be:

1. crash the parser
2. report the file where the crashed occurred
3. suggest that it is either one of the 2 situations:
- the content of the file does not remotely looking like javascript.
- an opportunity to file a bug for jshint

Let me know.