• mjs's avatar
    Reviewed by Ken. · ca7af085
    mjs authored
    	- fixed 3059637 - all articles missing at excite.com sports page
    	- fixed 3065903 - most of content missing at excite.com news page
    
    	These bugs both came up because a JavaScript function has a var
    	declaration that collides with a function parameter name.
    
            * kjs/nodes.cpp:
            (VarDeclNode::processVarDecls): Don't set the property to
    	undefined if a property with that name is already set on the
    	global object. Otherwise we may clobber function parameters with
    	undefined even before hitting a possible var initializer.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ca7af085
ChangeLog 4.05 KB