{ "id": "93215", "key": "AC-2958", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-29T14:28:25.000+0000", "created": "2012-06-14T06:01:29.000+0000", "labels": [ "android", "evalJs", "thread", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:57.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "App.js :\r\n\r\n\r\nvar win = Titanium.UI.createWindow();\r\nvar wv = Ti.UI.createWebView({\r\n\turl : '/index.html'\r\n});\r\nwin.add(wv);\r\n\r\nsetInterval(function() {\r\n\twv.evalJS(\"test('a test message')\");\r\n}, 6000);\r\n\r\n/* solution */\r\n/*\r\n try{\r\n wv.evalJS(\"test('a test message')\");\r\n }catch(e){\r\n Ti.API.info(e);\r\n }\r\n */\r\nwin.open(); \r\n\r\n\r\nindex.html :\r\n\r\n\r\n
\r\n