Index: content/browser/web_contents/navigation_controller_impl.cc |
diff --git a/content/browser/web_contents/navigation_controller_impl.cc b/content/browser/web_contents/navigation_controller_impl.cc |
index e9bf27289ae65c53d3eb4a04b1d486aa8d679e72..3996bb4329cfac198a37e146f58ac330b5a0100d 100644 |
--- a/content/browser/web_contents/navigation_controller_impl.cc |
+++ b/content/browser/web_contents/navigation_controller_impl.cc |
@@ -936,6 +936,11 @@ bool NavigationControllerImpl::RendererDidNavigate( |
// The active entry's SiteInstance should match our SiteInstance. |
DCHECK(active_entry->site_instance() == web_contents_->GetSiteInstance()); |
+ // Remember the bindings the renderer process has at this point, so that |
+ // we do not grant this entry additional bindings if we come back to it. |
+ active_entry->SetBindings( |
+ web_contents_->GetRenderViewHost()->GetEnabledBindings()); |
+ |
// Now prep the rest of the details for the notification and broadcast. |
details->entry = active_entry; |
details->is_main_frame = |