[webkit-dev] Error when calling a WebDataSource's "subresources"
martin.cocoa at free.fr
Sat Dec 15 02:03:22 PST 2007
When I call the following method:
from inside the following method:
- (id)webView:(WebView *)sender identifierForInitialRequest:
(NSURLRequest *)request fromDataSource:(WebDataSource *)dataSource
of my WebResourceLoadDelegate, I get the following error (the error
occurs for 98 out of 105 calls to the previous method for a specific
*** WebKit discarded an uncaught exception in the
<NSInvalidArgumentException> *** -[NSCFArray insertObject:atIndex:]:
attempt to insert nil
Is this normal because I'm not supposed to ask for the subresources
until everything is loaded? Or is it a bug?
More information about the webkit-dev