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.
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.