{ "id": "174049", "key": "TIMOB-27348", "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": [ { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-10-03T14:05:43.000+0000", "created": "2019-08-22T18:07:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "engSchedule" ], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [ { "id": "57826", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174028", "key": "TIMOB-27339", "fields": { "summary": "iOS: [WebView].stopLoading() is not working inside beforeLoad", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-10-03T14:05:43.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": "{{Titanium.WebView.stopLoading()}} has no effect when called from events.\r\n\r\n*TEST CASE*\r\n{code:js}\r\nconst win = Ti.UI.createWindow();\r\nconst webView = Ti.UI.createWebView({ url: 'https://google.com/' });\r\n\r\n// prevent page from loading.\r\nwebView.addEventListener('beforeload', e => {\r\n webView.stopLoading();\r\n});\r\n\r\nwin.add(webView);\r\nwin.open();\r\n{code}\r\n\r\n*EXPECTED*\r\n- Page is prevented from load, displaying a blank screen.\r\n\r\n*ACTUAL*\r\n- Page loads.", "attachment": [], "flagged": false, "summary": "Android: WebView.stopLoading() is not functional when triggered by events", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1160, "state": "closed", "name": "2019 Sprint 17", "startDate": "2019-08-12T07:59:28.950Z", "endDate": "2019-08-25T07:59:00.000Z", "completeDate": "2019-08-26T15:35:29.980Z", "originBoardId": 114 }, { "id": 1161, "state": "closed", "name": "2019 Sprint 18", "startDate": "2019-08-26T21:46:26.269Z", "endDate": "2019-09-08T21:46:00.000Z", "completeDate": "2019-09-09T20:39:58.761Z", "originBoardId": 114 }, { "id": 1163, "state": "closed", "name": "2019 Sprint 19", "startDate": "2019-09-09T20:43:13.091Z", "endDate": "2019-09-22T20:43:00.000Z", "completeDate": "2019-09-23T15:37:35.874Z", "originBoardId": 114 }, { "id": 1165, "state": "closed", "name": "2019 Sprint 20", "startDate": "2019-09-23T15:38:43.949Z", "endDate": "2019-10-06T15:38:00.000Z", "completeDate": "2019-10-07T18:33:11.953Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "450745", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/11169\r\n8_1_X: https://github.com/appcelerator/titanium_mobile/pull/11171\r\n8_3_X: https://github.com/appcelerator/titanium_mobile/pull/11170\r\n", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-22T18:26:23.000+0000", "updated": "2019-08-22T18:26:23.000+0000" }, { "id": "450991", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "There's an 8_1_X PR, so this may potentially be a 8.1.2 fixVersion...", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-08-30T13:02:17.000+0000", "updated": "2019-08-30T13:02:17.000+0000" }, { "id": "451364", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-13T17:41:43.000+0000", "updated": "2019-09-13T17:41:43.000+0000" }, { "id": "451812", "author": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug fixed in SDK version 8.3.0.v20191002165629", "updateAuthor": { "name": "eboateng", "key": "eboateng", "displayName": "Ebenezer Boateng", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-03T14:02:51.000+0000", "updated": "2019-10-03T14:02:51.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }