From 4a8178f3a0504ef007b23ef0fd8f5ca128f0c5c6 Mon Sep 17 00:00:00 2001 From: johnjbarton Date: Thu, 17 Dec 2020 14:08:55 -0800 Subject: [PATCH] fix(client): do not reset karmaNavigating in unload handler (#3591) The unload handler itself does not know about navigation. May fix #3482 --- client/karma.js | 1 - static/karma.js | 1 - 2 files changed, 2 deletions(-) diff --git a/client/karma.js b/client/karma.js index ec0db417e..6790a77ac 100644 --- a/client/karma.js +++ b/client/karma.js @@ -135,7 +135,6 @@ function Karma (socket, iframe, opener, navigator, location, document) { // TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL) self.error('Some of your tests did a full page reload!') } - karmaNavigating = false } function clearContext () { diff --git a/static/karma.js b/static/karma.js index bc3a2bbb6..0c289e0ca 100644 --- a/static/karma.js +++ b/static/karma.js @@ -145,7 +145,6 @@ function Karma (socket, iframe, opener, navigator, location, document) { // TODO(vojta): show what test (with explanation about jasmine.UPDATE_INTERVAL) self.error('Some of your tests did a full page reload!') } - karmaNavigating = false } function clearContext () {