Commit Graph
5 Commits
Author SHA1 Message Date
Frank Denis 77caa2b4d5 Correct /test-data mount point 2014-11-22 14:34:10 -08:00
Frank Denis df1a75858c Mount the current dir as /test-data (nodefs) for testing Javascript code 2014-11-22 13:46:09 -08:00
Frank Denis cd2a7019f1 pre.js: unlink /dev/(u)random before re-registering them 2014-11-22 11:56:36 -08:00
Frank Denis b0403efc80 Fail if JS crypto is not available.
Emscripten registers /dev/urandom and /dev/random by default, but falls back to
Math.random()*256 when crypto.getRandomValues() is not available, which is not
acceptable. So we need to re-register them no matter what.
2014-11-22 11:24:32 -08:00
Frank Denis 43132738d2 Add a pre-js script for providing /dev/urandom to tests in Javascript.
Not plugged to the build system yet.
2013-07-07 22:04:13 -07:00