Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14128] Android: Implement the "url" property for windows and Ti.UI.currentWindow

GitHub Issuen/a
TypeSub-task
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-06-20T21:26:22.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 13 API, 2013 Sprint 13, Release 3.2.0
ComponentsAndroid
Labelsn/a
ReporterPing Wang
AssigneePing Wang
Created2013-06-05T21:33:38.000+0000
Updated2017-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.

Comments

  1. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source