-
timothy@apple.com authored
* Fix URLs not printing line numbers unless column number is > 0. * Change "CONSOLEAPI" to "CONSOLE" for the source. * Clean up how console.trace outputs and print URL, line and column for each frame. * Print "(unknown)" for anonymous and native code call frames. https://bugs.webkit.org/show_bug.cgi?id=126767 Reviewed by Joseph Pecoraro. * page/Console.cpp: (WebCore::internalAddMessage): * page/PageConsole.cpp: (WebCore::PageConsole::printSourceURLAndPosition): (WebCore::PageConsole::printMessageSourceAndLevelPrefix): * page/PageConsole.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3fc29bad