File scheme should not allow access of a resource on a different volume.
[WebKit-https.git] / Tools / ChangeLog
index 6f4f3e7..355f5b6 100644 (file)
@@ -1,3 +1,21 @@
+2016-06-17  Pranjal Jumde  <pjumde@apple.com>
+
+        File scheme should not allow access of a resource on a different volume.
+        https://bugs.webkit.org/show_bug.cgi?id=158552
+        <rdar://problem/15307582>
+
+        Reviewed by Brent Fulgham.
+
+        * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
+        * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.html: Added.
+        * TestWebKitAPI/Tests/mac/CrossPartitionFileSchemeAccess.mm: Added.
+        (-[CrossPartitionFileSchemeAccessNavigationDelegate webView:didFinishNavigation:]):
+        When the main page load is complete fetch the contents of the document to check if iframe was loaded
+        (createPartition):
+        Create a disk image and load the contents of the file.
+        (cleanUp):
+        (TestWebKitAPI::TEST):
+
 2016-06-17  Enrique Ocaña González  <eocanha@igalia.com>
 
         Unreviewed. Added myself to the list of committers.
 2016-06-17  Enrique Ocaña González  <eocanha@igalia.com>
 
         Unreviewed. Added myself to the list of committers.