Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[atf-dev] Mozilla Browser proxy configuration

Hi,

I'm trying to configure the proxy in the ATF's Mozilla. But I can't get any good result. First, I had tried the workaround below. It didn't work. I can't access these preference by JS code.

------- /Comment #3 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=82295#c3> From Oleg Krasilnikov <mailto:oleg.krasilnikov@xxxxxxxxx> 2005-04-25 07:37:31 -0400 / -------

Hi people.
Can the following workaround work in principle:

call browser.execute() with javascript code like:

Components.classes["@mozilla.org/preferences-service;1"].
        getService(Components.interfaces.nsIPrefBranch).
        setIntPref("network.proxy.http_port",8080);
  After I looked into Mozilla API, trying to find some way to set the proxy configuration. But no result again...
  When ATF will support the Proxy Configuration?
  We have some urgency to make the proxy configuration works, there is a way to make this works in the moment? Someone has a good experience with this?

Thanks,
Victor Emanuel




Back to the top