andreasgal/dom.js — comment on commit 167ae6715759a03a1fb5558b53857a5397d59b8c
File: nodeservo/servo.js line 124
By fzzzy:

Maybe we need a Window.js that is just a stub implementation that requires initialization with callbacks specific to the host environment; that would help ease the pain of all the window-mocking tomfoolery.

Especially with window.load, which is set when

is set, the window object is pretty fundamental to a lot of js.