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

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

Issue 2682023002: [MD settings] allow site exceptions without pattern wildcard (Closed)
Patch Set: Created 3 years, 10 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 | chrome/browser/resources/settings/site_settings/site_settings_behavior.js » ('j') | 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 48fca0f1950888e7e9d4b65728c84031b8664aa7..59d1ac63ff905120514d2535913b9842a8a94daa 100644
--- a/chrome/browser/resources/settings/site_settings/add_site_dialog.js
+++ b/chrome/browser/resources/settings/site_settings/add_site_dialog.js
@@ -86,9 +86,8 @@ Polymer({
onSubmit_: function() {
if (this.$.add.disabled)
return; // Can happen when Enter is pressed.
- var pattern = this.addPatternWildcard(this.site_);
this.browserProxy.setCategoryPermissionForOrigin(
- pattern, pattern, this.category, this.contentSetting,
+ this.site_, this.site_, this.category, this.contentSetting,
this.$.incognito.checked);
this.$.dialog.close();
},
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/site_settings_behavior.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698