Bug 901744 more asserts for tests/test-window-events.test browser events

This should give us some more information about where window-events is hanging, if it happens again.