baudehlo / node-phantom-simple

Simple bridge to phantomjs for Node
MIT License
201 stars 70 forks source link

Fix onLoadFinished sometimes being called with wrong arguments #147

Open awlayton opened 8 years ago

awlayton commented 8 years ago

With SlimerJS, onLoadFinished was called with an array of the arguments as the first argument, instead of actually receiving multiple arguments. This fixes that.

There was already a test for onLoadFinished, but I changed to it fail like it should for the above scenario.

leonardorifeli commented 7 years ago

ping