[Webkit-unassigned] [Bug 13456] REGRESSION: setTimeout "arguments" object gets shadowed by a local variable (Can't get past splash screen for KLM airlines)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 25 03:27:48 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13456


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Forms                       |JavaScriptCore
           Keywords|NeedsReduction              |HasReduction
            Summary|REGRESSION: Can't get past  |REGRESSION: setTimeout
                   |splash screen for KLM       |"arguments" object gets
                   |airlines                    |shadowed by a local variable
                   |                            |(Can't get past splash
                   |                            |screen for KLM airlines)




------- Comment #3 from ap at webkit.org  2007-04-25 03:27 PDT -------
var arguments;
for (var c = 0; c < argpairs.length; c++)
{
        var pair = argpairs[c].split("=", 2);
        arguments[pair[0]] = pair[1]; // fails here, because arguments is
undefined
}

This works in shipping Safari and in Firefox because the variable doesn't
shadow a predefined parameters object.


-- 
Configure bugmail: http://bugs.webkit.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