From 9966dbc27fbe51168826849c66b780d36e7e8814 Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Thu, 14 Apr 2016 20:24:35 -0400 Subject: [PATCH] :fire: Unnecessary audio hack No longer needed with the `backgroundThrottling` option --- src/initialize-test-window.coffee | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/initialize-test-window.coffee b/src/initialize-test-window.coffee index 690180fc8..3558b8d0f 100644 --- a/src/initialize-test-window.coffee +++ b/src/initialize-test-window.coffee @@ -48,13 +48,6 @@ module.exports = ({blobStore}) -> document.title = "Spec Suite" - # Avoid throttling of test window by playing silence - # See related discussion in https://github.com/atom/atom/pull/9485 - context = new AudioContext() - source = context.createBufferSource() - source.connect(context.destination) - source.start(0) - testRunner = require(testRunnerPath) legacyTestRunner = require(legacyTestRunnerPath) buildDefaultApplicationDelegate = -> new ApplicationDelegate()