Reviewed by Darin.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2006 15:14:40 +0000 (15:14 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Aug 2006 15:14:40 +0000 (15:14 +0000)
        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10314
          WebUnarchivingState archivedResourceForURL: doesn't work

        * WebView/WebUnarchivingState.m:
        (-[WebUnarchivingState archivedResourceForURL:]):
        Fixed to get objects from the archived resources dictionary using
        the URL as a string instead of as the URL itself (as this is how
        the data is put into the dictionary).

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

WebKit/ChangeLog
WebKit/WebView/WebUnarchivingState.m

index b93aca89197d5109f3cf8bbd9fcf4c9845c3ac94..35f75cb76ffc0a7d1344f6410e9562d845bcbabe 100644 (file)
@@ -1,3 +1,16 @@
+2006-08-15  Graham Dennis  <graham.dennis@gmail.com>
+
+        Reviewed by Darin.
+        
+        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10314
+          WebUnarchivingState archivedResourceForURL: doesn't work
+
+        * WebView/WebUnarchivingState.m:
+        (-[WebUnarchivingState archivedResourceForURL:]):
+        Fixed to get objects from the archived resources dictionary using
+        the URL as a string instead of as the URL itself (as this is how
+        the data is put into the dictionary).
+
 2006-08-14  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Beth.
index 6e584f7d7ec34d70c52bc55d18329cf0e58e5684..f3c83cfe1fd34b2490f380b8c98dbdf1b85c0dfa 100644 (file)
@@ -76,7 +76,7 @@
 
 - (WebResource *)archivedResourceForURL:(NSURL *)URL
 {
-    return [archivedResources objectForKey:URL];
+    return [archivedResources objectForKey:[URL _web_originalDataAsString]];
 }
 
 - (WebArchive *)popSubframeArchiveWithFrameName:(NSString *)frameName