Bug 118399 - Add a method to get unreachable URL from WebFrame.
Summary: Add a method to get unreachable URL from WebFrame.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.8
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-04 11:53 PDT by Yongjun Zhang
Modified: 2013-07-04 12:54 PDT (History)
4 users (show)

See Also:


Attachments
add a method to expose unreachableURL for WebFrame. (2.04 KB, patch)
2013-07-04 12:00 PDT, Yongjun Zhang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.