Reviewed by Beth.
[WebKit-https.git] / WebKit / Loader / WebFrameLoader.m
index 0de4a35d4912f0a112f2b1f7c8e480a76104f9f6..ae282b9d12eea83c5c6e0c08073190c0c4a5ed77 100644 (file)
@@ -534,6 +534,13 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
                                        URL:[request URL]];
 }
 
+- (NSError *)fileDoesNotExistErrorWithResponse:(NSURLResponse *)response
+{
+    return [NSError _webKitErrorWithDomain:NSURLErrorDomain
+                                                code:NSURLErrorFileDoesNotExist
+                                                 URL:[response URL]];    
+}
+
 - (void)clearArchivedResources
 {
     [pendingArchivedResources removeAllObjects];