Bug Tracker

Changes between Initial Version and Version 1 of Ticket #13526, comment 2


Ignore:
Timestamp:
Feb 27, 2013, 9:32:59 AM (9 years ago)
Author:
dmethvin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13526, comment 2

    initial v1  
    11Whatever solution evolves from #12227 will still not reconstitute a JavaScript object with a circular dependency on the other side of the connection.
    22
    3 Of course `$.ajax()` serializes all properties to string, because a string has to be sent over the connection. Attempt to serialize your object with `JSON.parse()` for example and you'll get an error about circular dependencies. So perhaps the outcome of the bug fix is that you get an error from jQuery or silent failure instead of a recursion error.
     3Of course `$.ajax()` serializes all properties to string, because a string has to be sent over the connection. Attempt to serialize your object with `JSON.stringify()` for example and you'll get an error about circular dependencies. So perhaps the outcome of the bug fix is that you get an error from jQuery or silent failure instead of a recursion error.