Unreviewed, rolling out r242376.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 07:55:27 +0000 (07:55 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Mar 2019 07:55:27 +0000 (07:55 +0000)
Broke some tests

Reverted changeset:

"Correctly handle sandbox extensions when the same WKWebView
loads multiple file:// URLs."
https://bugs.webkit.org/show_bug.cgi?id=195291
https://trac.webkit.org/changeset/242376

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

Source/WebKit/ChangeLog
Source/WebKit/WebProcess/WebPage/WebPage.cpp

index 774336a..df60a18 100644 (file)
@@ -1,3 +1,16 @@
+2019-03-04  Brady Eidson  <beidson@apple.com>
+
+        Unreviewed, rolling out r242376.
+
+        Broke some tests
+
+        Reverted changeset:
+
+        "Correctly handle sandbox extensions when the same WKWebView
+        loads multiple file:// URLs."
+        https://bugs.webkit.org/show_bug.cgi?id=195291
+        https://trac.webkit.org/changeset/242376
+
 2019-03-04  Fujii Hironori  <Hironori.Fujii@sony.com>
 
         Use a SQLite database to hold the ResourceLoadStatistics data
index c388281..96fc2df 100644 (file)
@@ -4412,7 +4412,7 @@ static bool shouldReuseCommittedSandboxExtension(WebFrame* frame)
     if (!documentLoader || !provisionalDocumentLoader)
         return false;
 
-    if (documentLoader->url().isLocalFile() && provisionalDocumentLoader->url().isLocalFile() && equalIgnoringQueryAndFragment(documentLoader->url(), provisionalDocumentLoader->url()))
+    if (documentLoader->url().isLocalFile() && provisionalDocumentLoader->url().isLocalFile())
         return true;
 
     return false;