[Webkit-unassigned] [Bug 87743] Crash in WebCore::SubresourceLoader::releaseResources when connection fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 16:11:34 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87743





--- Comment #13 from Brady Eidson <beidson at apple.com>  2012-06-14 16:11:33 PST ---
> - (void)webView:(WebView *)sender resource:(id)identifier didFailLoadingWithError:(NSError *)error fromDataSource:(WebDataSource *)dataSource;
> {
>     NSString *html = @"<html><body><h1>error</h1></body></html>";
>     [[self.webview mainFrame] loadHTMLString:html baseURL:[NSURL URLWithString:@"http://apps.skype.com"]];
> }


You are synchronously re-entering WebKit from inside a delegate callback.  Don't do that.  Put the loadHTMLString on a 0-delay.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list