As a matter of fact this test checks that browserEventHandler is never actually called, so because open window is not a browser so I really don't understand @erikvold what are you asking for. Could you write small snippet of what you mean ?