[TIMOB-13893] MobileWeb : JSON.stringify is giving error on event objects
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2013-05-17T17:14:25.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | mobileweb |
| Reporter | Meenakshi Pathak |
| Assignee | Chris Barber |
| Created | 2013-05-17T11:53:54.000+0000 |
| Updated | 2014-06-19T12:44:39.000+0000 |
Description
JSON.stringify is giving error on event objects in Mobile web.Like:
tableView.addEventListener('click', function(e)
{
alert(JSON.stringify(e));
});
Its giving the following error:
TypeError: JSON.stringify cannot serialize cyclic structures.
Duplicate of TIMOB-10424. Unfortunately the architecture of Mobile Web and the lack of proxies like the other platforms have prevent us from being able to fix this issue.