laurentj / slimerjs

A scriptable browser like PhantomJS, based on Firefox
http://slimerjs.org
Other
3k stars 259 forks source link

SlimerJS hangs irregular and often #317

Open s-a opened 9 years ago

s-a commented 9 years ago

I am playing with SlimerJS and noticed that the execution hangs in irregular intervals. Regarding to this FAQ topic I can say that here is enough free memory on the system.

The script does not exit even if the Mocha.js timeout occurs.

...
Gravity
    √ should execute program
    √ should pass the tests

results
    √ should show results

18 passing (42s)

>>  done
>>  timeout
1425111785706   addons.repository       WARN    cacheEnabled: Couldn't get pref: extensions.getAddons.cache.enabled

I am using https://github.com/Bartvds/grunt-mocha-slimer to execute a test suite. A reproducible example is available at https://github.com/s-a/TRY.js described at https://github.com/s-a/TRY.js#improve-the-code. I am currently at this point in repo history https://github.com/s-a/TRY.js/tree/ccf2f0684c5274812a63f84b13091729eac5460b.

itsjohncs commented 9 years ago

I'm also encountering this. We're using Casper and Slimer together. I'm unsure of what's causing it.

prateek032 commented 9 years ago

I agree with you @brownhead , i am also facing same issue.

shaunthomas999 commented 9 years ago

+1 - I am also facing this issue

subeebot commented 8 years ago

+1 on OS X