[Webkit-unassigned] [Bug 17948] New: Exception in -[WebDataSource webArchive]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 19 07:06:16 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17948
Summary: Exception in -[WebDataSource webArchive]
Product: WebKit
Version: 523.x (Safari 3)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit API
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mjt at c-command.com
I've seen several cases where WebKit raises an exception:
-[NSCFArray insertObject:atIndex:]: attempt to insert nil
when my code calls [[[webView mainFrame] dataSource] webArchive]. I've been
able to reproduce this only rarely on my Mac, but I have a customer for whom it
happens 100% of the time, no matter the page.
As far as I can tell, the exception is being raised in -[WebDataSource
subresources]. It looks like the WebResource that's being created in the loop
is returning nil from its -init method. While there may be an interesting and
significant reason for that, I suggest that -subresources refrain from adding
nil objects to the array so that at least a partial Web archive can be
returned.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list