Fixed <rdar://problem/4012463> Dashboard widgets don't work with authenticating...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2005 03:34:31 +0000 (03:34 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Feb 2005 03:34:31 +0000 (03:34 +0000)
Added new SPI for dashboard that just calls default delegate
behavior.

        Reviewed by Maciej.

        * WebView.subproj/WebView.m:
        (-[WebView handleAuthenticationForResource:challenge:fromDataSource:]):
        * WebView.subproj/WebViewPrivate.h:

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

WebKit/ChangeLog
WebKit/WebView.subproj/WebView.m
WebKit/WebView.subproj/WebViewPrivate.h

index d24ec43dbbe013a4f65bf538bc6ba4423dced9e6..c9242db030bc5bc10f93a877799e3d2fbc299154 100644 (file)
@@ -1,3 +1,16 @@
+2005-02-22  Richard Williamson   <rjw@apple.com>
+
+       Fixed <rdar://problem/4012463> Dashboard widgets don't work with authenticating proxies
+
+       Added new SPI for dashboard that just calls default delegate
+       behavior.
+
+        Reviewed by Maciej.
+
+        * WebView.subproj/WebView.m:
+        (-[WebView handleAuthenticationForResource:challenge:fromDataSource:]):
+        * WebView.subproj/WebViewPrivate.h:
+
 2005-02-22  Chris Blumenberg  <cblu@apple.com>
 
         Reviewed by mjs.
index cb61c55621f893878dc34b036310b484af9162d7..74f348f4cdc524c29387ef77de3eb9e8a7909463 100644 (file)
@@ -1337,6 +1337,11 @@ static bool debugWidget = true;
     return NO;
 }
 
+- (void)handleAuthenticationForResource:(id)identifier challenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource
+{
+    [[WebDefaultResourceLoadDelegate sharedResourceLoadDelegate] webView:self resource:identifier didReceiveAuthenticationChallenge:challenge fromDataSource:dataSource];
+}
+
 + (void)_setShouldUseFontSmoothing:(BOOL)f
 {
     shouldUseFontSmoothing = f;
index b246e14a4b4e940d83eb2813cb2263e48820a619..ba57f6d5d476a6a3d9a0902013f491b875f04fd7 100644 (file)
@@ -228,6 +228,8 @@ Could be worth adding to the API.
 - (void)_setDashboardBehavior:(WebDashboardBehavior)behavior to:(BOOL)flag;
 - (BOOL)_dashboardBehavior:(WebDashboardBehavior)behavior;
 
+- (void)handleAuthenticationForResource:(id)identifier challenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource;
+
 + (void)_setShouldUseFontSmoothing:(BOOL)f;
 + (BOOL)_shouldUseFontSmoothing;