[TIMOB-14128] Android: Implement the "url" property for windows and Ti.UI.currentWindow
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-20T21:26:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 13 API, 2013 Sprint 13, Release 3.2.0 |
Components | Android |
Labels | n/a |
Reporter | Ping Wang |
Assignee | Ping Wang |
Created | 2013-06-05T21:33:38.000+0000 |
Updated | 2017-03-16T21:07:00.000+0000 |
Description
Need to handle this property specially because the window with a url will create a new JavaScript sub-context that will run in its own thread and global variable space.
Need to handle Ti.UI.currentWindow. Ti.UI.currentWindow should and should only works in the sub-context of the url window. In the other cases, Ti.UI.currentWindow returns null on Android and returns undefined on iOS.
Closing ticket as fixed.