{ "id": "61118", "key": "TIMOB-486", "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-28T12:03:10.000+0000", "created": "2011-04-15T02:30:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "crash", "html", "ios", "iphone", "local", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-28T12:03:10.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}

Loading a local HTML into a WebView works nicely. If that same\nHTML file has a DOCTYPE specified, however, the app will crash.

\n

See the attached app.js and simple.html for an example. Both are\nvery simple, and will crash the App.

\n

Setup I'm using:

\n

Titanium 0.92
\niPhone SDK 3.0 (or 3.1.3)

{html}", "attachment": [ { "id": "17857", "filename": "app.js", "author": { "name": "bryan(ataxeva)", "key": "bryan(ataxeva)", "displayName": "bryan (at axeva)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:06.000+0000", "size": 216, "mimeType": "application/x-javascript" }, { "id": "17858", "filename": "simple.html", "author": { "name": "bryan(ataxeva)", "key": "bryan(ataxeva)", "displayName": "bryan (at axeva)", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:06.000+0000", "size": 263, "mimeType": "text/html" } ], "flagged": false, "summary": "createWebView + local HTML with a DOCTYPE crashes app", "creator": { "name": "bryan(ataxeva)", "key": "bryan(ataxeva)", "displayName": "bryan (at axeva)", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bryan(ataxeva)", "key": "bryan(ataxeva)", "displayName": "bryan (at axeva)", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123366", "author": { "name": "steft", "key": "steft", "displayName": "Stef T", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

As of Ti.mobile 1.6.0 this works. Consider it 'invalid' and\nclosed.

{html}", "updateAuthor": { "name": "steft", "key": "steft", "displayName": "Stef T", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:30:06.000+0000", "updated": "2011-04-15T02:30:06.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }