[Android WebView] Provide user-initiated provisional load detection
Do not synthesize page loading events on DOM modification, if the provisional load has been started from the API side. It appears that a lot of apps tend to use the following scenario: webView.loadUrl(...); webView.loadUrl('javascript:...'); Which was triggering page loading events to be emitted. This scenario is dubious, as no one guarantees that loading will actually finish prior to executing javascript. But for compatibility reasons we must take it into account and not emit page loading events for "about:blank", as it seems that some apps do unexpected things when they receive it. BUG=458569,469099 Review URL: https://codereview.chromium.org/1024103002 Cr-Commit-Position: refs/heads/master@{#321857}
Showing
Please register or sign in to comment