Title: [292646] branches/safari-613-branch/Source/WebCore
Revision
292646
Author
[email protected]
Date
2022-04-08 17:13:10 -0700 (Fri, 08 Apr 2022)

Log Message

Cherry-pick r291446. rdar://problem/90434296

    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):

    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291446 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Modified Paths

Diff

Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (292645 => 292646)


--- branches/safari-613-branch/Source/WebCore/ChangeLog	2022-04-09 00:13:07 UTC (rev 292645)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog	2022-04-09 00:13:10 UTC (rev 292646)
@@ -1,5 +1,36 @@
 2022-04-07  Alan Coon  <[email protected]>
 
+        Cherry-pick r291446. rdar://problem/90434296
+
+    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):
+    
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2022-03-17  Chris Dumez  <[email protected]>
+
+            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-04-07  Alan Coon  <[email protected]>
+
         Cherry-pick r291420. rdar://problem/90335275
 
     REGRESSION (iOS 15.4 / r287669): Mobile app stopped working due to CSS / angular animation

Modified: branches/safari-613-branch/Source/WebCore/page/Quirks.cpp (292645 => 292646)


--- branches/safari-613-branch/Source/WebCore/page/Quirks.cpp	2022-04-09 00:13:07 UTC (rev 292645)
+++ branches/safari-613-branch/Source/WebCore/page/Quirks.cpp	2022-04-09 00:13:10 UTC (rev 292646)
@@ -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
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to