Add a quirk to allow starting AudioContext if document was interacted
Created attachment 401715 [details] Patch
Comment on attachment 401715 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401715&action=review > Source/WebCore/Modules/webaudio/AudioContext.cpp:1089 > +static bool isDocumentAllowingAutoplayWebAudio(const Document& document) Minor nit: "is ... allowing" isn't quite right. Maybe something like "documentAllowsWebAudioToAutoPlay", or "doesDocumentAllowWebAudioToAutoPlay"?
<rdar://problem/64147813>
Created attachment 401887 [details] Patch for landing
Committed r263025: <https://trac.webkit.org/changeset/263025> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401887 [details].
(In reply to Eric Carlson from comment #2) > Comment on attachment 401715 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=401715&action=review > > > Source/WebCore/Modules/webaudio/AudioContext.cpp:1089 > > +static bool isDocumentAllowingAutoplayWebAudio(const Document& document) > > Minor nit: "is ... allowing" isn't quite right. Maybe something like > "documentAllowsWebAudioToAutoPlay", or "doesDocumentAllowWebAudioToAutoPlay"? I chose shouldDocumentAllowWebAudioToAutoPlay