Chromium Code Reviews| Index: chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
| diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
| index c15439bae6a5f3ba61cb5e4f6c807d1dee0754b3..eb1f273e9f0fde8143b38baa35d9a02283a6cba3 100644 |
| --- a/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
| +++ b/chrome/browser/extensions/api/web_navigation/web_navigation_api.cc |
| @@ -269,7 +269,7 @@ void WebNavigationTabObserver::RenderFrameHostChanged( |
| void WebNavigationTabObserver::DidStartNavigation( |
| content::NavigationHandle* navigation_handle) { |
| - if (navigation_handle->IsSynchronousNavigation() || |
| + if (navigation_handle->IsSamePage() || |
|
Charlie Reis
2016/09/16 22:23:53
Is this a desirable behavior change, assuming that
nasko
2016/09/16 23:38:11
It doesn't account for about:blank anymore, so tha
Charlie Reis
2016/09/16 23:59:15
Hmm, I don't understand.
Was it the case that IsS
nasko
2016/09/20 23:11:20
I don't think that was ever the case.
|
| !FrameNavigationState::IsValidUrl(navigation_handle->GetURL())) { |
| return; |
| } |