* DumpRenderTree/ResourceLoadDelegate.m:
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 03:30:39 +0000 (03:30 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Feb 2007 03:30:39 +0000 (03:30 +0000)
        (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
        Use an NSString here so we can guarantee that -description always returns the same value.

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

WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/ResourceLoadDelegate.m

index 47f7d60..f16fe23 100644 (file)
@@ -1,3 +1,9 @@
+2007-01-31  Anders Carlsson  <acarlsson@apple.com>
+
+        * DumpRenderTree/ResourceLoadDelegate.m:
+        (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
+        Use an NSString here so we can guarantee that -description always returns the same value.
+
 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
 
         Reviewed by Darin Adler.
index 0b79d4c..738bd62 100644 (file)
     if (shouldDumpResourceLoadCallbacks && !done)
         return [[request URL] _drt_descriptionSuitableForTestResult];
     
-    return [[[NSObject alloc] init] autorelease];
+    return @"<unknown>";
 }
 
 -(NSURLRequest *)webView: (WebView *)wv resource:identifier willSendRequest: (NSURLRequest *)newRequest redirectResponse:(NSURLResponse *)redirectResponse fromDataSource:(WebDataSource *)dataSource