fix: report correct transportName when running inside a new window

Since https://github.com/karma-runner/karma/commit/471e3a8a506836ba9711637d325c680cfbfff64f Karma can run the tests in a new window, in which case we need to access the parent window through `window.opener`.