Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10472] MobileWeb: printing event object causes Uncaught TypeError: Converting circular structure to JSON

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2012-08-16T13:43:17.000+0000
Affected Version/sRelease 2.1.0, Release 2.1.2, Release 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsapi, parity, qe-mw082012
ReporterDustin Hyde
AssigneeNeeraj Gupta
Created2012-08-16T11:49:29.000+0000
Updated2013-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

Comments

  1. Bryan Hughes 2012-08-16

    Duplicate of TIMOB-10424
  2. Dustin Hyde 2013-02-13

    Closing as Duplicate.

JSON Source