Project: titanium
Issue TIMOB-17457: Android: JS Global Object - JS global object is undefined after calling Ti.App.addEventListener
*Details:* JS global object is undefined after calling Ti.App.addEventListener. *Note:* 1. This does *not* occur on iOS 2. This is not a regression with 3.2.3.GA *Steps to reproduce:* 1. Create a classic Titanium app 2. Download and unzip Archive.zip 3. Copy all contents in the Archive folder and paste them in the Resources directory from step 1 4. Next, install app to an Android device 5. After app is installed, press "Start Automation" button *Actual:* After test is complete, "Cannot read property" runtime error appears (see runtime_error.png attachment). The bug is in testExecutor.js on line 34. *Expected:* App should run without throwing a runtime error.
Story points: 3