Skip to content

Commit c1bb15a

Browse files
committed
fix(client): Wait for childwindow to load
1 parent fdded28 commit c1bb15a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

client/karma.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ var Karma = function (socket, iframe, opener, navigator, location) {
3232
childWindow = opener('about:blank')
3333
}
3434
childWindow.location = url
35-
reloadingContext = false
35+
childWindow.onLoad = function () {
36+
reloadingContext = false
37+
}
3638
} else {
3739
iframe.src = url
3840
iframe.onLoad = function () {

0 commit comments

Comments
 (0)