Skip to content
  • dsmith's avatar
    JavaScriptCore: · ebd6d4e5
    dsmith authored
            Reviewed by Darin.
    
            http://bugs.webkit.org/show_bug.cgi?id=12963
            Fix some inconsistencies in the Mozilla JS Array extras implementations
            with respect to the Mozilla implementation:
    
              - holes in arrays should be skipped, not treated as undefined,
                by all such methods
              - an element with value undefined is not a hole
              - Array.prototype.forEach should return undefined
    
            * kjs/array_object.cpp:
            (ArrayInstance::getOwnPropertySlot):
            (ArrayProtoFunc::callAsFunction):
    
    LayoutTests:
    
            Reviewed by Darin.
    
             http://bugs.webkit.org/show_bug.cgi?id=12963
             Fix some inconsistencies in the Mozilla JS Array extras implementations
             with respect to the Mozilla implementation:
    
               - holes in arrays should be skipped, not treated as undefined,
                 by all such methods
               - an element with value undefined is not a hole
               - Array.prototype.forEach should retur...
    ebd6d4e5