Changeset 25940 in webkit
- Timestamp:
- Oct 2, 2007, 4:36:06 PM (18 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r25934 r25940 1 2007-10-02 Tristan O'Tierney <tristan@apple.com> 2 3 Reviewed by Darin Adler. 4 5 <rdar://problem/5511842> REGRESSION: Webkit stops responding while loading Apple Store Canada page (15304) 6 7 Included the NSSynchronousURLConnection_PrivateMode mode, in addition to the default run loop modes 8 as an acceptable mode when using performSelectorOnMainThread with our syncronous url callbacks. 9 10 * platform/network/mac/ResourceHandleMac.mm: 11 (-[WebCoreResourceHandleAsDelegate connection:willCacheResponse:]): 12 Added NSSynchronousURLConnection_PrivateMode to the list of accepted modes. 13 1 14 2007-10-02 Darin Adler <darin@apple.com> 2 15 -
trunk/WebCore/platform/network/mac/ResourceHandleMac.mm
r25777 r25940 489 489 [info setObject:cachedResponse forKey:@"cachedResponse"]; 490 490 491 [self performSelectorOnMainThread:@selector(_callConnectionWillCacheResponseWithInfo:) withObject:info waitUntilDone:YES]; 491 // Include synchronous url connection's mode as an acceptable run loopmode 492 // <rdar://problem/5511842> 493 NSArray *modes = [[NSArray alloc] initWithObjects:(NSString *)kCFRunLoopCommonModes, @"NSSynchronousURLConnection_PrivateMode", nil]; 494 [self performSelectorOnMainThread:@selector(_callConnectionWillCacheResponseWithInfo:) withObject:info waitUntilDone:YES modes:modes]; 495 [modes release]; 492 496 493 497 NSCachedURLResponse *result = [[info valueForKey:@"result"] retain];
Note:
See TracChangeset
for help on using the changeset viewer.