You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
env.rhino.js is part of env.js. EnvJS is used to emulate a headless browser to be used in eg nodejs or rhino. Ample is included same way as you would include it in any normal HTML page. The HTML page is loaded in the rhino javascript engine as mentioned in the bug report. Please check the EnvJs site for more info on how to embed it
Good luck my friend and if you need help pls mail me
Stef
-----Original Message-----
From: Sergey Ilinsky [mailto:[email protected]]
Sent: Sun 3/18/2012 9:37 PM
To: [email protected]
Subject: Re: [amplesdk] Rhino 1.7R3 hangs when using amplesdk with env.js (#129)
What is env.rhino.js? What shall be file.html? Where is Ample SDK?
Reply to this email directly or view it on GitHub: #129 (comment)
Used Rhino 1.7R3 and envjs 1.2.13 and ample latest version.
load('env.rhino.js');
window.onload = function () {console.log('loaded);};
window.onunload = function () {console.log('unloaded');};
window.location = 'file.html';
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.
The text was updated successfully, but these errors were encountered: