Skip to content
  • ggaren@apple.com's avatar
    JavaScriptCore: · e5497ee2
    ggaren@apple.com authored
    2009-03-19  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
    
            Reviewed by Geoff Garen.
    
            Bug 23771: REGRESSION (r36016): JSObjectHasProperty freezes on global class without kJSClassAttributeNoAutomaticPrototype
            <https://bugs.webkit.org/show_bug.cgi?id=23771>
            <rdar://problem/6561016>
    
            * API/tests/testapi.c:
            (main): Add a test for this bug.
            * runtime/JSGlobalObject.cpp:
            (JSC::JSGlobalObject::resetPrototype): Don't set the prototype of the
            last object in the prototype chain to the object prototype when the
            object prototype is already the last object in the prototype chain.
    
    LayoutTests:
    
    2009-03-19  Geoffrey Garen  <ggaren@apple.com>
    
            Reviewed by Oliver Hunt.
            
            Fixed <rdar://problem/6279213> Regular expression run-time complexity
            limit too low for long inputs (21485)
            
            Added a test for a complex regexp match that should succeed, and one
            that should fail.
    
            * fast/js/regexp-overflow-expected.txt:
            * fast/js/resources/regexp-overflow.js:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e5497ee2