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

Issue 4162004: Prevented access to WEP passphrase from UI. Fixed forget network button in se... (Closed)

Created:
10 years, 1 month ago by zel
Modified:
9 years, 6 months ago
Reviewers:
xiyuan, kochi
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Prevented access to WEP passphrase from UI. Fixed forget network button in settings. TEST=make sure we don't show WEP passphrase in UI, make sure forget network button works again BUG=chromium-os:8413, chomium-os:8441 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64976

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 3

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -67 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/dom_ui/internet_options_handler.cc View 1 2 3 4 6 chunks +17 lines, -28 lines 0 comments Download
M chrome/browser/resources/options/chromeos_internet_detail.html View 1 2 3 4 2 chunks +2 lines, -12 lines 0 comments Download
M chrome/browser/resources/options/chromeos_internet_network_element.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos_internet_options.js View 1 2 3 4 4 chunks +9 lines, -26 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
zel
10 years, 1 month ago (2010-11-01 18:28:40 UTC) #1
xiyuan
http://codereview.chromium.org/4162004/diff/1/5 File chrome/browser/resources/options/chromeos_internet_detail.html (right): http://codereview.chromium.org/4162004/diff/1/5#newcode64 chrome/browser/resources/options/chromeos_internet_detail.html:64: <td class="option-name" i18n-content="inetPassProtected"></td> Why we remove <input id="inetPass">? We ...
10 years, 1 month ago (2010-11-01 18:36:52 UTC) #2
zel
http://codereview.chromium.org/4162004/diff/1/5 File chrome/browser/resources/options/chromeos_internet_detail.html (right): http://codereview.chromium.org/4162004/diff/1/5#newcode64 chrome/browser/resources/options/chromeos_internet_detail.html:64: <td class="option-name" i18n-content="inetPassProtected"></td> On 2010/11/01 18:36:52, xiyuan wrote: > ...
10 years, 1 month ago (2010-11-01 19:06:11 UTC) #3
xiyuan
http://codereview.chromium.org/4162004/diff/1/5 File chrome/browser/resources/options/chromeos_internet_detail.html (right): http://codereview.chromium.org/4162004/diff/1/5#newcode64 chrome/browser/resources/options/chromeos_internet_detail.html:64: <td class="option-name" i18n-content="inetPassProtected"></td> On 2010/11/01 19:06:11, zel wrote: > ...
10 years, 1 month ago (2010-11-01 19:12:37 UTC) #4
zel
On 2010/11/01 19:12:37, xiyuan wrote: > http://codereview.chromium.org/4162004/diff/1/5 > File chrome/browser/resources/options/chromeos_internet_detail.html (right): > > http://codereview.chromium.org/4162004/diff/1/5#newcode64 > ...
10 years, 1 month ago (2010-11-01 19:40:44 UTC) #5
xiyuan
LGTM There is a $('inetPass') in InternetOptions.setDetails. We might want to remove that as well.
10 years, 1 month ago (2010-11-01 20:41:44 UTC) #6
zel
http://codereview.chromium.org/4162004/diff/9001/10006 File chrome/browser/resources/options/chromeos_internet_options.js (left): http://codereview.chromium.org/4162004/diff/9001/10006#oldcode125 chrome/browser/resources/options/chromeos_internet_options.js:125: newinfo.push($('inetPass').value); nope, I don't have this anymore here
10 years, 1 month ago (2010-11-01 21:51:30 UTC) #7
kochi
LGTM, drive-by review. http://codereview.chromium.org/4162004/diff/9001/10002 File chrome/browser/chromeos/dom_ui/internet_options_handler.cc (right): http://codereview.chromium.org/4162004/diff/9001/10002#newcode650 chrome/browser/chromeos/dom_ui/internet_options_handler.cc:650: // dictionary.SetString("pass", network->passphrase()); Why not removing ...
10 years, 1 month ago (2010-11-02 07:12:13 UTC) #8
zel
http://codereview.chromium.org/4162004/diff/9001/10002 File chrome/browser/chromeos/dom_ui/internet_options_handler.cc (right): http://codereview.chromium.org/4162004/diff/9001/10002#newcode650 chrome/browser/chromeos/dom_ui/internet_options_handler.cc:650: // dictionary.SetString("pass", network->passphrase()); On 2010/11/02 07:12:14, tkochi wrote: > ...
10 years, 1 month ago (2010-11-03 20:16:19 UTC) #9
kochi
10 years, 1 month ago (2010-11-04 08:07:12 UTC) #10
On Thu, Nov 4, 2010 at 5:16 AM,  <zelidrag@chromium.org> wrote:
>
> http://codereview.chromium.org/4162004/diff/9001/10002
> File chrome/browser/chromeos/dom_ui/internet_options_handler.cc (right):
>
> http://codereview.chromium.org/4162004/diff/9001/10002#newcode650
> chrome/browser/chromeos/dom_ui/internet_options_handler.cc:650: //
> dictionary.SetString("pass", network->passphrase());
> On 2010/11/02 07:12:14, tkochi wrote:
>>
>> Why not removing this line?
>
>> Actually, showPasswordEntry() only looks at
>> dictionary.servicePath.
>
>> You can remove line 644-651 entirely.
>
> Done. Actually, I can't remove everything here since cert networks still
> need this info for displaying purposes.

I don't think so.  This function is only called for encrypted Wifi and
not for cert networks.

FYI, I created a cleanup fix for this.
http://codereview.chromium.org/4405002/show

-- 
Takayoshi Kochi

Powered by Google App Engine
This is Rietveld 408576698