{ "id": "142176", "key": "TIMOB-18300", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-10-18T19:34:05.000+0000", "created": "2014-12-31T00:16:25.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "WebView" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:59:16.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "h2. Problem\r\n\r\nThe loading property of WebView returns 'undefined' even if the WebView is clearly loading a web page. \r\n1. It should return false when not loading, not 'undefined'\r\n2. It should return true when the WebView is loading content\r\n\r\nh2. Test case\r\n\r\nRun this in an interval loop\r\n{code:lang=javascript|title=app.js}\r\nTi.API.info(\"Search loading: \" + $.searchview.loading);\r\n{code}\r\n\r\nh2. Logs\r\n\r\n{code:lang=none|title=console}\r\n[INFO] : Search loading: undefined\r\n[INFO] : Search loading: undefined\r\n[INFO] : Search loading: undefined\r\n[INFO] : Search loading: undefined\r\n[INFO] : Search loading: undefined\r\n{code}\r\n\r\nh2. Discussions\r\n", "attachment": [], "flagged": false, "summary": "iOS: WebView: loading property returns undefined", "creator": { "name": "Claus Stilborg", "key": "claus stilborg", "displayName": "Claus Stilborg", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "Claus Stilborg", "key": "claus stilborg", "displayName": "Claus Stilborg", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "MAC OS X yosemite", "comment": { "comments": [ { "id": "399285", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Duplicate of TIMOB-10488", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T19:34:05.000+0000", "updated": "2016-10-18T19:34:05.000+0000" }, { "id": "415067", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket has been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:59:16.000+0000", "updated": "2017-03-22T21:59:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }