oh oops. I guess I was writing in the scratch pad. The second time I pulled up device pref, it pulled up the about:config ui.
On Apr 2, 2015, at 2:18 PM, Naoki Hirata <[email protected]> wrote: > I get that the pref isn't defined: > > pref("network.proxy.type", 1); > pref("network.proxy.http", "179.221.116.230"); > pref("network.proxy.http_port", 3128); > > /* > Exception: pref is not defined > @Scratchpad/1:2:1 > WCA_evalWithDebugger@resource://gre/modules/commonjs/toolkit/loader.js -> > resource://gre/modules/devtools/server/actors/webconsole.js:103:6 > WCA_onEvaluateJS@resource://gre/modules/commonjs/toolkit/loader.js -> > resource://gre/modules/devtools/server/actors/webconsole.js:62:163 > DSC_onPacket@resource://gre/modules/commonjs/toolkit/loader.js -> > resource://gre/modules/devtools/server/main.js:90:211 > DebuggerTransport.prototype._onJSONObjectReady/<@resource://gre/modules/commonjs/toolkit/loader.js > -> resource://gre/modules/devtools/transport/transport.js:24:148 > makeInfallible/<@resource://gre/modules/commonjs/toolkit/loader.js -> > resource://gre/modules/devtools/DevToolsUtils.js:9:43 > */ > > On Apr 2, 2015, at 1:41 PM, [email protected] wrote: > >> Sorry to say this guys, but this information is outdated. Don't mess with >> configuration files, (or if you do make sure you are editing the right file >> and that closing and reopening doesn't reset the file... just don't do it). >> >> From WebIDE > Runtime > Device Preferences >> Add the settings (same as you would by editing the js file) >> >> network.proxy.autoconfig_retry_interval_max >> network.proxy.autoconfig_retry_interval_min >> network.proxy.autoconfig_url >> network.proxy.backup.ftp >> network.proxy.backup.ftp_port >> network.proxy.backup.socks >> network.proxy.backup.socks_port >> network.proxy.backup.ssl >> network.proxy.backup.ssl_port >> network.proxy.failover_timeout >> network.proxy.ftp >> network.proxy.ftp_port >> network.proxy.http >> network.proxy.http_port >> network.proxy.no_proxies_on >> network.proxy.proxy_over_tls >> network.proxy.share_proxy_settings >> network.proxy.socks >> network.proxy.socks_port >> network.proxy.socks_remote_dns >> network.proxy.socks_version >> network.proxy.ssl >> network.proxy.ssl_port >> network.proxy.type <---(your problem might be this) >> >> If this doesn't work mess with that last setting. I don't know if type value >> would have a different meaning but it did make a different for me. My >> pref.sh file (firefox browser) was a 5 and in my FirefoxOS it needed to be >> set to 2, nothing else worked. I don't know why this is. >> _______________________________________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
