Reviewed by Dave.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 May 2004 06:32:27 +0000 (06:32 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 May 2004 06:32:27 +0000 (06:32 +0000)
- fix further problems with Emerson feed: redirection for RSS feeds

This is done by removing removing the calls to defer callbacks
while waiting for

        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient continueAfterNavigationPolicy:formState:]):
        (-[WebMainResourceClient connection:willSendRequest:redirectResponse:]):
        (-[WebMainResourceClient continueAfterContentPolicy:response:]):
        (-[WebMainResourceClient checkContentPolicyForResponse:]):

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

WebKit/ChangeLog
WebKit/WebView.subproj/WebMainResourceClient.m
WebKit/WebView.subproj/WebMainResourceLoader.m

index 94c2c6a..6e747e9 100644 (file)
@@ -1,3 +1,18 @@
+2004-05-26  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Dave.
+
+       - fix further problems with Emerson feed: redirection for RSS feeds
+
+       This is done by removing removing the calls to defer callbacks
+       while waiting for
+
+        * WebView.subproj/WebMainResourceClient.m:
+        (-[WebMainResourceClient continueAfterNavigationPolicy:formState:]):
+        (-[WebMainResourceClient connection:willSendRequest:redirectResponse:]):
+        (-[WebMainResourceClient continueAfterContentPolicy:response:]):
+        (-[WebMainResourceClient checkContentPolicyForResponse:]):
+
 2004-05-26  Chris Blumenberg  <cblu@apple.com>
 
        Added and implemented proposed dragging API changes. These changes are necessary to make JS dragging work properly.
index 93b95ef..b6abf6a 100644 (file)
 
 -(void)continueAfterNavigationPolicy:(NSURLRequest *)_request formState:(WebFormState *)state
 {
-    [[dataSource _webView] setDefersCallbacks:NO];
     if (!_request) {
        [self stopLoadingForPolicyChange];
     }
     // when the main load was started.
     [dataSource _setRequest:newRequest];
     
-    [[dataSource _webView] setDefersCallbacks:YES];
     [[dataSource webFrame] _checkNavigationPolicyForRequest:newRequest
                                                  dataSource:dataSource
                                                   formState:nil
 
 -(void)continueAfterContentPolicy:(WebPolicyAction)contentPolicy response:(NSURLResponse *)r
 {
-    [[dataSource _webView] setDefersCallbacks:NO];
-
     switch (contentPolicy) {
     case WebPolicyUse:
        if (![WebView canShowMIMEType:[r MIMEType]]) {
     policyResponse = [r retain];
 
     WebView *wv = [dataSource _webView];
-    [wv setDefersCallbacks:YES];
     [l retain];
     [[wv _policyDelegateForwarder] webView:wv decidePolicyForMIMEType:[r MIMEType]
                                                             request:[dataSource request]
index 93b95ef..b6abf6a 100644 (file)
 
 -(void)continueAfterNavigationPolicy:(NSURLRequest *)_request formState:(WebFormState *)state
 {
-    [[dataSource _webView] setDefersCallbacks:NO];
     if (!_request) {
        [self stopLoadingForPolicyChange];
     }
     // when the main load was started.
     [dataSource _setRequest:newRequest];
     
-    [[dataSource _webView] setDefersCallbacks:YES];
     [[dataSource webFrame] _checkNavigationPolicyForRequest:newRequest
                                                  dataSource:dataSource
                                                   formState:nil
 
 -(void)continueAfterContentPolicy:(WebPolicyAction)contentPolicy response:(NSURLResponse *)r
 {
-    [[dataSource _webView] setDefersCallbacks:NO];
-
     switch (contentPolicy) {
     case WebPolicyUse:
        if (![WebView canShowMIMEType:[r MIMEType]]) {
     policyResponse = [r retain];
 
     WebView *wv = [dataSource _webView];
-    [wv setDefersCallbacks:YES];
     [l retain];
     [[wv _policyDelegateForwarder] webView:wv decidePolicyForMIMEType:[r MIMEType]
                                                             request:[dataSource request]