[Webkit-unassigned] [Bug 214932] web audio api outputs silence for 302 redirected resource in safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 30 11:41:43 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=214932

--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
This is caused by this check:
--- a/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.cpp
+++ b/Source/WebCore/Modules/webaudio/MediaElementAudioSourceNode.cpp
@@ -107,8 +107,8 @@ void MediaElementAudioSourceNode::setFormat(size_t numberOfChannels, float sourc

 bool MediaElementAudioSourceNode::wouldTaintOrigin()
 {
-    if (!m_mediaElement->hasSingleSecurityOrigin())
-        return true;
+    //if (!m_mediaElement->hasSingleSecurityOrigin())
+    //    return true;

     if (m_mediaElement->didPassCORSAccessCheck())
         return false;

If I comment it out then it passes. Seems we are stricter than other browsers here and likely not matching the spec [1]. Hopefully, Jer and Youenn can help here. I think Jer made this change and Youenn is the Fetch expert (since Fetch spec is referenced here).

[1] https://www.w3.org/TR/webaudio/#MediaElementAudioSourceOptions-security

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200730/d536eb1b/attachment-0001.htm>


More information about the webkit-unassigned mailing list