Refs #482: selftest server should read png as binary file
PhantomJS has a strange behavior on fs.read: it seems it reads file always as binary file. However SlimerJS's fs.read strictly respect the 'b' flag. So the web server of selftest should return content of binary files as... binary data. Else images are not sent correctly to the browser and Gecko cannot display them. and then some tests fail, like tests on assertVisible.
Showing
1 changed file
with
10 additions
and
1 deletions
-
Please register or sign in to post a comment