I try to exit from the my javascript
code like this:
slimer.exit(1);
But I don't get the 1 exit code. I try even:
slimer.exit(2);
I get exit code 0 forever.
Any idea/help?
Straight from the documentation... (emphasis mine)
exit()
It stops the script and SlimerJS exit.
It accepts an optional exit code but it is ignored because of a limitation in Firefox/XulRunner.
slimer.exit();
The exit code is ignored. This is a known issue in slimerJS.