Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3719)

Unified Diff: chrome/browser/resources/settings/settings_page/main_page_behavior.js

Issue 2763423002: MD Settings: Fix endless recursion when exiting CBD dialog. (Closed)
Patch Set: Fix more Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/settings_page/main_page_behavior.js
diff --git a/chrome/browser/resources/settings/settings_page/main_page_behavior.js b/chrome/browser/resources/settings/settings_page/main_page_behavior.js
index 6e7fe98eea12454d25a57f389bd44ffe39f58c40..20c9c14989df7a063f474dfd1dc882c66bbeb7ff 100644
--- a/chrome/browser/resources/settings/settings_page/main_page_behavior.js
+++ b/chrome/browser/resources/settings/settings_page/main_page_behavior.js
@@ -120,6 +120,7 @@ var MainPageBehaviorImpl = {
// Need to exclude routes that correspond to 'non-sectioned' children of
// ADVANCED, otherwise tryTransitionToSection_ will recurse endlessly.
!currentRoute.isNavigableDialog) {
+ assert(currentRoute.section);
promise = this.$$('#advancedPageTemplate').get();
}

Powered by Google App Engine
This is Rietveld 408576698