Skip to content
  • bdash's avatar
    2007-08-26 Mark Rowe <mrowe@apple.com> · 19c9a3e4
    bdash authored
            Reviewed by Darin Adler.
    
            <rdar://problem/5438496> JSGlobalContextCreate crashes when passed a custom class
    
            * API/JSContextRef.cpp:
            (JSGlobalContextCreate): Specify jsNull() as the prototype and let Interpreter's constructor fix it up to point at builtinObjectPrototype().
            * API/testapi.c:
            (main): Use an instance of a custom class as the global object to ensure the code path is exercised in the test.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    19c9a3e4