Revert accidentally commited change.
[WebKit.git] / Tools / DumpRenderTree / mac / ResourceLoadDelegate.mm
index de02df5968302b59d35e065eb67030fc2d2e6053..f5a212116f21fa1fecc56affe5bbbcc453a3dc0c 100644 (file)
@@ -151,8 +151,8 @@ using namespace std;
         && NSOrderedSame != [host compare:@"127.0.0.1"]
         && NSOrderedSame != [host compare:@"255.255.255.255"] // used in some tests that expect to get back an error
         && NSOrderedSame != [host caseInsensitiveCompare:@"localhost"]) {
-        //printf("Blocked access to external URL %s\n", [[url absoluteString] cStringUsingEncoding:NSUTF8StringEncoding]);
-        //return nil;
+        printf("Blocked access to external URL %s\n", [[url absoluteString] cStringUsingEncoding:NSUTF8StringEncoding]);
+        return nil;
     }
 
     if (disallowedURLs && CFSetContainsValue(disallowedURLs, url))