<rdar://problem/
3632570>: (REGRESSION: SocialText.net wiki keeps asking for auth, even though pages load)
* Misc.subproj/WebIconLoader.m:
(-[WebIconLoader didReceiveAuthenticationChallenge:]): Ignore the challenge - we don't
want an auth panel for favicons.
(-[WebIconLoader didCancelAuthenticationChallenge:]): Ignore cancel, since we are ignoring
the challenge.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7014
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-07-12 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by John.
+
+ <rdar://problem/3632570>: (REGRESSION: SocialText.net wiki keeps asking for auth, even though pages load)
+
+ * Misc.subproj/WebIconLoader.m:
+ (-[WebIconLoader didReceiveAuthenticationChallenge:]): Ignore the challenge - we don't
+ want an auth panel for favicons.
+ (-[WebIconLoader didCancelAuthenticationChallenge:]): Ignore cancel, since we are ignoring
+ the challenge.
+
2004-07-09 Chris Blumenberg <cblu@apple.com>
Allowed my change for 3715785 to compile on Jaguar.
[super didFinishLoading];
}
+// We don't ever want to prompt for authentication just for a site icon, so
+// override this WebBaseResourceDelegate method to refuse the challenge
+- (void)didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
+{
+ [[challenge sender] cancelAuthenticationChallenge:challenge];
+}
+
+- (void)didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
+{
+}
+
@end