[Webkit-unassigned] [Bug 12463] New: WebArchiver - attempt to insert nil exception when archive empty iframe
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 29 12:02:14 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12463
Summary: WebArchiver - attempt to insert nil exception when
archive empty iframe
Product: WebKit
Version: 420+ (nightly)
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: jim.correia at pobox.com
If you attempt to archive the main frame of a page like the attached one with
an empty iframe, during the archiving process an exception will be raised:
*** -[NSCFArray addObject:]: attempt to insert nil
WebResource's designated initializer returns nil if there is no mainResource,
but the calling code doesn't handle this. Patch attached.
To reproduce archive the main frame of any product page loaded from amazon.com:
<http://www.amazon.com/Beginning-Tiger-Dashboard-Widget-Development/dp/0471778257/sr=8-2/qid=1170100387/ref=sr_1_2/105-9135809-2773235?ie=UTF8&s=books>
Reduced test case attached.
--
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