As Out-Of-Memory errors does not create any exceptions and rather silently propagate failures, the isExceptionPending() asserts added in the bug 636224 to jsscan.cpp are not correct.
Created attachment 552616 [details] [diff] [review]
The patch just removes the assert. The test case will appear in the bug 671702. There with smaller chunks and with a test case that limits the max GC heap size to 128K I trigger the assert reliably.
Comment on attachment 552616 [details] [diff] [review]
Did you perhaps attach the wrong patch? This one has lots of... stuff.
Created attachment 552742 [details] [diff] [review]
fix for real
here is the right patch