12020-09-10 Chris Dumez <cdumez@apple.com>
2
3 AudioContext does not start rendering until an AudioNode is constructed
4 https://bugs.webkit.org/show_bug.cgi?id=216393
5
6 Reviewed by NOBODY (OOPS!).
7
8 AudioContext does not start rendering until an AudioNode is constructed. This is not as per specification
9 and does not match Chrome's behavior.
10
11 Specification section is here:
12 - https://www.w3.org/TR/webaudio/#dom-audiocontext-audiocontext
13 and says
14 "If the context is allowed to start, send a control message to start processing."
15
16 No new tests, rebaselined existing test.
17
18 * Modules/webaudio/BaseAudioContext.cpp:
19 (WebCore::BaseAudioContext::BaseAudioContext):
20 * dom/Document.cpp:
21 (WebCore::Document::addMediaCanStartListener):
22