mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
🔥 Unnecessary audio hack
No longer needed with the `backgroundThrottling` option
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user