Skip to content
  • timothy@apple.com's avatar
    Added support for console.trace. · 345f1afa
    timothy@apple.com authored
    JavaScriptCore:
    
    2008-09-27  Keishi Hattori  <casey.hattori@gmail.com>
    
            Added Machine::retrieveCaller to the export list.
    
            Reviewed by Kevin McCullough and Tim Hatcher.
    
            * JavaScriptCore.exp: Added Machine::retrieveCaller.
    
    WebCore:
    
    2008-09-27  Keishi Hattori  <casey.hattori@gmail.com>
    
            Added support for console.trace.
    
            https://bugs.webkit.org/show_bug.cgi?id=19157
    
            Reviewed by Kevin McCullough and Tim Hatcher.
    
            * bindings/js/JSConsoleCustom.cpp:
            (WebCore::JSConsole::trace):
            * page/Console.cpp:
            (WebCore::Console::trace): Calls Machine::retrieveCaller to
            get a stack trace.
            * page/Console.h:
            (WebCore::): Added TraceMessageLevel.
            * page/Console.idl: Added console.trace.
            * page/inspector/Console.js:
            (ConsoleMessage): Added case for TraceMessageLevel.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    345f1afa