Revert "Use documented electron-window API"
Revert "Use documented electron-window API"

This reverts commit 90b9219a71ea0a94585113b75ff61392bad50339.

jprichardson/electron-mocha,jprichardson/electron-mocha