-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=68342 Source/WebCore: This change fixes semantics of the MessageSource and MessageType: MessageSource is now the source of the message (be it Network, HTML parser or Console API). MessageType is only defined for the Console API messages and contains the name of the API call (log, dir, dirxml, etc.). Subsequent https://bugs.webkit.org/show_bug.cgi?id=66371 will make MessageType private to the inspector. Reviewed by Tony Gentilcore. * dom/Document.cpp: (WebCore::Document::logExceptionToConsole): * inspector/ConsoleMessage.cpp: (WebCore::messageSourceValue): (WebCore::messageTypeValue): (WebCore::ConsoleMessage::addToFrontend): * inspector/Inspector.json: * inspector/InspectorConsoleAgent.cpp: (WebCore::InspectorConsoleAgent::didReceiveResponse): (WebCore::InspectorConsoleAgent::didFailLoading): * inspector/front-end/ConsoleMessage.js: (WebInspector.ConsoleMessage.createTextMessage): (WebIn...
818376c5