Hello,

I took the following code from the proxy configuration dialog:

Components.classes["@mozilla.org/network/protocol-proxy-service;1"].
           getService().reloadPAC();

If I execute this line in context of the browser window, then I get the 
following error:

Fehler: 
Components.classes['@mozilla.org/network/protocol-proxy-service;1']
.getService().reloadPAC is not a function
Quelldatei: chrome://navigator/content/navigator.xul
Zeile: 1

Why do I get this error, but the line works in the configuration dialog? 
How can I get this line to work?

Thanks

CU

Manuel

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to