Skip to content

Commit

Permalink
Remove setTimeout call, unbreak master
Browse files Browse the repository at this point in the history
Sigh. #4241 broke master and nobody fixed it. Any API that is rebased
against master to avoid failing Edge (which is now ignored, thankfully)
will now fail because of this so let’s fix this…
  • Loading branch information
annevk committed May 18, 2017
1 parent e366844 commit a9824d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encrypted-media/scripts/playback-persistent-license-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function runTest(config,qualifier) {
}).then(test.step_func(function() {
_events.push(event.messageType + '-response-resolved');
if (event.messageType === 'license-release') {
setTimeout(test.step_func(function() {
test.step_timeout(function() {
checkEventSequence(_events, [
'generaterequest',
[ // potentially repeating
Expand All @@ -75,7 +75,7 @@ function runTest(config,qualifier) {
'keystatuseschange-empty'
]);
test.done();
} ), 100);
}, 100);
}
})).catch(onFailure);
}
Expand Down

0 comments on commit a9824d9

Please sign in to comment.