Title: [291446] trunk/Source/WebCore
Revision
291446
Author
cdu...@apple.com
Date
2022-03-17 15:07:39 -0700 (Thu, 17 Mar 2022)

Log Message

Microsoft Teams fails to launch from Safari
https://bugs.webkit.org/show_bug.cgi?id=238045
<rdar://90434296>

Reviewed by Geoffrey Garen.

Extend MS Teams quirk to teams.microsoft.com, not just teams.live.com.

* page/Quirks.cpp:
(WebCore::Quirks::shouldAllowNavigationToCustomProtocolWithoutUserGesture):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (291445 => 291446)


--- trunk/Source/WebCore/ChangeLog	2022-03-17 21:57:54 UTC (rev 291445)
+++ trunk/Source/WebCore/ChangeLog	2022-03-17 22:07:39 UTC (rev 291446)
@@ -1,3 +1,16 @@
+2022-03-17  Chris Dumez  <cdu...@apple.com>
+
+        Microsoft Teams fails to launch from Safari
+        https://bugs.webkit.org/show_bug.cgi?id=238045
+        <rdar://90434296>
+
+        Reviewed by Geoffrey Garen.
+
+        Extend MS Teams quirk to teams.microsoft.com, not just teams.live.com.
+
+        * page/Quirks.cpp:
+        (WebCore::Quirks::shouldAllowNavigationToCustomProtocolWithoutUserGesture):
+
 2022-03-17  Alejandro G. Castro  <a...@igalia.com>
 
         [GTK][WPE] m_compositorThread ASSERT in TextureMapper classes can just be used in debug mode

Modified: trunk/Source/WebCore/page/Quirks.cpp (291445 => 291446)


--- trunk/Source/WebCore/page/Quirks.cpp	2022-03-17 21:57:54 UTC (rev 291445)
+++ trunk/Source/WebCore/page/Quirks.cpp	2022-03-17 22:07:39 UTC (rev 291446)
@@ -1422,7 +1422,7 @@
 
 bool Quirks::shouldAllowNavigationToCustomProtocolWithoutUserGesture(StringView protocol, const SecurityOriginData& requesterOrigin)
 {
-    return protocol == "msteams" && requesterOrigin.host == "teams.live.com";
+    return protocol == "msteams" && (requesterOrigin.host == "teams.live.com" || requesterOrigin.host == "teams.microsoft.com");
 }
 
 #if ENABLE(IMAGE_ANALYSIS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to