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

Unified Diff: chrome/browser/resources/extensions/extension_list.js

Issue 655143003: Don't try to create extensionoptions for extensions that don't exist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/extensions/extension_list.js
diff --git a/chrome/browser/resources/extensions/extension_list.js b/chrome/browser/resources/extensions/extension_list.js
index 594f901517cbd210aec4bc6daca6d7179e36e758..381ca803244f1faf5c53fbcab87a3a9c2b70745b 100644
--- a/chrome/browser/resources/extensions/extension_list.js
+++ b/chrome/browser/resources/extensions/extension_list.js
@@ -526,7 +526,7 @@ cr.define('options', function() {
// Get the extension from the given id.
var extension = this.data_.extensions.filter(function(extension) {
- return extension.id == extensionId;
+ return extension.enabled && extension.id == extensionId;
})[0];
if (!extension)
« no previous file with comments | « chrome/browser/extensions/extension_webui_apitest.cc ('k') | chrome/test/data/extensions/webui/can_embed_extension_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698