{ "id": "94324", "key": "TIMOB-9861", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-08-09T10:30:15.000+0000", "created": "2012-07-02T16:29:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-21T22:31:10.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Problem\r\nWhen calling Ti.App.fireEvent() or Ti.App.addEventListener() from a webview, it crashes the app.\r\n\r\nh3. Sample Code to Reproduce Error:\r\napp.js\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar webView = Ti.UI.createWebView();\r\nvar html = '' + '' + '' + '' + '' + '' + 'Hello world!' + '' + '';\r\nwebView.html = html;\r\nwin.add(webView);\r\nwin.open();\r\n{code}\r\n\r\nglobal.js\r\n{code}\r\nTitanium.App.addEventListener('scrollsContentToTop', function(e){});\r\n{code}\r\n\r\nh3. Steps to Reproduce Error\r\n1. Add the code above into respective js files\r\n2. Run on android emulator 2.3.3 or 2.3.4 and any Titanium sdk\r\n3. Watch for crash\r\n", "attachment": [], "flagged": false, "summary": "Android 2.3.3/2.3.4: Ti.App.fireEvent() and Ti.App.addEventListener() in webView crashes the App", "creator": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.3.3 and 2.3.4 device and emulator.\r\nIssue seen both on Titanium 2.0.2 GA and 2.1.0 GA.", "comment": { "comments": [ { "id": "213523", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "I would expect the crash on a 2.3.x emulator (cf TIMOB-2682) but not on a device. However, The Environment field of this item says \"Android 2.3.3 and 2.3.4 *device* and emulator.\")\r\n\r\nCan the submitter please re-confirm that it happens on a real (non-emulator) device? If it does, please include logcat output and the make/model of the device.\r\n\r\nI don't personally have a 2.3 device, so if it turns out that indeed it's confirmed on the device, this item will need to be reassigned.\r\n\r\nI ran the test on 2.2, 3.1 and 4.1 devices just for a sanity check, and there were no crashes.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-09T06:51:39.000+0000", "updated": "2012-08-09T06:51:39.000+0000" }, { "id": "213548", "author": { "name": "wchen@money-media.com", "key": "wchen@money-media.com", "displayName": "Wensheng Chen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is a reason why the ticket specifically says Android 2.3.3 and 2.3.4 device and emulator.\r\nYou have to test on these versions to reproduce the problem.", "updateAuthor": { "name": "wchen@money-media.com", "key": "wchen@money-media.com", "displayName": "Wensheng Chen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-09T09:27:09.000+0000", "updated": "2012-08-09T09:27:09.000+0000" }, { "id": "213574", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tested this on Titanium 2.1.0, 2.0.2 sdks with a android 2.3.6 and a 2.3.4 devices and could not reproduce the issue. Marking this as cannot reproduce.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-09T10:30:15.000+0000", "updated": "2012-08-09T10:30:15.000+0000" }, { "id": "414580", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:31:10.000+0000", "updated": "2017-03-21T22:31:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }