Reviewed by Chris.
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2005 17:19:50 +0000 (17:19 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Apr 2005 17:19:50 +0000 (17:19 +0000)
        * WebView.subproj/WebBaseResourceHandleDelegate.m:
        (-[WebBaseResourceHandleDelegate connection:willCacheResponse:]):
        Beefed up assertion that's been bugging me and Chris to include
        the two troublemaking values.

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

WebKit/ChangeLog
WebKit/WebView.subproj/WebBaseResourceHandleDelegate.m
WebKit/WebView.subproj/WebLoader.m

index cf2e42f574f0bd089ae12e698b75f80192406439..91d3138fa4ead85869ed7bf84fd6e965cafdca0a 100644 (file)
@@ -1,3 +1,12 @@
+2005-04-14  John Sullivan  <sullivan@apple.com>
+
+        Reviewed by Chris.
+
+        * WebView.subproj/WebBaseResourceHandleDelegate.m:
+        (-[WebBaseResourceHandleDelegate connection:willCacheResponse:]):
+        Beefed up assertion that's been bugging me and Chris to include
+        the two troublemaking values.
+
 2005-04-05  David Hyatt  <hyatt@apple.com>
 
        Fix for 4077106, wheel scroll amount smaller in Tiger.  All along wheeling should have been 4x the default
index c86023acf64442be4cf119586933f60e9c60bdcb..67a043042137712d067061ba42a595c06f483750 100644 (file)
@@ -606,7 +606,7 @@ static BOOL NSURLConnectionSupportsBufferedData;
 
 - (NSCachedURLResponse *)connection:(NSURLConnection *)con willCacheResponse:(NSCachedURLResponse *)cachedResponse
 {
-    ASSERT(con == connection);
+    ASSERT_WITH_MESSAGE(con == connection, "parameter con (%@) is not equal to instance variable connection (%@)", con, connection);
     return [self willCacheResponse:cachedResponse];
 }
 
index c86023acf64442be4cf119586933f60e9c60bdcb..67a043042137712d067061ba42a595c06f483750 100644 (file)
@@ -606,7 +606,7 @@ static BOOL NSURLConnectionSupportsBufferedData;
 
 - (NSCachedURLResponse *)connection:(NSURLConnection *)con willCacheResponse:(NSCachedURLResponse *)cachedResponse
 {
-    ASSERT(con == connection);
+    ASSERT_WITH_MESSAGE(con == connection, "parameter con (%@) is not equal to instance variable connection (%@)", con, connection);
     return [self willCacheResponse:cachedResponse];
 }