As described in ariya/phantomjs#12697, PhantomJS runs can output spurious
warnings to the console starting with Unsafe Javascript attempt. Using
a setTimeout to call phantom.exit immediately after removing the global
onError handler eliminates these messages.
As described in ariya/phantomjs#12697, PhantomJS runs can output spurious warnings to the console starting with
Unsafe Javascript attempt
. Using asetTimeout
to callphantom.exit
immediately after removing the globalonError
handler eliminates these messages.Progress on #364