Skip to content
  • aroben@apple.com's avatar
    Fix a profiler assertion when calling a NodeList as a function · f15697b0
    aroben@apple.com authored
    JavaScriptCore:
    
            Fix a profiler assertion when calling a NodeList as a function
    
            Reviewed by Kevin McCullough.
    
            * profiler/Profiler.cpp:
            (KJS::createCallIdentifier): Don't assert when a non-function object
            is called as a function. Instead, build up a CallIdentifier using the
            object's class name.
    
    WebCore:
    
            Add a test for calling a NodeList as a function while profiling
    
            Reviewed by Kevin McCullough.
    
            * manual-tests/inspector/profiler-test-call-nodelist-as-function.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f15697b0