[TIMOB-10472] MobileWeb: printing event object causes Uncaught TypeError: Converting circular structure to JSON
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2012-08-16T13:43:17.000+0000 |
Affected Version/s | Release 2.1.0, Release 2.1.2, Release 3.0.0 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | api, parity, qe-mw082012 |
Reporter | Dustin Hyde |
Assignee | Neeraj Gupta |
Created | 2012-08-16T11:49:29.000+0000 |
Updated | 2013-02-13T04:28:43.000+0000 |
Description
printing event object causes Uncaught TypeError: Converting circular structure to JSON
this is not a regression. this does not occur on ios or android.
console info:
MobileWeb:
Uncaught TypeError: Converting circular structure to JSON
iOS:
[INFO] {
source = "[object TiUIWindow]";
type = open;
}
Android:
[INFO][TiAPI ( 331)] [object Object]
steps to reproduce:
1. run code:
var win = Ti.UI.createWindow();
win.addEventListener('open', function(e){
Ti.API.info(e);
});
win.open();
actual result:
json error
expected result:
object prints
Duplicate of TIMOB-10424
Closing as Duplicate.