[Webkit-unassigned] [Bug 152032] New: -[WKNavigationDelegate webView:didFinishNavigation:] can be called before the main frame load is complete.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 19:02:57 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=152032

            Bug ID: 152032
           Summary: -[WKNavigationDelegate webView:didFinishNavigation:]
                    can be called before the main frame load is complete.
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: iOS
                OS: iOS 9.0
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: gchatz at chromium.org

Summary:
When navigating to web sites, the didFinishNavigation callback from WKNavigationDelegate can be called before the main frame load completes, which is not allowed according to the documentation. I have seen this happen with sites like nytimes.com, techmeme.com, and gmail.com.

Steps to Reproduce:
1. Put a breakpoint on the didFinishNavigation method.
2. Run app using WKWebView.
3. Navigate to nytimes.com.

Expected Results:
Breakpoint is hit, and the nytimes.com main frame is fully loaded.

Actual Results:
Breakpoint is hit, but the nytimes.com main frame is not fully loaded. 

Version:
iOS 9.1

Is there a suggested workaround?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151209/c1aeaec4/attachment.html>


More information about the webkit-unassigned mailing list