Bug 935441 - [Keyboard] 2 unit tests failures with the latest firefox builds r=janjongboom

Defines the property on `window` itself.