{ "id": "106119", "key": "TIMOB-11983", "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": "2013-01-14T15:28:25.000+0000", "created": "2012-12-06T22:04:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "24483", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "87800", "key": "TIMOB-7965", "fields": { "summary": "iOS: canGoBack/canGoForward does not work for local files", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T23:12:03.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h3. Problem description \r\niOS: window.history.back() is not working on webViews\r\n\r\nh3. Steps to reproduce\r\nOpen a webView including a link to another html page.\r\nIn the new page, trigger the 'window.history.back()' function.\r\nResult: page is not going back to the previous one\r\n\r\nIt works fine on Android.\r\n\r\nSample code:\r\n{code}\r\n// app.js\r\nvar win = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'blue',\r\n\ttitle:'Test'\r\n});\r\n\r\nvar wv = Ti.UI.createWebView({\r\n\turl:'index.html'\r\n});\r\n\r\nwin.add(wv);\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\n{code}\r\n// index.html\r\n \r\n \r\n \r\n Test \r\n \r\n \r\n \r\n page1\r\n \r\n\r\n{code}\r\n\r\n{code}\r\n// page1.html\r\n\r\n\r\n \r\n Test\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: window.history.back() is not working on webViews", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK tested 2.1.4 and 3.x latest CI\r\niOS 5.1 and 6.0", "comment": { "comments": [ { "id": "414144", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Kate McGregor", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T23:12:03.000+0000", "updated": "2017-03-20T23:12:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }