Title: [190474] branches/safari-601.1.46-branch/Source/WebKit/mac
Revision
190474
Author
[email protected]
Date
2015-10-02 01:11:38 -0700 (Fri, 02 Oct 2015)

Log Message

Merged r190092.  rdar://problem/22824439

Modified Paths

Diff

Modified: branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog (190473 => 190474)


--- branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog	2015-10-02 08:10:31 UTC (rev 190473)
+++ branches/safari-601.1.46-branch/Source/WebKit/mac/ChangeLog	2015-10-02 08:11:38 UTC (rev 190474)
@@ -1 +1,21 @@
+2015-10-02  Babak Shafiei  <[email protected]>
+
+        Merge r190092.
+
+    2015-09-21  Alexey Proskuryakov  <[email protected]>
+
+            REGRESSION (r182648): UIWebView does not set location.hash synchronously
+            https://bugs.webkit.org/show_bug.cgi?id=149415
+            <rdar://problem/22169467>
+
+            Reviewed by Darin Adler.
+
+            The problem was that the delegate in UI thread became asynchronous due to calling
+            into LaunchServices.
+
+            * WebCoreSupport/WebFrameLoaderClient.mm: (shouldTryAppLink): Don't attempt app
+            links for same domain navigations. This check is part of substantially more complicated
+            logic in WebKit2 that I don't understand, but that should be enough to demonstrate
+            that this fix is an improvement at least.
+
 == Rolled over to ChangeLog-2015-07-23 ==

Modified: branches/safari-601.1.46-branch/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm (190473 => 190474)


--- branches/safari-601.1.46-branch/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm	2015-10-02 08:10:31 UTC (rev 190473)
+++ branches/safari-601.1.46-branch/Source/WebKit/mac/WebCoreSupport/WebFrameLoaderClient.mm	2015-10-02 08:11:38 UTC (rev 190474)
@@ -885,6 +885,9 @@
     if (!action.processingUserGesture())
         return NO;
 
+    if (targetFrame && targetFrame->document() && protocolHostAndPortAreEqual(targetFrame->document()->url(), action.url()))
+        return NO;
+
     return YES;
 #else
     return NO;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to