Bug 938042 - setHttpProxy API do not work. r=vchang

This commit is contained in:
Dimi Lee 2013-12-11 18:49:24 +08:00
parent 2d9da31424
commit e838b5b94a

View File

@ -2770,8 +2770,6 @@ WifiWorker.prototype = {
let network = msg.data.network;
let info = msg.data.info;
netFromDOM(network, null);
WifiManager.configureHttpProxy(network, info, function(ok) {
if (ok) {
// If configured network is current connected network
@ -2794,8 +2792,6 @@ WifiWorker.prototype = {
let network = msg.data.network;
let info = msg.data.info;
netFromDOM(network, null);
// To compatiable with DHCP returned info structure, do translation here
info.ipaddr_str = info.ipaddr;
info.proxy_str = info.proxy;