Bug 119587

Summary: WKBundleFrameCopyProvisionalURL crashes when there is no provisional loader
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebKit2Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix darin: review+

Alexey Proskuryakov
Reported 2013-08-08 11:56:44 PDT
WKBundleFrameCopyProvisionalURL crashes when there is no provisional loader.
Attachments
proposed fix (1.39 KB, patch)
2013-08-08 11:58 PDT, Alexey Proskuryakov
darin: review+
Alexey Proskuryakov
Comment 1 2013-08-08 11:58:24 PDT
Created attachment 208359 [details] proposed fix
Darin Adler
Comment 2 2013-08-08 12:16:02 PDT
Comment on attachment 208359 [details] proposed fix I’m going to assume that it’s better to return null rather than returning the committed string for that frame.
Alexey Proskuryakov
Comment 3 2013-08-08 12:23:21 PDT
Committed <http://trac.webkit.org/changeset/153839>. Yes, I think that it would be misleading to return committed URL when asked for provisional one. This also matches how -[WebFrame provisionalDataSource] works.
Note You need to log in before you can comment on or make changes to this bug.