In this commit, we preserve the status quo of this codebase for jsdom v9. The code in 0.6.x (with the simpler virtualConsole.sendTo call) does not pass the full test suite.
However, for v10+, we use exactly the same code as in the latest Scala.js 0.6.x, coming from the above commit.
This is a forward-port of the upstream commit https://github.com/scala-js/scala-js/commit/8d1938b6eaa985c933189f0eaf82edee0b3cb897
In this commit, we preserve the status quo of this codebase for jsdom v9. The code in 0.6.x (with the simpler
virtualConsole.sendTo
call) does not pass the full test suite.However, for v10+, we use exactly the same code as in the latest Scala.js 0.6.x, coming from the above commit.