Changeset 19316 in webkit


Ignore:
Timestamp:
Jan 31, 2007 4:31:52 PM (17 years ago)
Author:
andersca
Message:
  • DumpRenderTree/ResourceLoadDelegate.m: (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]): Don't try to create an identifier if resource loads shouldn't be dumped.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r19315 r19316  
     12007-01-31  Anders Carlsson  <acarlsson@apple.com>
     2
     3        * DumpRenderTree/ResourceLoadDelegate.m:
     4        (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
     5        Don't try to create an identifier if resource loads shouldn't be dumped.
     6
    172007-01-31  Anders Carlsson  <acarlsson@apple.com>
    28
  • trunk/WebKitTools/DumpRenderTree/ResourceLoadDelegate.m

    r19315 r19316  
    104104- webView: (WebView *)wv identifierForInitialRequest: (NSURLRequest *)request fromDataSource: (WebDataSource *)dataSource
    105105{
    106     return [[request URL] _drt_descriptionSuitableForTestResult];
     106    if (shouldDumpResourceLoadCallbacks && !done)
     107        return [[request URL] _drt_descriptionSuitableForTestResult];
     108   
     109    return [[[NSObject alloc] init] autorelease];
    107110}
    108111
Note: See TracChangeset for help on using the changeset viewer.