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

Issue 1882793002: Site Settings: Use only string values for permissions on the JS side. (Closed)

Created:
4 years, 8 months ago by Finnur
Modified:
4 years, 8 months ago
Reviewers:
tommycli
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Site Settings: Use only string values for permissions on the JS side. This also fixes a couple of Closure errors and improves the handling for pattern combinations containing embedded origins. BUG=602899, 543635 Committed: https://crrev.com/f6d59b7cd346f67ec764d4da72ca4983a4d2d537 Cr-Commit-Position: refs/heads/master@{#387127}

Patch Set 1 #

Patch Set 2 : Fix unit test #

Total comments: 4

Patch Set 3 : Address feedback #

Messages

Total messages: 18 (9 generated)
Finnur
4 years, 8 months ago (2016-04-13 12:58:35 UTC) #4
michaelpg
https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_details_permission.js File chrome/browser/resources/settings/site_settings/site_details_permission.js (right): https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_details_permission.js#newcode96 chrome/browser/resources/settings/site_settings/site_details_permission.js:96: this.site.origin, '', this.category, value); why are these switched
4 years, 8 months ago (2016-04-13 16:40:16 UTC) #6
michaelpg
oops.. i'm on the wrong cl
4 years, 8 months ago (2016-04-13 16:40:42 UTC) #8
Finnur
https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_details_permission.js File chrome/browser/resources/settings/site_settings/site_details_permission.js (right): https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_details_permission.js#newcode96 chrome/browser/resources/settings/site_settings/site_details_permission.js:96: this.site.origin, '', this.category, value); You'll find the answer in ...
4 years, 8 months ago (2016-04-13 18:05:47 UTC) #9
tommycli
lgtm sans nit below: https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js File chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js (right): https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js#newcode66 chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js:66: * @param {!string} primaryPattern The ...
4 years, 8 months ago (2016-04-13 18:21:29 UTC) #10
Finnur
Thanks! Checking in. https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js File chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js (right): https://codereview.chromium.org/1882793002/diff/20001/chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js#newcode66 chrome/browser/resources/settings/site_settings/site_settings_prefs_browser_proxy.js:66: * @param {!string} primaryPattern The origin ...
4 years, 8 months ago (2016-04-13 21:44:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1882793002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1882793002/40001
4 years, 8 months ago (2016-04-13 21:45:33 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-13 22:31:07 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 22:33:11 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f6d59b7cd346f67ec764d4da72ca4983a4d2d537
Cr-Commit-Position: refs/heads/master@{#387127}

Powered by Google App Engine
This is Rietveld 408576698