LiTiang / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

toJsonArray can lead to infinite recursion #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm seeing toJsonArray (in runner.js) produce infinite recursion when 
serialising Backbone.js models, and HTML elements.

It'd be great if it had a limit - I tried a simple hack but it looks like 
errors thrown from there don't cause a failed test, but the test suite to never 
complete.

Original issue reported on code.google.com by timruff...@googlemail.com on 5 Jul 2011 at 10:33

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry - forgot to add, this normally happens when serialising an error.

Original comment by timruff...@googlemail.com on 5 Jul 2011 at 10:40

GoogleCodeExporter commented 9 years ago
Should be resolved in 1.3.3a, as of r975.

Original comment by corbinrs...@gmail.com on 29 Sep 2011 at 3:05

GoogleCodeExporter commented 9 years ago

Original comment by corbinrs...@gmail.com on 29 Sep 2011 at 3:06