Bug 11429

Summary: Startup crash on Qt platform
Product: WebKit Reporter: Zack Rusin <zack>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Mentioned patch to fix the crash.
none
Updated patch with ChangeLog andersca: review+

Description Zack Rusin 2006-10-27 04:33:19 PDT
When calling FrameQtClient::openUrl for the first time, the owned frames doesn't have a document set on it at all. In turn ResourceLoader depends on the DocumentLoader in order to work and Qt's ResourceLoaderManager depends on it being present in order to set Frame (in order to call checkLoaded). openUrl used to let through creation of ResourceLoader with no parent document which causes crashes due to above described dependencies. The patch explictly creates an empty document if one isn't already present.
Comment 1 Zack Rusin 2006-10-27 04:34:41 PDT
Created attachment 11237 [details]
Mentioned patch to fix the crash.
Comment 2 Nikolas Zimmermann 2006-10-30 11:58:26 PST
Created attachment 11288 [details]
Updated patch with ChangeLog
Comment 3 Anders Carlsson 2006-10-30 11:59:05 PST
Comment on attachment 11288 [details]
Updated patch with ChangeLog

r=me
Comment 4 Anders Carlsson 2006-10-30 11:59:15 PST
Comment on attachment 11288 [details]
Updated patch with ChangeLog

r=me
Comment 5 Alexey Proskuryakov 2006-10-31 10:33:00 PST
This was landed by Anders in r17441.