Title: [274425] trunk/Source/WebCore
Revision
274425
Author
you...@apple.com
Date
2021-03-15 10:02:09 -0700 (Mon, 15 Mar 2021)

Log Message

Add a WebAudio quirk for Zoom
https://bugs.webkit.org/show_bug.cgi?id=223180
<rdar://75070331>

Reviewed by Eric Carlson.

Manually tested.

* page/Quirks.cpp:
(WebCore::Quirks::shouldAutoplayWebAudioForArbitraryUserGesture const):
This allows playing audio through web audio even in cases where microphone is not yet granted or denied.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (274424 => 274425)


--- trunk/Source/WebCore/ChangeLog	2021-03-15 16:44:04 UTC (rev 274424)
+++ trunk/Source/WebCore/ChangeLog	2021-03-15 17:02:09 UTC (rev 274425)
@@ -1,3 +1,17 @@
+2021-03-15  Youenn Fablet  <you...@apple.com>
+
+        Add a WebAudio quirk for Zoom
+        https://bugs.webkit.org/show_bug.cgi?id=223180
+        <rdar://75070331>
+
+        Reviewed by Eric Carlson.
+
+        Manually tested.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldAutoplayWebAudioForArbitraryUserGesture const):
+        This allows playing audio through web audio even in cases where microphone is not yet granted or denied.
+
 2021-03-15  Zalan Bujtas  <za...@apple.com>
 
         Fit-border-to-line may change the layout constraints between 2 paginated line layouts

Modified: trunk/Source/WebCore/page/Quirks.cpp (274424 => 274425)


--- trunk/Source/WebCore/page/Quirks.cpp	2021-03-15 16:44:04 UTC (rev 274424)
+++ trunk/Source/WebCore/page/Quirks.cpp	2021-03-15 17:02:09 UTC (rev 274425)
@@ -166,7 +166,7 @@
         return false;
 
     auto host = m_document->topDocument().url().host();
-    return equalLettersIgnoringASCIICase(host, "www.bing.com");
+    return equalLettersIgnoringASCIICase(host, "www.bing.com") || host.endsWithIgnoringASCIICase(".zoom.us");
 }
 
 bool Quirks::hasBrokenEncryptedMediaAPISupportQuirk() const
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to