Skip to content
  • ggaren's avatar
    JavaScriptCore: · b0aae7df
    ggaren authored
    	Patch by Francisco Tolmasky <tolmasky@gmail.com>
    
    	- fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=3667
    	Core JavaScript 1.5 Reference:Objects:Array:forEach
    
    	See WebCore Changelog for layout tests added.
    
            Reviewed by darin.
    
            * kjs/array_object.cpp:
            (ArrayProtoFuncImp::call):
            * kjs/array_object.h:
            (KJS::ArrayProtoFuncImp::):
    
    WebCore:
    
    	Contributed by Francisco Tolmasky <tolmasky@gmail.com>
    
    	-test cases for fix to http://bugzilla.opendarwin.org/show_bug.cgi?id=3667
    	Core JavaScript 1.5 Reference:Objects:Array:forEach
    
    	See JavaScriptCore Changelog for details on the patch.
    
            Reviewed by darin.
    
            Test cases added:
            * layout-tests/fast/js/array-every-expected.txt: Added.
            * layout-tests/fast/js/array-every.html: Added.
            * layout-tests/fast/js/array-foreach-expected.txt: Added.
            * layout-tests/fast/js/array-foreach.html: Added.
            * layout-tests/fast/js/array-some-expected.txt: Added.
            * layout-tests/fast/js/array-some.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b0aae7df