-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=111578 Patch by Sergey Ryazanov <serya@chromium.org> on 2013-03-19 Reviewed by Vsevolod Vlasov. Otherwise, a lot of logging in WebCore needs to go through the DOMWindow which is unnecessary. Source/WebCore: * CMakeLists.txt: * GNUmakefile.list.am: * Target.pri: * WebCore.exp.in: * WebCore.gypi: * WebCore.order: * WebCore.vcproj/WebCore.vcproj: * WebCore.vcxproj/WebCore.vcxproj: * WebCore.vcxproj/WebCore.vcxproj.filters: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSCustomXPathNSResolver.cpp: (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI): * bindings/v8/custom/V8CustomXPathNSResolver.cpp: (WebCore::V8CustomXPathNSResolver::lookupNamespaceURI): * dom/Document.cpp: (WebCore::Document::addConsoleMessage): (WebCore::Document::addMessage): * inspector/PageDebuggerAgent.cpp: (WebCore::PageDebuggerAgent::muteConsole): (WebCore::PageDebuggerAgent::unmuteConsole): * inspector/PageRuntimeAgent.cpp: (WebCore::PageRuntimeAgent::muteConsole): (WebCore::PageRuntimeAgent::unmuteConsole): * page/Console.cpp: (WebCore::internalAddMessage): * page/Console.h: (WebCore): (Console): * page/DOMWindow.cpp: (WebCore::DOMWindow::pageConsole): (WebCore): (WebCore::DOMWindow::dispatchMessageEventWithOriginCheck): (WebCore::DOMWindow::printErrorMessage): * page/DOMWindow.h: (WebCore): (DOMWindow): * page/Page.cpp: (WebCore::Page::Page): * page/Page.h: (WebCore): (WebCore::Page::console): (Page): * page/PageConsole.cpp: Added. (WebCore::PageConsole::PageConsole): (WebCore): (WebCore::PageConsole::~PageConsole): (WebCore::PageConsole::printSourceURLAndLine): (WebCore::PageConsole::printMessageSourceAndLevelPrefix): (WebCore::PageConsole::addMessage): (WebCore::PageConsole::mute): (WebCore::PageConsole::unmute): (WebCore::PageConsole::shouldPrintExceptions): (WebCore::PageConsole::setShouldPrintExceptions): * page/PageConsole.h: Copied from Source/WebCore/page/Console.h. (WebCore): (PageConsole): (WebCore::PageConsole::create): (WebCore::PageConsole::page): * xml/XSLStyleSheetLibxslt.cpp: (WebCore::XSLStyleSheet::parseString): * xml/XSLTProcessorLibxslt.cpp: (WebCore::XSLTProcessor::parseErrorFunc): (WebCore::docLoaderFunc): Source/WebKit/mac: * Misc/WebCoreStatistics.mm: (+[WebCoreStatistics shouldPrintExceptions]): (+[WebCoreStatistics setShouldPrintExceptions:]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146208 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7195ba53