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

Unified Diff: chrome/browser/resources/bookmark_manager/main.html

Issue 2108001: Make sure we don't "hang" when the bookmarks extension API does not work. Als... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bookmark_manager/main.html
===================================================================
--- chrome/browser/resources/bookmark_manager/main.html (revision 47198)
+++ chrome/browser/resources/bookmark_manager/main.html (working copy)
@@ -48,7 +48,7 @@
// Sometimes the extension API is not initialized.
if (!chrome.bookmarks)
- window.location.reload();
+ console.error('Bookmarks extension API is not avaiable');
// Allow platform specific CSS rules.
if (cr.isMac)
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698