Public bug reported:

Binary package hint: mozilla-firefox

I have just upgraded to Firefox 2.0.0.8 in Ubuntu Gutsy (7.10).

I have Firebug extension installed and I use Proxy auto configuration
script (as defined in:
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html).

I see lots of these errors in my Firebug console:
---8<---------
dsnDomainIs is not defined
file:///usr/lib/firefox/components/nsProxyAutoConfig.js
Line 107
---8<---------

Sadly line 107 is just a line in function proxyAlert(msg).

Also the "nsProxyAutoConfig.js" file is the same as it was in my earlier
Firefox version (probably 2.0.0.4) in Ubuntu Feisty (7.04).

My proxy auto-config script looks similar to this:

---8<---------

function FindProxyForURL(url, host)
{
    if (isPlainHostName(host) ||                // Without domain
            dnsDomainIs(host, ".central.example.com") ||  // Company servers
            host.substring(0,2)=="5." ||        // Internal IPs
            host.substring(0,3)=="10." ||       // Internal IPs
            host.substring(0,4)=="172." ||      // Internal IPs
            host.substring(0,8)=="192.168." ||  // Internal IPs
            host=="domain1.example.com" ||
            host=="123.123.123.123" ||
            host=="127.0.0.1" ||
            dnsDomainIs(host, ".second-example.com")
           )
    {
        return "DIRECT";
    }
    else
    {
        return "PROXY myproxy:8888";             // All other go through a 
proxy server
    }
        return "DIRECT";
}

---8<---------

** Affects: mozilla-firefox (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dsnDomainIs not found in nsProxyAutoConfig.js
https://bugs.launchpad.net/bugs/156165
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to