{ "id": "109967", "key": "TIMOB-12803", "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": null, "resolutiondate": null, "created": "2013-02-21T08:44:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "Module", "WebView", "iOS", "mobilesdk" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:38.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "We have noticed that third party cookies are not allowed in WebViews for iOS 5.1+.\r\n\r\nTo reproduce this issue create a new WebView and set the URL to http://m.na.se/Default.aspx?pageid=1179 this should show an ad, but just shows a blank window. Testing the same URL in the browser (both Safari on PC and iOS works, given that cookies are allowed).\r\n\r\nAttached is the wanted result as a screenshot from the browser.\r\n\r\nAccording to http://stackoverflow.com/questions/14448373/3rd-party-cookies-in-an-ios6-uiwebview this behaviour has changed as of iOS 6 but we can reproduce it in iOS 5 too.\r\n\r\n{code}\r\nvar win1 = Ti.UI.createWindow({\r\n\tbackgroundColor : \"white\"\r\n});\r\n\r\nvar webVi = Ti.UI.createWebView({\r\n\ttop:100,\r\n\theight:Ti.UI.SIZE,\r\n\twidth:Ti.UI.SIZE,\r\n\tleft:10,\r\n\turl:\"http://m.na.se/Default.aspx?pageid=1179\"\r\n});\r\n\r\nwin1.add(webVi);\r\nwin1.open();\r\n{code}", "attachment": [ { "id": "35660", "filename": "expected_ad.png", "author": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-21T08:44:09.000+0000", "size": 219150, "mimeType": "image/png" } ], "flagged": false, "summary": "3rd party cookies enable issue in WebView", "creator": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "anigam", "key": "anigam", "displayName": "Ashish Nigam", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "iOS, Titanium Mobile SDK.", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }