[TIMOB-486] createWebView + local HTML with a DOCTYPE crashes app
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Invalid | 
| Resolution Date | 2011-04-28T12:03:10.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | n/a | 
| Components | iOS | 
| Labels | crash, html, ios, iphone, local, webview | 
| Reporter | bryan (at axeva) | 
| Assignee | Reggie Seagraves | 
| Created | 2011-04-15T02:30:05.000+0000 | 
| Updated | 2011-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
| File | Date | Size | 
|---|---|---|
| app.js | 2011-04-15T02:30:06.000+0000 | 216 | 
| simple.html | 2011-04-15T02:30:06.000+0000 | 263 | 
As of Ti.mobile 1.6.0 this works. Consider it 'invalid' and closed.