diff --git a/src/initialize-test-window.coffee b/src/initialize-test-window.coffee index f33cca09d..72a071fb6 100644 --- a/src/initialize-test-window.coffee +++ b/src/initialize-test-window.coffee @@ -57,6 +57,12 @@ module.exports = ({blobStore}) -> document.title = "Spec Suite" + # Avoid throttling of test window by playing silence + context = new AudioContext() + source = context.createBufferSource() + source.connect(context.destination) + source.start(0) + testRunner = require(testRunnerPath) legacyTestRunner = require(legacyTestRunnerPath) buildDefaultApplicationDelegate = -> new ApplicationDelegate()