- 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
+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.
-(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]
-(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]