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

Unified Diff: chrome/browser/resources/settings/site_settings/add_site_dialog.js

Issue 2226613003: MD Settings Desktop: Set embedder when adding exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/site_settings/add_site_dialog.js
diff --git a/chrome/browser/resources/settings/site_settings/add_site_dialog.js b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
index 29e5216c2e76a3a5f849a62d25119a5e7ae40e1d..c149df5e1f1769d0500f7ca7af5261e04de6c611 100644
--- a/chrome/browser/resources/settings/site_settings/add_site_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
@@ -61,7 +61,7 @@ Polymer({
return; // Can happen when Enter is pressed.
var pattern = this.addPatternWildcard_(this.site_);
this.setCategoryPermissionForOrigin(
- pattern, '', this.category, this.allowException ?
+ pattern, pattern, this.category, this.allowException ?
settings.PermissionValues.ALLOW : settings.PermissionValues.BLOCK);
dschuyler 2016/08/08 18:21:26 IIUC, this is saying that we want this specific pa
Finnur 2016/08/09 11:19:54 Yeah, that's correct. Using '' (as I was doing)
this.$.dialog.close();
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698