[TIMOB-25787] Windows: Instance properties can be called without object instance
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | Low |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | Release 7.1.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Kota Iguchi |
| Created | 2018-02-16T23:57:17.000+0000 |
| Updated | 2018-03-08T03:31:17.000+0000 |
Description
Some Titanium APIs can be invoked without an object instance existing.
Ti.Media.AudiPlayer.time; // this still calls AudioPlayer::get_time(), it should not and should be 'undefined'
This is a basic design issue in HAL, it basically doesn't distinguish between static property and instance property and there's no way to define "instance only" property - [TIMOB-18681]
No comments