Bug 118399

Summary: Add a method to get unreachable URL from WebFrame.
Product: WebKit Reporter: Yongjun Zhang <yongjun_zhang>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, mitz, yongjun_zhang
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Macintosh   
OS: OS X 10.8   
Attachments:
Description Flags
add a method to expose unreachableURL for WebFrame. none

Description Yongjun Zhang 2013-07-04 11:53:40 PDT
Normally we could use [[WebFrame dataSource] unreachableURL] to get the failed URL.  However, if the frame has not loaded (FrameLoader::frameHasLoaded() is false), we will get a nil dataSource and we won't be able to get unreachableURL.  We need to add a method to always return the unreachableURL regardless if the frame has loaded or not.
Comment 1 Yongjun Zhang 2013-07-04 12:00:27 PDT
Created attachment 206107 [details]
add a method to expose unreachableURL for WebFrame.
Comment 2 Yongjun Zhang 2013-07-04 12:17:58 PDT
thanks mitz!
Comment 3 WebKit Commit Bot 2013-07-04 12:54:05 PDT
Comment on attachment 206107 [details]
add a method to expose unreachableURL for WebFrame.

Clearing flags on attachment: 206107

Committed r152405: <http://trac.webkit.org/changeset/152405>
Comment 4 WebKit Commit Bot 2013-07-04 12:54:07 PDT
All reviewed patches have been landed.  Closing bug.