Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a method to get unreachable URL from WebFrame.
https://bugs.webkit.org/show_bug.cgi?id=118399 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 can add a method to always return the unreachableURL regardless if the frame has loaded or not. Patch by Yongjun Zhang <email@example.com> on 2013-07-04 Reviewed by Dan Bernstein. * WebView/WebFrame.mm: (-[WebFrame _unreachableURL]): * WebView/WebFramePrivate.h: Canonical link: https://commits.webkit.org/136399@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152405 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 21 additions and 0 deletions.