Followup to:
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 02:10:22 +0000 (02:10 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Mar 2019 02:10:22 +0000 (02:10 +0000)
Universal links from Google search results pages don't open the app
https://bugs.webkit.org/show_bug.cgi?id=195126

Unreviewed.

* page/SecurityOrigin.cpp:
(WebCore::originsMatch): Remove a bogus assertion (reasoning in bugzilla)

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

Source/WebCore/ChangeLog
Source/WebCore/page/SecurityOrigin.cpp

index 534dadf..ee27da1 100644 (file)
@@ -1,3 +1,14 @@
+2019-02-28  Brady Eidson  <beidson@apple.com>
+
+        Followup to:
+        Universal links from Google search results pages don't open the app
+        https://bugs.webkit.org/show_bug.cgi?id=195126
+
+        Unreviewed.
+
+        * page/SecurityOrigin.cpp:
+        (WebCore::originsMatch): Remove a bogus assertion (reasoning in bugzilla)
+
 2019-02-28  Simon Fraser  <simon.fraser@apple.com>
 
         [iOS] Dark flash when opening Google AMP pages
index 3ad921c..809e547 100644 (file)
@@ -494,9 +494,7 @@ bool originsMatch(const SecurityOrigin& origin1, const SecurityOrigin& origin2)
     if (&origin1 == &origin2)
         return true;
 
-    bool result = areOriginsMatching(origin1, origin2);
-    ASSERT(result == (origin1.toString() == origin2.toString()));
-    return result;
+    return areOriginsMatching(origin1, origin2);
 }
 
 bool originsMatch(const SecurityOrigin* origin1, const SecurityOrigin* origin2)