{ "id": "62011", "key": "TIMOB-1379", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T02:50:49.000+0000", "created": "2011-04-15T02:50:48.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "iphone", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:17:33.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": "{html}

update: invalid, see comments and http://github.com/DmitryBaranovskiy/raphael/issues/issue/185/

\n

Dear Appcelerator developers,

\n

I've come across a weird webView issue:
\nFor some reason the great raphaeljs cross browser svg library won't\nwork in Titanium's webView, although it does not give any problems\nin the regular mobile safari (both in iphone simulator and on\ndevice)

\n

To reproduce you can simply view the differences between\nbrowsing to this official Raphael touch example in (mobile)\nsafari:
\nhttp://raphaeljs.com/touches.html\nand compare this to creating a webView in an empty Titanium mobile\nproject which has the url property set to the same location:

\n

var win = Ti.UI.currentWindow;
\nvar webView = Ti.UI.createWebView({url:'http://raphaeljs.com/touches.html'});
\nwin.add(webView);

\n

Somehow the script breaks on the Titanium webView. When I try to\ninclude a local copy of the raphael.js source file in a Titanium\nproject the jsLint won't continue because of too much warnings.\nSomeone told me to edit the compiler.js source file to switch of\nthe jsLint feature, but this won't change anything to the webView\nnot being able to render it.

\n

see the related forum question:
\n\nhttp://developer.appcelerator.com/question/46241/jslint-prevents-ra...

{html}", "attachment": [], "flagged": false, "summary": "webView iphone / simulator cannot handle Raphaeljs", "creator": { "name": "victor", "key": "victor", "displayName": "Victor", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "victor", "key": "victor", "displayName": "Victor", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125500", "author": { "name": "victor", "key": "victor", "displayName": "Victor", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This ticket can be set to invalid, I could trace the weirdness\nback to an issue with the Raphaeljs source code. It tested with a\nregex for a particular 'Version/' in the navigator.userAgent\nproperty which is apparently changed/different than the mobile\nsafari userAgent. More information about this non-titanium issue\nwhich also affects the simple 'add to homescreen' feature of mobile\nsafari can be read here: http://github.com/DmitryBaranovskiy/raphael/issues#issue/185

{html}", "updateAuthor": { "name": "victor", "key": "victor", "displayName": "Victor", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:50:49.000+0000", "updated": "2011-04-15T02:50:49.000+0000" }, { "id": "410968", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:17:33.000+0000", "updated": "2017-03-09T23:17:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }