| Index: content/browser/tab_contents/tab_contents.cc
|
| diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
|
| index bf9f813d53e8d60967e8b9b3aafc20ea317449e2..70f647b6812398769e145169f56001a343cd2bf3 100644
|
| --- a/content/browser/tab_contents/tab_contents.cc
|
| +++ b/content/browser/tab_contents/tab_contents.cc
|
| @@ -1063,8 +1063,12 @@ bool TabContents::NavigateToEntry(
|
| #if defined(OS_CHROMEOS)
|
| is_allowed_in_web_ui_renderer |= entry.GetURL().SchemeIs(chrome::kDataScheme);
|
| #endif
|
| - CHECK(!(enabled_bindings & content::BINDINGS_POLICY_WEB_UI) ||
|
| - is_allowed_in_web_ui_renderer);
|
| + if ((enabled_bindings & content::BINDINGS_POLICY_WEB_UI) &&
|
| + !is_allowed_in_web_ui_renderer) {
|
| + // Log the URL to help us diagnose http://crbug.com/72235.
|
| + content::GetContentClient()->SetActiveURL(entry.GetURL());
|
| + CHECK(0);
|
| + }
|
|
|
| // Tell DevTools agent that it is attached prior to the navigation.
|
| DevToolsManagerImpl::GetInstance()->OnNavigatingToPendingEntry(
|
|
|