Bug 935441 - [Keyboard] 2 unit tests failures with the latest firefox bu...

...ilds r=janjongboom

Defines the property on `window` itself, and delete it at teardown so that the
prototype's property is used instead.