Changeset 225785 in webkit
- Timestamp:
- Dec 12, 2017 9:26:34 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r225782 r225785 1 2017-12-12 Youenn Fablet <youenn@apple.com> 2 3 Allow AudioContext to start when getUserMedia is on 4 https://bugs.webkit.org/show_bug.cgi?id=180680 5 6 Reviewed by Eric Carlson. 7 8 * webrtc/getUserMedia-webaudio-autoplay-expected.txt: Added. 9 * webrtc/getUserMedia-webaudio-autoplay.html: Added. 10 1 11 2017-12-12 Ms2ger <Ms2ger@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r225784 r225785 1 2017-12-12 Youenn Fablet <youenn@apple.com> 2 3 Allow AudioContext to start when getUserMedia is on 4 https://bugs.webkit.org/show_bug.cgi?id=180680 5 6 Reviewed by Eric Carlson. 7 8 Test: webrtc/getUserMedia-webaudio-autoplay.html 9 10 * Modules/webaudio/AudioContext.cpp: 11 (WebCore::AudioContext::willBeginPlayback): 12 1 13 2017-12-12 Romain Bellessort <romain.bellessort@crf.canon.fr> 2 14 -
trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp
r225470 r225785 985 985 { 986 986 if (userGestureRequiredForAudioStart()) { 987 if (!processingUserGestureForMedia() )987 if (!processingUserGestureForMedia() && !document()->isCapturing()) 988 988 return false; 989 989 removeBehaviorRestriction(AudioContext::RequireUserGestureForAudioStartRestriction);
Note: See TracChangeset
for help on using the changeset viewer.