- remove some unnecessary uses of WebDataProtocol
* WebView/WebDataSource.mm: Remove the unneeded include.
* WebView/WebView.mm:
(+[WebView _canHandleRequest:]): Don't bother to check for unreachable URL here.
Any request that has one will be an applewebdata: request, which will pass the check anyway.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17712
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-11-10 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Anders.
+
+ - remove some unnecessary uses of WebDataProtocol
+
+ * WebView/WebDataSource.mm: Remove the unneeded include.
+ * WebView/WebView.mm:
+ (+[WebView _canHandleRequest:]): Don't bother to check for unreachable URL here.
+ Any request that has one will be an applewebdata: request, which will pass the check anyway.
+
2006-11-10 Anders Carlsson <acarlsson@apple.com>
Reviewed by Geoff.
#import <JavaScriptCore/Assertions.h>
#import <WebCore/FrameLoader.h>
#import <WebCore/KURL.h>
-#import <WebCore/WebDataProtocol.h>
#import <WebKit/DOMHTML.h>
#import <WebKit/DOMPrivate.h>
#import <WebKitSystemInterface.h>
#import <WebCore/WebCoreSettings.h>
#import <WebCore/WebCoreTextRenderer.h>
#import <WebCore/WebCoreView.h>
-#import <WebCore/WebDataProtocol.h>
#import <WebKit/DOM.h>
#import <WebKit/DOMExtensions.h>
#import <WebKit/DOMPrivate.h>
if ([NSURLConnection canHandleRequest:request]) {
return YES;
}
-
- // We're always willing to load alternate content for unreachable URLs
- if ([request _webDataRequestUnreachableURL]) {
- return YES;
- }
return [self _representationExistsForURLScheme:[[request URL] scheme]];
}