Revert accidentally commited change.
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Mar 2011 03:04:51 +0000 (03:04 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Mar 2011 03:04:51 +0000 (03:04 +0000)
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):

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

Tools/ChangeLog
Tools/DumpRenderTree/mac/ResourceLoadDelegate.mm

index c94ee9190c2733149ce6c9ac60ee3531abf43d2a..0eb8eac1fd94a222037254d74b802581eb469b11 100644 (file)
@@ -1,3 +1,10 @@
+2011-03-28  Maciej Stachowiak  <mjs@apple.com>
+
+        Revert accidentally commited change.
+
+        * DumpRenderTree/mac/ResourceLoadDelegate.mm:
+        (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
+
 2011-03-28  Tony Chang  <tony@chromium.org>
 
         Reviewed by Adam Barth.
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))