[Webkit-unassigned] [Bug 6526] New: Global variables outside function scope inaccessible within PAC files

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Fri Jan 13 11:06:25 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=6526

           Summary: Global variables outside function scope inaccessible
                    within PAC files
           Product: WebKit
           Version: 412+
          Platform: Macintosh
               URL: http://www.joesapt.net/archive/2005/12/29/14.44.11/
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: jdandrea at att.net


If global vars are defined (without "var") _outside_ of any PAC functions, they are not accessible. It's as if 
they were never defined.

Current workaround is to move these variables to the top of FindProxyForURL.

This has only started occurring as of MacOS 10.4 (no such problems in 10.3). Unsure if this is a bug/
feature, but I'm leaning toward bug. Other browsers/platforms have no problem with variables outside of 
function scope. YMMV. :)

Please see accompanying URL for full context. Thanks!

-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list