Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-486] createWebView + local HTML with a DOCTYPE crashes app

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-28T12:03:10.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscrash, html, ios, iphone, local, webview
Reporterbryan (at axeva)
AssigneeReggie Seagraves
Created2011-04-15T02:30:05.000+0000
Updated2011-04-28T12:03:10.000+0000

Description

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

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

Setup I'm using:

Titanium 0.92
iPhone SDK 3.0 (or 3.1.3)

Attachments

FileDateSize
app.js2011-04-15T02:30:06.000+0000216
simple.html2011-04-15T02:30:06.000+0000263

Comments

  1. Stef T 2011-04-15

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

JSON Source