clientside/amplesdk — Issue #129: Rhino 1.7R3 hangs when using amplesdk with env.js
Author: shock01
Created: 2012-03-02 11:04:34+00:00
State: open

Used Rhino 1.7R3 and envjs 1.2.13 and ample latest version.

1. Create js file named file.js
2. content :
load('env.rhino.js');
window.onload = function () {console.log('loaded);};
window.onunload = function () {console.log('unloaded');};
window.location = 'file.html';

3. run it with java -jar js.jar -1 -opt file.js

Result : process hangs and will not end , onunload is not fired
Expected Result : process finishes and onunload is fired as expected

Goal is to use amplesdk in automated tests run in rhino.