Subj : Re: PAC support in SpiderMonkey To : netscape.public.mozilla.jseng From : Heath Raftery Date : Thu Aug 14 2003 12:58 am In article , Heath Raftery wrote: > I've since discovered that SM doesn't support > the PAC extension functions out of the box! These include isInNet(), > isPlainHostName(), shExpMatch() and so forth. > > I'm hoping not to re-invent the wheel and so was wondering if anyone > knew how I might easily include these functions in my code. After a few bum steers, I found the functions defined here: Everything was looking rosy once I had these in. Unfortunately, isInNet (and others I imagine) still fail because the dnsResolve function calls host.resolve, which doesn't seem to be defined in the language, nor in that file. I went for a bit of a hunt for it but got caught chasing my tail. Any suggestions? I'm suprised this hasn't come up and been solved before actually. I would have imagined developers would often want to support PAC files in their (proxy/browser/etc) applications without re-inventing the wheel. -- Heath ________________________________________________________ | *Nothing is foolproof to a sufficiently talented fool* | | _\|/_ | |________________________________________m(. .)m_________| .