WKNavigationDelegate called out of order: didFinish is triggered before didCommit |
||||
Issue descriptionThis is first noticed in crbug.com/818796#c2 . Steps to reproduce: 1. Set breakpoints in CRWWebController |webView:didFinishNavigation| and |webView:didCommitNavigation| 2. Open NTP 3. Navigate to plus.google.com (must be signed in) 4. Click on back Expected result: Breakpoint in |webView:didCommitNavigation| is triggered before |webView:didFinishNavigation|. Actual result: The reverse order. Caveats: - This reproduces consistently in backward history navigation from plus.google.com to NTP. However, I can't reproduce it using other popular URLs (e.g. wikipedia.org, amazon.com) instead of plus.google.com. - User must be signed in to plus.google.com - Only reproducible in Chrome, not in vanilla WKWebView This seems to suggest that there's some bad interaction between the code on plus.google.com, logic in Chrome and WKWebView.
,
Mar 26 2018
Finish-before-commit has been observed previously too in crbug.com/727289 but we don't know which URL triggered it.
,
Oct 17
,
Oct 26
,
Oct 26
|
||||
►
Sign in to add a comment |
||||
Comment 1 by danyao@chromium.org
, Mar 26 2018