[TIMOB-13780] MobileWeb: scripts executed in WebView do not have access to Titanium namespace
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-05-08T20:36:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | n/a |
Reporter | Carter Lathrop |
Assignee | Carter Lathrop |
Created | 2013-05-07T16:12:18.000+0000 |
Updated | 2014-01-28T23:50:00.000+0000 |
Description
*Reproduction steps:*
1) run attached application
2) see console log
*Expected result:* "hello world" in the console.
*Actual result:* error message in the console. The exception information indicates that there is no access to the Titanium namespace in the script embedded into the local HTML file being displayed in the web view.
Below is the actual printout:
[INFO] Appcelerator Titanium 3.2.0 Mobile Web index.html:2659
undefined Titanium is not defined local_webview.html:15
undefined Ti is not defined local_webview.html:20
[INFO] Loaded index.html:2659
Attachments
File | Date | Size |
---|---|---|
webviewsample.zip | 2013-05-07T16:12:18.000+0000 | 2370784 |