Skip to content

Commit 3155b92

Browse files
committed
Merge remote-tracking branch 'private/jg-fix-cache' into v2.64.0-rc
2 parents e278746 + fe6a998 commit 3155b92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6268,9 +6268,11 @@
62686268
this.assertRecorderScript(true);
62696269
return new Promise(_.bind(function (resolve) {
62706270
this.randomStub.restore();
6271-
this.getRecorderScript().addEventListener('load', function() {
6271+
if (window['__mp_recorder']) {
62726272
resolve();
6273-
});
6273+
} else {
6274+
this.getRecorderScript().addEventListener('load', resolve);
6275+
}
62746276
}, this))
62756277
}, this))
62766278
.then(_.bind(function () {

0 commit comments

Comments
 (0)