<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[163568] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/163568">163568</a></dd>
<dt>Author</dt> <dd>joepeck@webkit.org</dd>
<dt>Date</dt> <dd>2014-02-06 15:45:53 -0800 (Thu, 06 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Web Inspector: Add Console support to JSContext Inspection
https://bugs.webkit.org/show_bug.cgi?id=127941

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.am:
* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
Add new files.

* inspector/agents/InspectorConsoleAgent.cpp: Renamed from Source/WebCore/inspector/InspectorConsoleAgent.cpp.
* inspector/agents/InspectorConsoleAgent.h: Added.
New agent moved from WebCore. Rename a method to work in JS only context.

* inspector/JSGlobalObjectInspectorController.cpp:
(Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
Instantiate ConsoleAgent.

* inspector/agents/JSGlobalObjectConsoleAgent.h: Copied from Source/WebCore/inspector/PageInjectedScriptHost.h.
* inspector/agents/JSGlobalObjectConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageInjectedScriptHost.h.
(Inspector::JSGlobalObjectConsoleAgent::JSGlobalObjectConsoleAgent):
(Inspector::JSGlobalObjectConsoleAgent::setMonitoringXHREnabled):
(Inspector::JSGlobalObjectConsoleAgent::addInspectedNode):
(Inspector::JSGlobalObjectConsoleAgent::addInspectedHeapObject):
JSGlobalObject implementation.

* inspector/agents/JSGlobalObjectDebuggerAgent.h:
* inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
(Inspector::JSGlobalObjectDebuggerAgent::JSGlobalObjectDebuggerAgent):
(Inspector::JSGlobalObjectDebuggerAgent::breakpointActionLog):
Use ConsoleAgent to report logs.

* inspector/ConsoleMessage.cpp: Renamed from Source/WebCore/inspector/ConsoleMessage.cpp.
* inspector/ConsoleMessage.h: Renamed from Source/WebCore/inspector/ConsoleMessage.h.
* inspector/ConsoleTypes.h: Copied from Source/WebCore/inspector/ConsoleAPITypes.h.
* inspector/IdentifiersFactory.cpp: Renamed from Source/WebCore/inspector/IdentifiersFactory.cpp.
* inspector/IdentifiersFactory.h: Renamed from Source/WebCore/inspector/IdentifiersFactory.h.
* inspector/ScriptArguments.cpp: Renamed from Source/WebCore/inspector/ScriptArguments.cpp.
* inspector/ScriptArguments.h: Renamed from Source/WebCore/inspector/ScriptArguments.h.
* inspector/ScriptCallFrame.cpp: Renamed from Source/WebCore/inspector/ScriptCallFrame.cpp.
* inspector/ScriptCallFrame.h: Renamed from Source/WebCore/inspector/ScriptCallFrame.h.
* inspector/ScriptCallStack.cpp: Renamed from Source/WebCore/inspector/ScriptCallStack.cpp.
* inspector/ScriptCallStack.h: Renamed from Source/WebCore/inspector/ScriptCallStack.h.
* inspector/ScriptCallStackFactory.cpp: Renamed from Source/WebCore/bindings/js/ScriptCallStackFactory.cpp.
* inspector/ScriptCallStackFactory.h: Renamed from Source/WebCore/bindings/js/ScriptCallStackFactory.h.
* inspector/protocol/Console.json: Renamed from Source/WebCore/inspector/protocol/Console.json.
* inspector/scripts/generate-combined-inspector-json.py:

Source/WebCore:

  - Move InspectorConsoleAgent and dependencies to JavaScriptCore
    and into the Inspector namespace.
  - Update Console Message enum types to enum classes and update
    all users to the new, simpler names.
  - Since we are updating addConsoleMessage callsites anyways, add
    ASCIILiteral where appropriate.
  - Add WebConsoleAgent base of Page/Worker ConsoleAgent to implement
    what could not be pushed into JavaScriptCore.

* CMakeLists.txt:
* DerivedSources.make:
* ForwardingHeaders/inspector/ConsoleMessage.h: Added.
* ForwardingHeaders/inspector/ConsoleTypes.h: Added.
* ForwardingHeaders/inspector/IdentifiersFactory.h: Added.
* ForwardingHeaders/inspector/ScriptArguments.h: Added.
* ForwardingHeaders/inspector/ScriptCallFrame.h: Added.
* ForwardingHeaders/inspector/ScriptCallStack.h: Added.
* ForwardingHeaders/inspector/ScriptCallStackFactory.h: Added.
* ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h: Added.
* GNUmakefile.am:
* GNUmakefile.list.am:
Add / remove files from builds.

* inspector/WebConsoleAgent.h:
* inspector/WebConsoleAgent.cpp: Added.
(WebCore::WebConsoleAgent::WebConsoleAgent):
(WebCore::WebConsoleAgent::setMonitoringXHREnabled):
(WebCore::WebConsoleAgent::frameWindowDiscarded):
(WebCore::WebConsoleAgent::didFinishXHRLoading):
(WebCore::WebConsoleAgent::didReceiveResponse):
(WebCore::WebConsoleAgent::didFailLoading):
(WebCore::WebConsoleAgent::addInspectedHeapObject):
Implement what could not be pushed down into JavaScriptCore.

* inspector/InstrumentingAgents.h:
(WebCore::InstrumentingAgents::webConsoleAgent):
(WebCore::InstrumentingAgents::setWebConsoleAgent):
Hold a WebConsoleAgent instead of InspectorConsoleAgent.

* Modules/indexeddb/IDBCursor.cpp:
* Modules/indexeddb/IDBDatabase.cpp:
* Modules/indexeddb/IDBTransaction.cpp:
* Modules/quota/DOMWindowQuota.cpp:
(WebCore::DOMWindowQuota::webkitStorageInfo):
* Modules/webaudio/AudioBufferSourceNode.cpp:
(WebCore::AudioBufferSourceNode::looping):
(WebCore::AudioBufferSourceNode::setLooping):
* Modules/webaudio/AudioContext.cpp:
* Modules/webaudio/PannerNode.cpp:
(WebCore::PannerNode::setPanningModel):
* Modules/webdatabase/DatabaseBase.cpp:
(WebCore::DatabaseBase::logErrorMessage):
* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::logErrorMessage):
* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::connect):
(WebCore::WebSocket::send):
(WebCore::WebSocket::close):
(WebCore::WebSocket::setBinaryType):
* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::fail):
(WebCore::WebSocketChannel::didFailSocketStream):
* Modules/websockets/WebSocketHandshake.cpp:
* WebCore.exp.in:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSAudioContextCustom.cpp:
(WebCore::JSAudioContextConstructor::constructJSAudioContext):
* bindings/js/JSCustomXPathNSResolver.cpp:
(WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
* bindings/js/JSDOMBinding.cpp:
* bindings/js/JSSubtleCryptoCustom.cpp:
(WebCore::JSSubtleCrypto::encrypt):
(WebCore::JSSubtleCrypto::decrypt):
(WebCore::JSSubtleCrypto::sign):
(WebCore::JSSubtleCrypto::verify):
(WebCore::JSSubtleCrypto::wrapKey):
(WebCore::JSSubtleCrypto::unwrapKey):
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::canExecuteScripts):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateCallWith):
* bindings/scripts/test/JS/JSTestObj.cpp:
* css/CSSParser.cpp:
(WebCore::CSSParser::logError):
* css/MediaList.cpp:
(WebCore::addResolutionWarningMessageToConsole):
* dom/Document.cpp:
(WebCore::Document::logExceptionToConsole):
(WebCore::Document::processHttpEquiv):
(WebCore::Document::addMessage):
* dom/Document.h:
* dom/ScriptElement.cpp:
(WebCore::ScriptElement::executeScript):
(WebCore::ScriptElement::notifyFinished):
* dom/ScriptExecutionContext.cpp:
* dom/ScriptExecutionContext.h:
* dom/ViewportArguments.cpp:
(WebCore::viewportErrorMessageLevel):
(WebCore::reportViewportWarning):
* fileapi/Blob.cpp:
* fileapi/WebKitBlobBuilder.cpp:
* html/HTMLFormControlElement.cpp:
(WebCore::shouldAutofocus):
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::validateInteractively):
* html/HTMLIFrameElement.cpp:
(WebCore::HTMLIFrameElement::parseAttribute):
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
* html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::getImageData):
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::printWarningToConsole):
* html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::init):
* html/parser/XSSAuditorDelegate.cpp:
(WebCore::XSSAuditorDelegate::didBlockScript):
* inspector/CommandLineAPIHost.cpp:
* inspector/CommandLineAPIHost.h:
(WebCore::CommandLineAPIHost::init):
* inspector/InspectorAllInOne.cpp:
* inspector/InspectorConsoleAgent.h: Removed.
* inspector/InspectorConsoleInstrumentation.h:
(WebCore::InspectorInstrumentation::addMessageToConsole):
(WebCore::InspectorInstrumentation::consoleCount):
(WebCore::InspectorInstrumentation::stopConsoleTiming):
(WebCore::InspectorInstrumentation::consoleTimeStamp):
(WebCore::InspectorInstrumentation::addProfile):
* inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorFrontendHost.h:
* inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::frameWindowDiscardedImpl):
(WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
(WebCore::InspectorInstrumentation::didFailLoadingImpl):
(WebCore::InspectorInstrumentation::didFinishXHRLoadingImpl):
(WebCore::InspectorInstrumentation::didCommitLoadImpl):
(WebCore::isConsoleAssertMessage):
(WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
(WebCore::InspectorInstrumentation::consoleCountImpl):
(WebCore::InspectorInstrumentation::startConsoleTimingImpl):
(WebCore::InspectorInstrumentation::stopConsoleTimingImpl):
(WebCore::InspectorInstrumentation::consoleAgentEnabled):
* inspector/InspectorInstrumentation.h:
* inspector/InspectorLayerTreeAgent.cpp:
* inspector/InspectorPageAgent.cpp:
* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
(WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
* inspector/InspectorProfilerAgent.h:
* inspector/InspectorResourceAgent.cpp:
(WebCore::InspectorResourceAgent::buildInitiatorObject):
* inspector/InspectorTimelineAgent.cpp:
* inspector/InstrumentingAgents.cpp:
(WebCore::InstrumentingAgents::InstrumentingAgents):
(WebCore::InstrumentingAgents::reset):
* inspector/PageConsoleAgent.cpp:
(WebCore::PageConsoleAgent::PageConsoleAgent):
(WebCore::PageConsoleAgent::clearMessages):
(WebCore::PageConsoleAgent::addInspectedNode):
* inspector/PageConsoleAgent.h:
* inspector/PageDebuggerAgent.cpp:
(WebCore::PageDebuggerAgent::breakpointActionLog):
* inspector/PageInjectedScriptHost.h:
* inspector/PageInjectedScriptManager.h:
* inspector/TimelineRecordFactory.cpp:
(WebCore::TimelineRecordFactory::createGenericRecord):
(WebCore::WebConsoleAgent::~WebConsoleAgent):
* inspector/WorkerConsoleAgent.cpp:
(WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
(WebCore::WorkerConsoleAgent::addInspectedNode):
* inspector/WorkerConsoleAgent.h:
* inspector/WorkerDebuggerAgent.cpp:
(WebCore::WorkerDebuggerAgent::breakpointActionLog):
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::submitForm):
(WebCore::FrameLoader::reportLocalLoadFailed):
(WebCore::FrameLoader::handleBeforeUnloadEvent):
(WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
(WebCore::createWindow):
* loader/ImageLoader.cpp:
(WebCore::ImageLoader::notifyFinished):
* loader/MixedContentChecker.cpp:
(WebCore::MixedContentChecker::logWarning):
* loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::corsPolicyPreventedLoad):
* loader/appcache/ApplicationCacheGroup.cpp:
(WebCore::ApplicationCacheGroup::abort):
(WebCore::ApplicationCacheGroup::didReceiveResponse):
(WebCore::ApplicationCacheGroup::didFinishLoading):
(WebCore::ApplicationCacheGroup::didFail):
(WebCore::ApplicationCacheGroup::didReceiveManifestResponse):
(WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
(WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
* loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::printAccessDeniedMessage):
* page/ChromeClient.h:
* page/Console.cpp:
(WebCore::internalAddMessage):
(WebCore::Console::debug):
(WebCore::Console::error):
(WebCore::Console::log):
(WebCore::Console::warn):
(WebCore::Console::dir):
(WebCore::Console::dirxml):
(WebCore::Console::table):
(WebCore::Console::clear):
(WebCore::Console::trace):
(WebCore::Console::assertCondition):
(WebCore::Console::group):
(WebCore::Console::groupCollapsed):
(WebCore::Console::groupEnd):
* page/Console.h:
* page/ConsoleTypes.h: Removed.
* page/ContentSecurityPolicy.cpp:
(WebCore::ContentSecurityPolicy::reportViolation):
(WebCore::ContentSecurityPolicy::logToConsole):
* page/DOMSecurityPolicy.cpp:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::postMessage):
(WebCore::DOMWindow::dispatchMessageEventWithOriginCheck):
(WebCore::DOMWindow::close):
(WebCore::DOMWindow::printErrorMessage):
* page/DOMWindow.h:
* page/EventSource.cpp:
(WebCore::EventSource::didReceiveResponse):
(WebCore::EventSource::didFailAccessControlCheck):
* page/PageConsole.cpp:
(WebCore::PageConsole::printMessageSourceAndLevelPrefix):
(WebCore::PageConsole::addMessage):
* page/PageConsole.h:
* page/PointerLockController.cpp:
(WebCore::PointerLockController::requestPointerLock):
* platform/CrossThreadCopier.h:
* rendering/shapes/ShapeInfo.cpp:
(WebCore::checkShapeImageOrigin):
* svg/SVGDocumentExtensions.cpp:
(WebCore::reportMessage):
(WebCore::SVGDocumentExtensions::reportWarning):
(WebCore::SVGDocumentExtensions::reportError):
* testing/Internals.cpp:
(WebCore::Internals::consoleMessageArgumentCounts):
* workers/DefaultSharedWorkerRepository.cpp:
* workers/SharedWorkerGlobalScope.cpp:
(WebCore::SharedWorkerGlobalScope::logExceptionToConsole):
* workers/SharedWorkerGlobalScope.h:
* workers/WorkerGlobalScope.cpp:
(WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
* workers/WorkerGlobalScope.h:
* workers/WorkerMessagingProxy.cpp:
* workers/WorkerReportingProxy.h:
* xml/XMLHttpRequest.cpp:
(WebCore::logConsoleError):
(WebCore::XMLHttpRequest::send):
* xml/XSLTProcessorLibxslt.cpp:
(WebCore::XSLTProcessor::parseErrorFunc):

Source/WebInspectorUI:

* UserInterface/InspectorJSBackendCommands.js:
* UserInterface/InspectorWebBackendCommands.js:
ConsoleAgent moved to JavaScript section.

Source/WebKit/gtk:

* WebCoreSupport/ChromeClientGtk.cpp:
(WebKit::ChromeClient::addMessageToConsole):

Source/WebKit/mac:

* WebCoreSupport/WebChromeClient.h:
* WebCoreSupport/WebChromeClient.mm:
(stringForMessageSource):
(stringForMessageLevel):
(WebChromeClient::addMessageToConsole):

Source/WebKit/win:

* WebCoreSupport/WebChromeClient.h:

Source/WebKit/wince:

* WebCoreSupport/ChromeClientWinCE.h:

Source/WebKit2:

* WebProcess/WebCoreSupport/WebChromeClient.h:

LayoutTests:

* inspector-protocol/page/deny-X-FrameOption-expected.txt:
Update with better line/column numbers now.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectortestjs">trunk/LayoutTests/http/tests/inspector/inspector-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorprotocolloadingiframedocumentnodehtml">trunk/LayoutTests/http/tests/inspector-protocol/loading-iframe-document-node.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolpagedenyXFrameOptionexpectedtxt">trunk/LayoutTests/inspector-protocol/page/deny-X-FrameOption-expected.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreCMakeListstxt">trunk/Source/JavaScriptCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreDerivedSourcesmake">trunk/Source/JavaScriptCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceJavaScriptCoreGNUmakefileam">trunk/Source/JavaScriptCore/GNUmakefile.am</a></li>
<li><a href="#trunkSourceJavaScriptCoreGNUmakefilelistam">trunk/Source/JavaScriptCore/GNUmakefile.list.am</a></li>
<li><a href="#trunkSourceJavaScriptCoreJavaScriptCorevcxprojJavaScriptCorevcxproj">trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj</a></li>
<li><a href="#trunkSourceJavaScriptCoreJavaScriptCorexcodeprojprojectpbxproj">trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorJSGlobalObjectInspectorControllercpp">trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectDebuggerAgentcpp">trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectDebuggerAgenth">trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorscriptsgeneratecombinedinspectorjsonpy">trunk/Source/JavaScriptCore/inspector/scripts/generate-combined-inspector-json.py</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefileam">trunk/Source/WebCore/GNUmakefile.am</a></li>
<li><a href="#trunkSourceWebCoreGNUmakefilelistam">trunk/Source/WebCore/GNUmakefile.list.am</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBCursorcpp">trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBDatabasecpp">trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesindexeddbIDBTransactioncpp">trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp</a></li>
<li><a href="#trunkSourceWebCoreModulesquotaDOMWindowQuotacpp">trunk/Source/WebCore/Modules/quota/DOMWindowQuota.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioBufferSourceNodecpp">trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioContextcpp">trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioPannerNodecpp">trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseBasecpp">trunk/Source/WebCore/Modules/webdatabase/DatabaseBase.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebdatabaseDatabaseManagercpp">trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebsocketsWebSocketcpp">trunk/Source/WebCore/Modules/websockets/WebSocket.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebsocketsWebSocketChannelcpp">trunk/Source/WebCore/Modules/websockets/WebSocketChannel.cpp</a></li>
<li><a href="#trunkSourceWebCoreModuleswebsocketsWebSocketHandshakecpp">trunk/Source/WebCore/Modules/websockets/WebSocketHandshake.cpp</a></li>
<li><a href="#trunkSourceWebCoreUseJSCcmake">trunk/Source/WebCore/UseJSC.cmake</a></li>
<li><a href="#trunkSourceWebCoreWebCoreexpin">trunk/Source/WebCore/WebCore.exp.in</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters">trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSAudioContextCustomcpp">trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp">trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSCustomXPathNSResolvercpp">trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSDOMBindingcpp">trunk/Source/WebCore/bindings/js/JSDOMBinding.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSSubtleCryptoCustomcpp">trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptControllercpp">trunk/Source/WebCore/bindings/js/ScriptController.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorecssCSSParsercpp">trunk/Source/WebCore/css/CSSParser.cpp</a></li>
<li><a href="#trunkSourceWebCorecssMediaListcpp">trunk/Source/WebCore/css/MediaList.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomDocumenth">trunk/Source/WebCore/dom/Document.h</a></li>
<li><a href="#trunkSourceWebCoredomScriptElementcpp">trunk/Source/WebCore/dom/ScriptElement.cpp</a></li>
<li><a href="#trunkSourceWebCoredomScriptExecutionContextcpp">trunk/Source/WebCore/dom/ScriptExecutionContext.cpp</a></li>
<li><a href="#trunkSourceWebCoredomScriptExecutionContexth">trunk/Source/WebCore/dom/ScriptExecutionContext.h</a></li>
<li><a href="#trunkSourceWebCoredomViewportArgumentscpp">trunk/Source/WebCore/dom/ViewportArguments.cpp</a></li>
<li><a href="#trunkSourceWebCorefileapiBlobcpp">trunk/Source/WebCore/fileapi/Blob.cpp</a></li>
<li><a href="#trunkSourceWebCorefileapiWebKitBlobBuildercpp">trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormControlElementcpp">trunk/Source/WebCore/html/HTMLFormControlElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFormElementcpp">trunk/Source/WebCore/html/HTMLFormElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLIFrameElementcpp">trunk/Source/WebCore/html/HTMLIFrameElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLMediaElementcpp">trunk/Source/WebCore/html/HTMLMediaElement.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Dcpp">trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlcanvasWebGLRenderingContextcpp">trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserXSSAuditorcpp">trunk/Source/WebCore/html/parser/XSSAuditor.cpp</a></li>
<li><a href="#trunkSourceWebCorehtmlparserXSSAuditorDelegatecpp">trunk/Source/WebCore/html/parser/XSSAuditorDelegate.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorCommandLineAPIHostcpp">trunk/Source/WebCore/inspector/CommandLineAPIHost.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorCommandLineAPIHosth">trunk/Source/WebCore/inspector/CommandLineAPIHost.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorAllInOnecpp">trunk/Source/WebCore/inspector/InspectorAllInOne.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorConsoleInstrumentationh">trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorControllercpp">trunk/Source/WebCore/inspector/InspectorController.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorDOMAgentcpp">trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorFrontendHosth">trunk/Source/WebCore/inspector/InspectorFrontendHost.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorInstrumentationcpp">trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorInstrumentationh">trunk/Source/WebCore/inspector/InspectorInstrumentation.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorLayerTreeAgentcpp">trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorPageAgentcpp">trunk/Source/WebCore/inspector/InspectorPageAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorProfilerAgentcpp">trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorProfilerAgenth">trunk/Source/WebCore/inspector/InspectorProfilerAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorResourceAgentcpp">trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorTimelineAgentcpp">trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInstrumentingAgentscpp">trunk/Source/WebCore/inspector/InstrumentingAgents.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInstrumentingAgentsh">trunk/Source/WebCore/inspector/InstrumentingAgents.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageConsoleAgentcpp">trunk/Source/WebCore/inspector/PageConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageConsoleAgenth">trunk/Source/WebCore/inspector/PageConsoleAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageDebuggerAgentcpp">trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageInjectedScriptHosth">trunk/Source/WebCore/inspector/PageInjectedScriptHost.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorPageInjectedScriptManagerh">trunk/Source/WebCore/inspector/PageInjectedScriptManager.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorTimelineRecordFactorycpp">trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWorkerConsoleAgentcpp">trunk/Source/WebCore/inspector/WorkerConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWorkerConsoleAgenth">trunk/Source/WebCore/inspector/WorkerConsoleAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorWorkerDebuggerAgentcpp">trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWorkerInspectorControllercpp">trunk/Source/WebCore/inspector/WorkerInspectorController.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderDocumentLoadercpp">trunk/Source/WebCore/loader/DocumentLoader.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderFrameLoadercpp">trunk/Source/WebCore/loader/FrameLoader.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderImageLoadercpp">trunk/Source/WebCore/loader/ImageLoader.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderMixedContentCheckercpp">trunk/Source/WebCore/loader/MixedContentChecker.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderTextTrackLoadercpp">trunk/Source/WebCore/loader/TextTrackLoader.cpp</a></li>
<li><a href="#trunkSourceWebCoreloaderappcacheApplicationCacheGroupcpp">trunk/Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp</a></li>
<li><a href="#trunkSourceWebCoreloadercacheCachedResourceLoadercpp">trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp</a></li>
<li><a href="#trunkSourceWebCorepageChromeClienth">trunk/Source/WebCore/page/ChromeClient.h</a></li>
<li><a href="#trunkSourceWebCorepageConsolecpp">trunk/Source/WebCore/page/Console.cpp</a></li>
<li><a href="#trunkSourceWebCorepageConsoleh">trunk/Source/WebCore/page/Console.h</a></li>
<li><a href="#trunkSourceWebCorepageContentSecurityPolicycpp">trunk/Source/WebCore/page/ContentSecurityPolicy.cpp</a></li>
<li><a href="#trunkSourceWebCorepageDOMSecurityPolicycpp">trunk/Source/WebCore/page/DOMSecurityPolicy.cpp</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowcpp">trunk/Source/WebCore/page/DOMWindow.cpp</a></li>
<li><a href="#trunkSourceWebCorepageDOMWindowh">trunk/Source/WebCore/page/DOMWindow.h</a></li>
<li><a href="#trunkSourceWebCorepageEventSourcecpp">trunk/Source/WebCore/page/EventSource.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageConsolecpp">trunk/Source/WebCore/page/PageConsole.cpp</a></li>
<li><a href="#trunkSourceWebCorepagePageConsoleh">trunk/Source/WebCore/page/PageConsole.h</a></li>
<li><a href="#trunkSourceWebCorepagePointerLockControllercpp">trunk/Source/WebCore/page/PointerLockController.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformCrossThreadCopierh">trunk/Source/WebCore/platform/CrossThreadCopier.h</a></li>
<li><a href="#trunkSourceWebCorerenderingshapesShapeInfocpp">trunk/Source/WebCore/rendering/shapes/ShapeInfo.cpp</a></li>
<li><a href="#trunkSourceWebCoresvgSVGDocumentExtensionscpp">trunk/Source/WebCore/svg/SVGDocumentExtensions.cpp</a></li>
<li><a href="#trunkSourceWebCoretestingInternalscpp">trunk/Source/WebCore/testing/Internals.cpp</a></li>
<li><a href="#trunkSourceWebCoreworkersDefaultSharedWorkerRepositorycpp">trunk/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp</a></li>
<li><a href="#trunkSourceWebCoreworkersSharedWorkerGlobalScopecpp">trunk/Source/WebCore/workers/SharedWorkerGlobalScope.cpp</a></li>
<li><a href="#trunkSourceWebCoreworkersSharedWorkerGlobalScopeh">trunk/Source/WebCore/workers/SharedWorkerGlobalScope.h</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerGlobalScopecpp">trunk/Source/WebCore/workers/WorkerGlobalScope.cpp</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerGlobalScopeh">trunk/Source/WebCore/workers/WorkerGlobalScope.h</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerMessagingProxycpp">trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp</a></li>
<li><a href="#trunkSourceWebCoreworkersWorkerReportingProxyh">trunk/Source/WebCore/workers/WorkerReportingProxy.h</a></li>
<li><a href="#trunkSourceWebCorexmlXMLHttpRequestcpp">trunk/Source/WebCore/xml/XMLHttpRequest.cpp</a></li>
<li><a href="#trunkSourceWebCorexmlXSLTProcessorLibxsltcpp">trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp</a></li>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceInspectorJSBackendCommandsjs">trunk/Source/WebInspectorUI/UserInterface/InspectorJSBackendCommands.js</a></li>
<li><a href="#trunkSourceWebInspectorUIUserInterfaceInspectorWebBackendCommandsjs">trunk/Source/WebInspectorUI/UserInterface/InspectorWebBackendCommands.js</a></li>
<li><a href="#trunkSourceWebKitgtkChangeLog">trunk/Source/WebKit/gtk/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitgtkWebCoreSupportChromeClientGtkcpp">trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebChromeClienth">trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h</a></li>
<li><a href="#trunkSourceWebKitmacWebCoreSupportWebChromeClientmm">trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm</a></li>
<li><a href="#trunkSourceWebKitwinChangeLog">trunk/Source/WebKit/win/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitwinWebCoreSupportWebChromeClienth">trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h</a></li>
<li><a href="#trunkSourceWebKitwinceChangeLog">trunk/Source/WebKit/wince/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitwinceWebCoreSupportChromeClientWinCEh">trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebCoreSupportWebChromeClienth">trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreinspectorConsoleMessagecpp">trunk/Source/JavaScriptCore/inspector/ConsoleMessage.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorConsoleMessageh">trunk/Source/JavaScriptCore/inspector/ConsoleMessage.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorConsoleTypesh">trunk/Source/JavaScriptCore/inspector/ConsoleTypes.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorIdentifiersFactorycpp">trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorIdentifiersFactoryh">trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptArgumentscpp">trunk/Source/JavaScriptCore/inspector/ScriptArguments.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptArgumentsh">trunk/Source/JavaScriptCore/inspector/ScriptArguments.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallFramecpp">trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallFrameh">trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallStackcpp">trunk/Source/JavaScriptCore/inspector/ScriptCallStack.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallStackh">trunk/Source/JavaScriptCore/inspector/ScriptCallStack.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallStackFactorycpp">trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorScriptCallStackFactoryh">trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsInspectorConsoleAgentcpp">trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsInspectorConsoleAgenth">trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectConsoleAgentcpp">trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectConsoleAgenth">trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.h</a></li>
<li><a href="#trunkSourceJavaScriptCoreinspectorprotocolConsolejson">trunk/Source/JavaScriptCore/inspector/protocol/Console.json</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorConsoleMessageh">trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleMessage.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorConsoleTypesh">trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleTypes.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorIdentifiersFactoryh">trunk/Source/WebCore/ForwardingHeaders/inspector/IdentifiersFactory.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorScriptArgumentsh">trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptArguments.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorScriptCallFrameh">trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallFrame.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorScriptCallStackh">trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStack.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectorScriptCallStackFactoryh">trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStackFactory.h</a></li>
<li><a href="#trunkSourceWebCoreForwardingHeadersinspectoragentsInspectorConsoleAgenth">trunk/Source/WebCore/ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorWebConsoleAgentcpp">trunk/Source/WebCore/inspector/WebConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorWebConsoleAgenth">trunk/Source/WebCore/inspector/WebConsoleAgent.h</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebCorebindingsjsScriptCallStackFactorycpp">trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsjsScriptCallStackFactoryh">trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorConsoleAPITypesh">trunk/Source/WebCore/inspector/ConsoleAPITypes.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorConsoleMessagecpp">trunk/Source/WebCore/inspector/ConsoleMessage.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorConsoleMessageh">trunk/Source/WebCore/inspector/ConsoleMessage.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorIdentifiersFactorycpp">trunk/Source/WebCore/inspector/IdentifiersFactory.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorIdentifiersFactoryh">trunk/Source/WebCore/inspector/IdentifiersFactory.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorConsoleAgentcpp">trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorInspectorConsoleAgenth">trunk/Source/WebCore/inspector/InspectorConsoleAgent.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptArgumentscpp">trunk/Source/WebCore/inspector/ScriptArguments.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptArgumentsh">trunk/Source/WebCore/inspector/ScriptArguments.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptCallFramecpp">trunk/Source/WebCore/inspector/ScriptCallFrame.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptCallFrameh">trunk/Source/WebCore/inspector/ScriptCallFrame.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptCallStackcpp">trunk/Source/WebCore/inspector/ScriptCallStack.cpp</a></li>
<li><a href="#trunkSourceWebCoreinspectorScriptCallStackh">trunk/Source/WebCore/inspector/ScriptCallStack.h</a></li>
<li><a href="#trunkSourceWebCoreinspectorprotocolConsolejson">trunk/Source/WebCore/inspector/protocol/Console.json</a></li>
<li><a href="#trunkSourceWebCorepageConsoleTypesh">trunk/Source/WebCore/page/ConsoleTypes.h</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/LayoutTests/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * inspector-protocol/page/deny-X-FrameOption-expected.txt:
+        Update with better line/column numbers now.
+
</ins><span class="cx"> 2014-01-30  Oliver Hunt  &lt;oliver@apple.com&gt;
</span><span class="cx">         Push DOM attributes into the prototype chain
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=127969
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectortestjs"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/inspector/inspector-test.js (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspector-test.js        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/LayoutTests/http/tests/inspector/inspector-test.js        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -13,17 +13,17 @@
</span><span class="cx"> console.info = consoleOutputHook.bind(InspectorTest, &quot;info&quot;);
</span><span class="cx"> 
</span><span class="cx"> InspectorTest.Output = {   // override in window.initialize_yourName
</span><del>-    testComplete: function() 
</del><ins>+    testComplete: function()
</ins><span class="cx">     {
</span><span class="cx">         RuntimeAgent.evaluate(&quot;didEvaluateForTestInFrontend(&quot; + InspectorTest.completeTestCallId + &quot;, \&quot;\&quot;)&quot;, &quot;test&quot;);
</span><span class="cx">     },
</span><span class="cx"> 
</span><del>-    addResult: function(text) 
</del><ins>+    addResult: function(text)
</ins><span class="cx">     {
</span><span class="cx">         InspectorTest.evaluateInPage(&quot;output(unescape('&quot; + escape(text) + &quot;'))&quot;);
</span><span class="cx">     },
</span><span class="cx">     
</span><del>-    clearResults: function() 
</del><ins>+    clearResults: function()
</ins><span class="cx">     {
</span><span class="cx">         InspectorTest.evaluateInPage(&quot;clearOutput()&quot;);
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorprotocolloadingiframedocumentnodehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/http/tests/inspector-protocol/loading-iframe-document-node.html (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-protocol/loading-iframe-document-node.html        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/LayoutTests/http/tests/inspector-protocol/loading-iframe-document-node.html        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx">             &quot;includeCommandLineAPI&quot;: false,
</span><span class="cx">             &quot;contextId&quot;: event.params.context.id,
</span><span class="cx">             &quot;doNotPauseOnExceptionsAndMuteConsole&quot;: false,
</span><del>-            &quot;returnByValue&quot;: false, 
</del><ins>+            &quot;returnByValue&quot;: false,
</ins><span class="cx">             &quot;generatePreview&quot;: false
</span><span class="cx">         }, callback);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolpagedenyXFrameOptionexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/inspector-protocol/page/deny-X-FrameOption-expected.txt (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/page/deny-X-FrameOption-expected.txt        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/LayoutTests/inspector-protocol/page/deny-X-FrameOption-expected.txt        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,4 +1,4 @@
</span><span class="cx"> CONSOLE MESSAGE: Refused to display 'deny-X-FrameOption.html' in a frame because it set 'X-Frame-Options' to 'deny'.
</span><span class="cx"> 
</span><del>-deny-X-FrameOption.html:0:0
</del><ins>+deny-X-FrameOption.html:30:17
</ins><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/CMakeLists.txt (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/CMakeLists.txt        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/CMakeLists.txt        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -227,7 +227,9 @@
</span><span class="cx">     heap/WriteBarrierBuffer.cpp
</span><span class="cx">     heap/WriteBarrierSupport.cpp
</span><span class="cx"> 
</span><ins>+    inspector/ConsoleMessage.cpp
</ins><span class="cx">     inspector/ContentSearchUtilities.cpp
</span><ins>+    inspector/IdentifiersFactory.cpp
</ins><span class="cx">     inspector/InjectedScript.cpp
</span><span class="cx">     inspector/InjectedScriptBase.cpp
</span><span class="cx">     inspector/InjectedScriptHost.cpp
</span><span class="lines">@@ -241,8 +243,13 @@
</span><span class="cx">     inspector/JSJavaScriptCallFrame.cpp
</span><span class="cx">     inspector/JSJavaScriptCallFramePrototype.cpp
</span><span class="cx">     inspector/JavaScriptCallFrame.cpp
</span><ins>+    inspector/ScriptArguments.cpp
+    inspector/ScriptCallFrame.cpp
+    inspector/ScriptCallStack.cpp
+    inspector/ScriptCallStackFactory.cpp
</ins><span class="cx">     inspector/ScriptDebugServer.cpp
</span><span class="cx">     inspector/agents/InspectorAgent.cpp
</span><ins>+    inspector/agents/InspectorConsoleAgent.cpp
</ins><span class="cx">     inspector/agents/InspectorDebuggerAgent.cpp
</span><span class="cx">     inspector/agents/InspectorRuntimeAgent.cpp
</span><span class="cx"> 
</span><span class="lines">@@ -796,6 +803,7 @@
</span><span class="cx"> set(JavaScriptCore_INSPECTOR_SCRIPTS_DIR &quot;${JAVASCRIPTCORE_DIR}/inspector/scripts&quot;)
</span><span class="cx"> 
</span><span class="cx"> set(JavaScriptCore_INSPECTOR_DOMAINS
</span><ins>+    inspector/protocol/Console.json
</ins><span class="cx">     inspector/protocol/Debugger.json
</span><span class="cx">     inspector/protocol/GenericTypes.json
</span><span class="cx">     inspector/protocol/InspectorDomain.json
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,56 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * GNUmakefile.am:
+        * GNUmakefile.list.am:
+        * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
+        * JavaScriptCore.xcodeproj/project.pbxproj:
+        Add new files.
+
+        * inspector/agents/InspectorConsoleAgent.cpp: Renamed from Source/WebCore/inspector/InspectorConsoleAgent.cpp.
+        * inspector/agents/InspectorConsoleAgent.h: Added.
+        New agent moved from WebCore. Rename a method to work in JS only context.
+
+        * inspector/JSGlobalObjectInspectorController.cpp:
+        (Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
+        Instantiate ConsoleAgent.
+
+        * inspector/agents/JSGlobalObjectConsoleAgent.h: Copied from Source/WebCore/inspector/PageInjectedScriptHost.h.
+        * inspector/agents/JSGlobalObjectConsoleAgent.cpp: Copied from Source/WebCore/inspector/PageInjectedScriptHost.h.
+        (Inspector::JSGlobalObjectConsoleAgent::JSGlobalObjectConsoleAgent):
+        (Inspector::JSGlobalObjectConsoleAgent::setMonitoringXHREnabled):
+        (Inspector::JSGlobalObjectConsoleAgent::addInspectedNode):
+        (Inspector::JSGlobalObjectConsoleAgent::addInspectedHeapObject):
+        JSGlobalObject implementation.
+
+        * inspector/agents/JSGlobalObjectDebuggerAgent.h:
+        * inspector/agents/JSGlobalObjectDebuggerAgent.cpp:
+        (Inspector::JSGlobalObjectDebuggerAgent::JSGlobalObjectDebuggerAgent):
+        (Inspector::JSGlobalObjectDebuggerAgent::breakpointActionLog):
+        Use ConsoleAgent to report logs.
+
+        * inspector/ConsoleMessage.cpp: Renamed from Source/WebCore/inspector/ConsoleMessage.cpp.
+        * inspector/ConsoleMessage.h: Renamed from Source/WebCore/inspector/ConsoleMessage.h.
+        * inspector/ConsoleTypes.h: Copied from Source/WebCore/inspector/ConsoleAPITypes.h.
+        * inspector/IdentifiersFactory.cpp: Renamed from Source/WebCore/inspector/IdentifiersFactory.cpp.
+        * inspector/IdentifiersFactory.h: Renamed from Source/WebCore/inspector/IdentifiersFactory.h.
+        * inspector/ScriptArguments.cpp: Renamed from Source/WebCore/inspector/ScriptArguments.cpp.
+        * inspector/ScriptArguments.h: Renamed from Source/WebCore/inspector/ScriptArguments.h.
+        * inspector/ScriptCallFrame.cpp: Renamed from Source/WebCore/inspector/ScriptCallFrame.cpp.
+        * inspector/ScriptCallFrame.h: Renamed from Source/WebCore/inspector/ScriptCallFrame.h.
+        * inspector/ScriptCallStack.cpp: Renamed from Source/WebCore/inspector/ScriptCallStack.cpp.
+        * inspector/ScriptCallStack.h: Renamed from Source/WebCore/inspector/ScriptCallStack.h.
+        * inspector/ScriptCallStackFactory.cpp: Renamed from Source/WebCore/bindings/js/ScriptCallStackFactory.cpp.
+        * inspector/ScriptCallStackFactory.h: Renamed from Source/WebCore/bindings/js/ScriptCallStackFactory.h.
+        * inspector/protocol/Console.json: Renamed from Source/WebCore/inspector/protocol/Console.json.
+        * inspector/scripts/generate-combined-inspector-json.py:
+
</ins><span class="cx"> 2014-02-06  Commit Queue  &lt;commit-queue@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, rolling out r163542.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/DerivedSources.make (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/DerivedSources.make        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/DerivedSources.make        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -83,6 +83,7 @@
</span><span class="cx"> # Inspector interfaces
</span><span class="cx"> 
</span><span class="cx"> INSPECTOR_DOMAINS = \
</span><ins>+    $(JavaScriptCore)/inspector/protocol/Console.json \
</ins><span class="cx">     $(JavaScriptCore)/inspector/protocol/Debugger.json \
</span><span class="cx">     $(JavaScriptCore)/inspector/protocol/GenericTypes.json \
</span><span class="cx">     $(JavaScriptCore)/inspector/protocol/InspectorDomain.json \
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/GNUmakefile.am (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/GNUmakefile.am        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/GNUmakefile.am        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -202,6 +202,7 @@
</span><span class="cx">         Source/JavaScriptCore/icu/LICENSE \
</span><span class="cx">         Source/JavaScriptCore/icu/README \
</span><span class="cx">         Source/JavaScriptCore/inspector/InjectedScriptSource.js \
</span><ins>+        Source/JavaScriptCore/inspector/protocol/Console.json \
</ins><span class="cx">         Source/JavaScriptCore/inspector/protocol/Debugger.json \
</span><span class="cx">         Source/JavaScriptCore/inspector/protocol/GenericTypes.json \
</span><span class="cx">         Source/JavaScriptCore/inspector/protocol/InspectorDomain.json \
</span><span class="lines">@@ -243,6 +244,7 @@
</span><span class="cx"> # Inspector Interfaces
</span><span class="cx"> 
</span><span class="cx"> JavaScriptCore_INSPECTOR_DOMAINS := \
</span><ins>+    $(JavaScriptCore)/inspector/protocol/Console.json \
</ins><span class="cx">     $(JavaScriptCore)/inspector/protocol/Debugger.json \
</span><span class="cx">     $(JavaScriptCore)/inspector/protocol/GenericTypes.json \
</span><span class="cx">     $(JavaScriptCore)/inspector/protocol/InspectorDomain.json \
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreGNUmakefilelistam"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/GNUmakefile.list.am (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/GNUmakefile.list.am        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/GNUmakefile.list.am        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -633,8 +633,13 @@
</span><span class="cx">         Source/JavaScriptCore/icu/unicode/utf_old.h \
</span><span class="cx">         Source/JavaScriptCore/icu/unicode/utypes.h \
</span><span class="cx">         Source/JavaScriptCore/icu/unicode/uversion.h \
</span><ins>+        Source/JavaScriptCore/inspector/ConsoleMessage.cpp \
+        Source/JavaScriptCore/inspector/ConsoleMessage.h \
+        Source/JavaScriptCore/inspector/ConsoleTypes.h \
</ins><span class="cx">         Source/JavaScriptCore/inspector/ContentSearchUtilities.cpp \
</span><span class="cx">         Source/JavaScriptCore/inspector/ContentSearchUtilities.h \
</span><ins>+        Source/JavaScriptCore/inspector/IdentifiersFactory.cpp \
+        Source/JavaScriptCore/inspector/IdentifiersFactory.h \
</ins><span class="cx">         Source/JavaScriptCore/inspector/InjectedScript.cpp \
</span><span class="cx">         Source/JavaScriptCore/inspector/InjectedScript.h \
</span><span class="cx">         Source/JavaScriptCore/inspector/InjectedScriptBase.cpp \
</span><span class="lines">@@ -665,16 +670,26 @@
</span><span class="cx">         Source/JavaScriptCore/inspector/JSJavaScriptCallFramePrototype.h \
</span><span class="cx">         Source/JavaScriptCore/inspector/JavaScriptCallFrame.cpp \
</span><span class="cx">         Source/JavaScriptCore/inspector/JavaScriptCallFrame.h \
</span><ins>+        Source/JavaScriptCore/inspector/ScriptArguments.cpp \
+        Source/JavaScriptCore/inspector/ScriptArguments.h \
</ins><span class="cx">         Source/JavaScriptCore/inspector/ScriptBreakpoint.h \
</span><ins>+        Source/JavaScriptCore/inspector/ScriptCallFrame.cpp \
+        Source/JavaScriptCore/inspector/ScriptCallFrame.h \
+        Source/JavaScriptCore/inspector/ScriptCallStack.cpp \
+        Source/JavaScriptCore/inspector/ScriptCallStack.h \
+        Source/JavaScriptCore/inspector/ScriptCallStackFactory.cpp \
+        Source/JavaScriptCore/inspector/ScriptCallStackFactory.h \
</ins><span class="cx">         Source/JavaScriptCore/inspector/ScriptDebugListener.h \
</span><span class="cx">         Source/JavaScriptCore/inspector/ScriptDebugServer.cpp \
</span><span class="cx">         Source/JavaScriptCore/inspector/ScriptDebugServer.h \
</span><ins>+        Source/JavaScriptCore/inspector/agents/InspectorAgent.cpp \
</ins><span class="cx">         Source/JavaScriptCore/inspector/agents/InspectorAgent.h \
</span><del>-        Source/JavaScriptCore/inspector/agents/InspectorAgent.cpp \
</del><ins>+        Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp \
+        Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h \
+        Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp \
</ins><span class="cx">         Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.h \
</span><del>-        Source/JavaScriptCore/inspector/agents/InspectorDebuggerAgent.cpp \
</del><ins>+        Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp \
</ins><span class="cx">         Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.h \
</span><del>-        Source/JavaScriptCore/inspector/agents/InspectorRuntimeAgent.cpp \
</del><span class="cx">         Source/JavaScriptCore/interpreter/AbstractPC.cpp \
</span><span class="cx">         Source/JavaScriptCore/interpreter/AbstractPC.h \
</span><span class="cx">         Source/JavaScriptCore/interpreter/CachedCall.h \
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreJavaScriptCorevcxprojJavaScriptCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -476,7 +476,9 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\heap\WeakSet.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\heap\WriteBarrierBuffer.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\heap\WriteBarrierSupport.cpp&quot; /&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\inspector\ConsoleMessage.cpp&quot; /&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\ContentSearchUtilities.cpp&quot; /&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\inspector\IdentifiersFactory.cpp&quot; /&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InjectedScript.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InjectedScriptBase.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InjectedScriptHost.cpp&quot; /&gt;
</span><span class="lines">@@ -490,8 +492,13 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\JSJavaScriptCallFrame.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\JSJavaScriptCallFramePrototype.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\JavaScriptCallFrame.cpp&quot; /&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\inspector\ScriptArguments.cpp&quot; /&gt;
+    &lt;ClCompile Include=&quot;..\inspector\ScriptCallFrame.cpp&quot; /&gt;
+    &lt;ClCompile Include=&quot;..\inspector\ScriptCallStack.cpp&quot; /&gt;
+    &lt;ClCompile Include=&quot;..\inspector\ScriptCallStackFactory.cpp&quot; /&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\ScriptDebugServer.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\agents\InspectorAgent.cpp&quot; /&gt;
</span><ins>+    &lt;ClCompile Include=&quot;..\inspector\agents\InspectorConsoleAgent.cpp&quot; /&gt;
</ins><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\agents\InspectorDebuggerAgent.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\agents\InspectorRuntimeAgent.cpp&quot; /&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\interpreter\AbstractPC.cpp&quot; /&gt;
</span><span class="lines">@@ -1054,7 +1061,10 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\heap\WeakSetInlines.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\heap\WriteBarrierBuffer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\heap\WriteBarrierSupport.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\ConsoleMessage.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\inspector\ConsoleTypes.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\ContentSearchUtilities.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\IdentifiersFactory.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InjectedScript.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InjectedScriptBase.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InjectedScriptHost.h&quot; /&gt;
</span><span class="lines">@@ -1072,10 +1082,15 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\JSJavaScriptCallFrame.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\JSJavaScriptCallFramePrototype.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\JavaScriptCallFrame.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\ScriptArguments.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\ScriptBreakpoint.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\ScriptCallFrame.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\inspector\ScriptCallStack.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\inspector\ScriptCallStackFactory.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\ScriptDebugListener.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\ScriptDebugServer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\agents\InspectorAgent.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\agents\InspectorConsoleAgent.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\agents\InspectorDebuggerAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\agents\InspectorRuntimeAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\interpreter\AbstractPC.h&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreJavaScriptCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1013,6 +1013,23 @@
</span><span class="cx">                 A5CEEE14187F3BAD00E55C99 /* InspectorAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5CEEE12187F3BAD00E55C99 /* InspectorAgent.cpp */; };
</span><span class="cx">                 A5CEEE15187F3BAD00E55C99 /* InspectorAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = A5CEEE13187F3BAD00E55C99 /* InspectorAgent.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 A5D0A1BB1862301B00C7B496 /* InspectorEnvironment.h in Headers */ = {isa = PBXBuildFile; fileRef = A5D0A1BA1862301B00C7B496 /* InspectorEnvironment.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><ins>+                A5FD0067189AFE9C00633231 /* ScriptArguments.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD0065189AFE9C00633231 /* ScriptArguments.cpp */; };
+                A5FD0068189AFE9C00633231 /* ScriptArguments.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0066189AFE9C00633231 /* ScriptArguments.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD006D189B00AA00633231 /* ScriptCallFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD0069189B00A900633231 /* ScriptCallFrame.cpp */; };
+                A5FD006E189B00AA00633231 /* ScriptCallFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD006A189B00A900633231 /* ScriptCallFrame.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD006F189B00AA00633231 /* ScriptCallStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD006B189B00A900633231 /* ScriptCallStack.cpp */; };
+                A5FD0070189B00AA00633231 /* ScriptCallStack.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD006C189B00AA00633231 /* ScriptCallStack.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD0074189B038C00633231 /* ConsoleTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0071189B038C00633231 /* ConsoleTypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD0075189B038C00633231 /* IdentifiersFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD0072189B038C00633231 /* IdentifiersFactory.cpp */; };
+                A5FD0076189B038C00633231 /* IdentifiersFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0073189B038C00633231 /* IdentifiersFactory.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD0079189B051000633231 /* ConsoleMessage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD0077189B051000633231 /* ConsoleMessage.cpp */; };
+                A5FD007A189B051000633231 /* ConsoleMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0078189B051000633231 /* ConsoleMessage.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD007D189B0B4C00633231 /* ScriptCallStackFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD007B189B0B4C00633231 /* ScriptCallStackFactory.cpp */; };
+                A5FD007E189B0B4C00633231 /* ScriptCallStackFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD007C189B0B4C00633231 /* ScriptCallStackFactory.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD0081189B191A00633231 /* InspectorConsoleAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD007F189B191A00633231 /* InspectorConsoleAgent.cpp */; };
+                A5FD0082189B191A00633231 /* InspectorConsoleAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0080189B191A00633231 /* InspectorConsoleAgent.h */; settings = {ATTRIBUTES = (Private, ); }; };
+                A5FD0085189B1B7E00633231 /* JSGlobalObjectConsoleAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5FD0083189B1B7E00633231 /* JSGlobalObjectConsoleAgent.cpp */; };
+                A5FD0086189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = A5FD0084189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h */; };
</ins><span class="cx">                 A700873917CBE85300C3E643 /* MapConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A700873717CBE85300C3E643 /* MapConstructor.cpp */; };
</span><span class="cx">                 A700873A17CBE85300C3E643 /* MapConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = A700873817CBE85300C3E643 /* MapConstructor.h */; };
</span><span class="cx">                 A700873D17CBE8D300C3E643 /* MapPrototype.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A700873B17CBE8D300C3E643 /* MapPrototype.cpp */; };
</span><span class="lines">@@ -2457,6 +2474,23 @@
</span><span class="cx">                 A5CEEE12187F3BAD00E55C99 /* InspectorAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A5CEEE13187F3BAD00E55C99 /* InspectorAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A5D0A1BA1862301B00C7B496 /* InspectorEnvironment.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorEnvironment.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                A5FD0065189AFE9C00633231 /* ScriptArguments.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptArguments.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0066189AFE9C00633231 /* ScriptArguments.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptArguments.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0069189B00A900633231 /* ScriptCallFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallFrame.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD006A189B00A900633231 /* ScriptCallFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallFrame.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD006B189B00A900633231 /* ScriptCallStack.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallStack.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD006C189B00AA00633231 /* ScriptCallStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallStack.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0071189B038C00633231 /* ConsoleTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleTypes.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0072189B038C00633231 /* IdentifiersFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IdentifiersFactory.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0073189B038C00633231 /* IdentifiersFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IdentifiersFactory.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0077189B051000633231 /* ConsoleMessage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConsoleMessage.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0078189B051000633231 /* ConsoleMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleMessage.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD007B189B0B4C00633231 /* ScriptCallStackFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallStackFactory.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD007C189B0B4C00633231 /* ScriptCallStackFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallStackFactory.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD007F189B191A00633231 /* InspectorConsoleAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorConsoleAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0080189B191A00633231 /* InspectorConsoleAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorConsoleAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0083189B1B7E00633231 /* JSGlobalObjectConsoleAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSGlobalObjectConsoleAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A5FD0084189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSGlobalObjectConsoleAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 A700873717CBE85300C3E643 /* MapConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MapConstructor.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A700873817CBE85300C3E643 /* MapConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MapConstructor.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A700873B17CBE8D300C3E643 /* MapPrototype.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MapPrototype.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -4483,10 +4517,14 @@
</span><span class="cx">                         children = (
</span><span class="cx">                                 A5CEEE12187F3BAD00E55C99 /* InspectorAgent.cpp */,
</span><span class="cx">                                 A5CEEE13187F3BAD00E55C99 /* InspectorAgent.h */,
</span><ins>+                                A5FD007F189B191A00633231 /* InspectorConsoleAgent.cpp */,
+                                A5FD0080189B191A00633231 /* InspectorConsoleAgent.h */,
</ins><span class="cx">                                 A57D23E31890CEBF0031C7FA /* InspectorDebuggerAgent.cpp */,
</span><span class="cx">                                 A57D23E41890CEBF0031C7FA /* InspectorDebuggerAgent.h */,
</span><span class="cx">                                 A50E4B5D18809DD50068A46D /* InspectorRuntimeAgent.cpp */,
</span><span class="cx">                                 A50E4B5E18809DD50068A46D /* InspectorRuntimeAgent.h */,
</span><ins>+                                A5FD0083189B1B7E00633231 /* JSGlobalObjectConsoleAgent.cpp */,
+                                A5FD0084189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h */,
</ins><span class="cx">                                 A57D23E71891B0770031C7FA /* JSGlobalObjectDebuggerAgent.cpp */,
</span><span class="cx">                                 A57D23E81891B0770031C7FA /* JSGlobalObjectDebuggerAgent.h */,
</span><span class="cx">                                 A50E4B5F18809DD50068A46D /* JSGlobalObjectRuntimeAgent.cpp */,
</span><span class="lines">@@ -4529,10 +4567,15 @@
</span><span class="cx">                                 A513E5CC185FB992007E95AD /* agents */,
</span><span class="cx">                                 A5BA15E01823409D00A82E69 /* remote */,
</span><span class="cx">                                 A532438E185696CE002ED692 /* scripts */,
</span><ins>+                                A5FD0077189B051000633231 /* ConsoleMessage.cpp */,
+                                A5FD0078189B051000633231 /* ConsoleMessage.h */,
+                                A5FD0071189B038C00633231 /* ConsoleTypes.h */,
</ins><span class="cx">                                 A57D23EF1891B5B40031C7FA /* ContentSearchUtilities.cpp */,
</span><span class="cx">                                 A57D23F01891B5B40031C7FA /* ContentSearchUtilities.h */,
</span><span class="cx">                                 A54982011891D0B00081E5B8 /* EventLoop.cpp */,
</span><span class="cx">                                 A54982021891D0B00081E5B8 /* EventLoop.h */,
</span><ins>+                                A5FD0072189B038C00633231 /* IdentifiersFactory.cpp */,
+                                A5FD0073189B038C00633231 /* IdentifiersFactory.h */,
</ins><span class="cx">                                 A513E5B5185B8BD3007E95AD /* InjectedScript.cpp */,
</span><span class="cx">                                 A513E5B6185B8BD3007E95AD /* InjectedScript.h */,
</span><span class="cx">                                 A514B2C0185A684400F3C7CB /* InjectedScriptBase.cpp */,
</span><span class="lines">@@ -4568,7 +4611,15 @@
</span><span class="cx">                                 A503FA18188E0FB000110F14 /* JSJavaScriptCallFramePrototype.h */,
</span><span class="cx">                                 A503FA13188E0FAF00110F14 /* JavaScriptCallFrame.cpp */,
</span><span class="cx">                                 A503FA14188E0FAF00110F14 /* JavaScriptCallFrame.h */,
</span><ins>+                                A5FD0065189AFE9C00633231 /* ScriptArguments.cpp */,
+                                A5FD0066189AFE9C00633231 /* ScriptArguments.h */,
</ins><span class="cx">                                 A503FA1F188EFF6800110F14 /* ScriptBreakpoint.h */,
</span><ins>+                                A5FD0069189B00A900633231 /* ScriptCallFrame.cpp */,
+                                A5FD006A189B00A900633231 /* ScriptCallFrame.h */,
+                                A5FD006B189B00A900633231 /* ScriptCallStack.cpp */,
+                                A5FD006C189B00AA00633231 /* ScriptCallStack.h */,
+                                A5FD007B189B0B4C00633231 /* ScriptCallStackFactory.cpp */,
+                                A5FD007C189B0B4C00633231 /* ScriptCallStackFactory.h */,
</ins><span class="cx">                                 A503FA20188EFF6800110F14 /* ScriptDebugListener.h */,
</span><span class="cx">                                 A503FA23188EFFFD00110F14 /* ScriptDebugServer.cpp */,
</span><span class="cx">                                 A503FA24188EFFFD00110F14 /* ScriptDebugServer.h */,
</span><span class="lines">@@ -4726,6 +4777,7 @@
</span><span class="cx">                                 0F6B1CC61862C47800845D97 /* FTLUnwindInfo.h in Headers */,
</span><span class="cx">                                 C2239D1816262BDD005AC5FD /* CopyVisitor.h in Headers */,
</span><span class="cx">                                 C2239D1916262BDD005AC5FD /* CopyVisitorInlines.h in Headers */,
</span><ins>+                                A5FD007A189B051000633231 /* ConsoleMessage.h in Headers */,
</ins><span class="cx">                                 C218D1401655CFD50062BB81 /* CopyWorkList.h in Headers */,
</span><span class="cx">                                 5DE6E5B30E1728EC00180407 /* create_hash_table in Headers */,
</span><span class="cx">                                 0F426A4B1460CD6E00131F8F /* DataFormat.h in Headers */,
</span><span class="lines">@@ -4762,6 +4814,7 @@
</span><span class="cx">                                 0FFB921A16D02EC50055A5DB /* DFGBasicBlockInlines.h in Headers */,
</span><span class="cx">                                 A70B083317A0B79B00DAF14B /* DFGBinarySwitch.h in Headers */,
</span><span class="cx">                                 A7D89CF417A0B8CC00773AD8 /* DFGBlockInsertionSet.h in Headers */,
</span><ins>+                                A5FD006E189B00AA00633231 /* ScriptCallFrame.h in Headers */,
</ins><span class="cx">                                 0F8364B7164B0C110053329A /* DFGBranchDirection.h in Headers */,
</span><span class="cx">                                 A1A009C01831A22D00CF8711 /* MacroAssemblerARM64.h in Headers */,
</span><span class="cx">                                 86EC9DC51328DF82002B2AD7 /* DFGByteCodeParser.h in Headers */,
</span><span class="lines">@@ -4779,6 +4832,7 @@
</span><span class="cx">                                 A503FA1E188E0FB000110F14 /* JSJavaScriptCallFramePrototype.h in Headers */,
</span><span class="cx">                                 0F38B01A17CFE75500B144D3 /* DFGCompilationMode.h in Headers */,
</span><span class="cx">                                 0F3B3A1B153E68F4003ED0FF /* DFGConstantFoldingPhase.h in Headers */,
</span><ins>+                                A5FD0082189B191A00633231 /* InspectorConsoleAgent.h in Headers */,
</ins><span class="cx">                                 0FBE0F7316C1DB050082C5E8 /* DFGCPSRethreadingPhase.h in Headers */,
</span><span class="cx">                                 A7D89CF617A0B8CC00773AD8 /* DFGCriticalEdgeBreakingPhase.h in Headers */,
</span><span class="cx">                                 0FFFC95A14EF90A900C72532 /* DFGCSEPhase.h in Headers */,
</span><span class="lines">@@ -4826,6 +4880,7 @@
</span><span class="cx">                                 0F2BDC451522801B00CD8910 /* DFGMinifiedGraph.h in Headers */,
</span><span class="cx">                                 0F2E892D16D02BAF009E4FD2 /* DFGMinifiedID.h in Headers */,
</span><span class="cx">                                 0F2BDC461522802000CD8910 /* DFGMinifiedNode.h in Headers */,
</span><ins>+                                A5FD0068189AFE9C00633231 /* ScriptArguments.h in Headers */,
</ins><span class="cx">                                 A737810E1799EA2E00817533 /* DFGNaturalLoops.h in Headers */,
</span><span class="cx">                                 86ECA3EA132DEF1C002B2AD7 /* DFGNode.h in Headers */,
</span><span class="cx">                                 0FFB921B16D02F010055A5DB /* DFGNodeAllocator.h in Headers */,
</span><span class="lines">@@ -4874,6 +4929,7 @@
</span><span class="cx">                                 0F2BDC481522802900CD8910 /* DFGValueSource.h in Headers */,
</span><span class="cx">                                 0F620174143FCD330068B77C /* DFGVariableAccessData.h in Headers */,
</span><span class="cx">                                 0FDDBFB61666EEDA00C55FEF /* DFGVariableAccessDataDump.h in Headers */,
</span><ins>+                                A5FD0074189B038C00633231 /* ConsoleTypes.h in Headers */,
</ins><span class="cx">                                 0F2BDC491522809600CD8910 /* DFGVariableEvent.h in Headers */,
</span><span class="cx">                                 0F2BDC4B1522809D00CD8910 /* DFGVariableEventStream.h in Headers */,
</span><span class="cx">                                 A514B2C3185A684400F3C7CB /* InjectedScriptBase.h in Headers */,
</span><span class="lines">@@ -4923,6 +4979,7 @@
</span><span class="cx">                                 0FEA0A241709606900BB722C /* FTLIntrinsicRepository.h in Headers */,
</span><span class="cx">                                 0FEA0A0E170513DB00BB722C /* FTLJITCode.h in Headers */,
</span><span class="cx">                                 A78A9781179738D5009DF744 /* FTLJITFinalizer.h in Headers */,
</span><ins>+                                A5FD0076189B038C00633231 /* IdentifiersFactory.h in Headers */,
</ins><span class="cx">                                 0F5A6284188C98D40072C9DF /* FTLValueRange.h in Headers */,
</span><span class="cx">                                 0F8F2B96172E04A3007DBDA5 /* FTLLink.h in Headers */,
</span><span class="cx">                                 0FCEFAE0180738C000472CE4 /* FTLLocation.h in Headers */,
</span><span class="lines">@@ -5021,6 +5078,7 @@
</span><span class="cx">                                 A7A4AE1017973B4D005612B1 /* JITStubsX86Common.h in Headers */,
</span><span class="cx">                                 0F5EF91F16878F7D003E5C25 /* JITThunks.h in Headers */,
</span><span class="cx">                                 0FC712E317CD8793008CC93C /* JITToDFGDeferredCompilationCallback.h in Headers */,
</span><ins>+                                A5FD0070189B00AA00633231 /* ScriptCallStack.h in Headers */,
</ins><span class="cx">                                 A76F54A313B28AAB00EF2BCE /* JITWriteBarrier.h in Headers */,
</span><span class="cx">                                 BC18C4160E16F5CD00B34460 /* JSActivation.h in Headers */,
</span><span class="cx">                                 0F6B1CB91861244C00845D97 /* ArityCheckMode.h in Headers */,
</span><span class="lines">@@ -5197,6 +5255,7 @@
</span><span class="cx">                                 BC02E9110E1839DB000F9297 /* NativeErrorConstructor.h in Headers */,
</span><span class="cx">                                 BC02E9130E1839DB000F9297 /* NativeErrorPrototype.h in Headers */,
</span><span class="cx">                                 0FFB922016D033B70055A5DB /* NodeConstructors.h in Headers */,
</span><ins>+                                A5FD007E189B0B4C00633231 /* ScriptCallStackFactory.h in Headers */,
</ins><span class="cx">                                 7EFF00640EC05A9A00AA7C93 /* NodeInfo.h in Headers */,
</span><span class="cx">                                 BC18C43F0E16F5CD00B34460 /* Nodes.h in Headers */,
</span><span class="cx">                                 BC18C4410E16F5CD00B34460 /* NumberConstructor.h in Headers */,
</span><span class="lines">@@ -5347,6 +5406,7 @@
</span><span class="cx">                                 A7A8AF4117ADB5F3005AB174 /* Uint16Array.h in Headers */,
</span><span class="cx">                                 866739D313BFDE710023D87C /* Uint16WithFraction.h in Headers */,
</span><span class="cx">                                 A7A8AF4217ADB5F3005AB174 /* Uint32Array.h in Headers */,
</span><ins>+                                A5FD0086189B1B7E00633231 /* JSGlobalObjectConsoleAgent.h in Headers */,
</ins><span class="cx">                                 A7A8AF3F17ADB5F3005AB174 /* Uint8Array.h in Headers */,
</span><span class="cx">                                 A7A8AF4017ADB5F3005AB174 /* Uint8ClampedArray.h in Headers */,
</span><span class="cx">                                 0F5F08CF146C7633000472A9 /* UnconditionalFinalizer.h in Headers */,
</span><span class="lines">@@ -5820,6 +5880,7 @@
</span><span class="cx">                                 A790DD6F182F499700588807 /* JSSetIterator.cpp in Sources */,
</span><span class="cx">                                 0F63945415D07055006A597C /* ArrayProfile.cpp in Sources */,
</span><span class="cx">                                 147F39C0107EC37600427A48 /* ArrayPrototype.cpp in Sources */,
</span><ins>+                                A5FD006D189B00AA00633231 /* ScriptCallFrame.cpp in Sources */,
</ins><span class="cx">                                 0F24E54017EA9F5900ABB217 /* AssemblyHelpers.cpp in Sources */,
</span><span class="cx">                                 14816E1B154CC56C00B8054C /* BlockAllocator.cpp in Sources */,
</span><span class="cx">                                 14280863107EC11A0013E7B2 /* BooleanConstructor.cpp in Sources */,
</span><span class="lines">@@ -5973,6 +6034,7 @@
</span><span class="cx">                                 147F39C8107EC37600427A48 /* ErrorConstructor.cpp in Sources */,
</span><span class="cx">                                 147F39C9107EC37600427A48 /* ErrorInstance.cpp in Sources */,
</span><span class="cx">                                 147F39CA107EC37600427A48 /* ErrorPrototype.cpp in Sources */,
</span><ins>+                                A5FD0067189AFE9C00633231 /* ScriptArguments.cpp in Sources */,
</ins><span class="cx">                                 1429D8780ED21ACD00B89619 /* ExceptionHelpers.cpp in Sources */,
</span><span class="cx">                                 86CA032E1038E8440028A609 /* Executable.cpp in Sources */,
</span><span class="cx">                                 A7B48F490EE8936F00DCBDB6 /* ExecutableAllocator.cpp in Sources */,
</span><span class="lines">@@ -6001,6 +6063,7 @@
</span><span class="cx">                                 A78A9780179738D5009DF744 /* FTLJITFinalizer.cpp in Sources */,
</span><span class="cx">                                 0F8F2B95172E04A0007DBDA5 /* FTLLink.cpp in Sources */,
</span><span class="cx">                                 A74DEF95182D991400522C22 /* JSMapIterator.cpp in Sources */,
</span><ins>+                                A5FD0081189B191A00633231 /* InspectorConsoleAgent.cpp in Sources */,
</ins><span class="cx">                                 0FCEFADF180738C000472CE4 /* FTLLocation.cpp in Sources */,
</span><span class="cx">                                 0FEA0A0F170513DB00BB722C /* FTLLowerDFGToLLVM.cpp in Sources */,
</span><span class="cx">                                 0FD8A31B17D51F2200CA2C40 /* FTLOSREntry.cpp in Sources */,
</span><span class="lines">@@ -6091,7 +6154,9 @@
</span><span class="cx">                                 86E3C616167BABEE006D760A /* JSContext.mm in Sources */,
</span><span class="cx">                                 14BD5A300A3E91F600BAF59C /* JSContextRef.cpp in Sources */,
</span><span class="cx">                                 A72028B61797601E0098028C /* JSCTestRunnerUtils.cpp in Sources */,
</span><ins>+                                A5FD0075189B038C00633231 /* IdentifiersFactory.cpp in Sources */,
</ins><span class="cx">                                 B59F89391891F29F00D5CCDC /* UnlinkedInstructionStream.cpp in Sources */,
</span><ins>+                                A5FD006F189B00AA00633231 /* ScriptCallStack.cpp in Sources */,
</ins><span class="cx">                                 0F2B66EB17B6B5AB00A7AE3F /* JSDataView.cpp in Sources */,
</span><span class="cx">                                 0F2B66ED17B6B5AB00A7AE3F /* JSDataViewPrototype.cpp in Sources */,
</span><span class="cx">                                 978801401471AD920041B016 /* JSDateMath.cpp in Sources */,
</span><span class="lines">@@ -6200,6 +6265,7 @@
</span><span class="cx">                                 148F21BC107EC54D0042EC2C /* Parser.cpp in Sources */,
</span><span class="cx">                                 93052C340FB792190048FDC3 /* ParserArena.cpp in Sources */,
</span><span class="cx">                                 0F9FC8C314E1B5FE00D52AE0 /* PolymorphicPutByIdList.cpp in Sources */,
</span><ins>+                                A5FD0085189B1B7E00633231 /* JSGlobalObjectConsoleAgent.cpp in Sources */,
</ins><span class="cx">                                 0F98206016BFE38100240D02 /* PreciseJumpTargets.cpp in Sources */,
</span><span class="cx">                                 95742F650DD11F5A000917FB /* Profile.cpp in Sources */,
</span><span class="cx">                                 0FC97F35182020D7002C9B26 /* ProfiledCodeBlockJettisoningWatchpoint.cpp in Sources */,
</span><span class="lines">@@ -6247,6 +6313,7 @@
</span><span class="cx">                                 C225494315F7DBAA0065E898 /* SlotVisitor.cpp in Sources */,
</span><span class="cx">                                 9330402C0E6A764000786E6A /* SmallStrings.cpp in Sources */,
</span><span class="cx">                                 0F8F2B9E17306C8D007DBDA5 /* SourceCode.cpp in Sources */,
</span><ins>+                                A5FD0079189B051000633231 /* ConsoleMessage.cpp in Sources */,
</ins><span class="cx">                                 0F493AFA16D0CAD30084508B /* SourceProvider.cpp in Sources */,
</span><span class="cx">                                 E49DC16B12EF293E00184A1F /* SourceProviderCache.cpp in Sources */,
</span><span class="cx">                                 0F6B1CC918641DF800845D97 /* ArityCheckFailReturnThunks.cpp in Sources */,
</span><span class="lines">@@ -6269,6 +6336,7 @@
</span><span class="cx">                                 C2DF442F1707AC0100A5CA96 /* SuperRegion.cpp in Sources */,
</span><span class="cx">                                 0F919D2815856773004A4E7D /* SymbolTable.cpp in Sources */,
</span><span class="cx">                                 0FC314131814559100033232 /* TempRegisterSet.cpp in Sources */,
</span><ins>+                                A5FD007D189B0B4C00633231 /* ScriptCallStackFactory.cpp in Sources */,
</ins><span class="cx">                                 0FA2C17B17D7CF84009D015F /* TestRunnerUtils.cpp in Sources */,
</span><span class="cx">                                 A7386555118697B400540279 /* ThunkGenerators.cpp in Sources */,
</span><span class="cx">                                 0F2B670717B6B5AB00A7AE3F /* TypedArrayController.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorConsoleMessagecppfromrev163567trunkSourceWebCoreinspectorConsoleMessagecpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ConsoleMessage.cpp (from rev 163567, trunk/Source/WebCore/inspector/ConsoleMessage.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ConsoleMessage.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ConsoleMessage.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,299 @@
</span><ins>+/*
+ * Copyright (C) 2007, 2008, 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Matt Lilek &lt;webkit@mattlilek.com&gt;
+ * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ConsoleMessage.h&quot;
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;IdentifiersFactory.h&quot;
+#include &quot;InjectedScript.h&quot;
+#include &quot;InjectedScriptManager.h&quot;
+#include &quot;InspectorValues.h&quot;
+#include &quot;ScriptArguments.h&quot;
+#include &quot;ScriptCallFrame.h&quot;
+#include &quot;ScriptCallStack.h&quot;
+#include &quot;ScriptCallStackFactory.h&quot;
+#include &quot;ScriptValue.h&quot;
+
+namespace Inspector {
+
+ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, unsigned long requestIdentifier)
+    : m_source(source)
+    , m_type(type)
+    , m_level(level)
+    , m_message(message)
+    , m_url()
+    , m_line(0)
+    , m_column(0)
+    , m_repeatCount(1)
+    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
+{
+    autogenerateMetadata(canGenerateCallStack);
+}
+
+ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, const String&amp; url, unsigned line, unsigned column, JSC::ExecState* state, unsigned long requestIdentifier)
+    : m_source(source)
+    , m_type(type)
+    , m_level(level)
+    , m_message(message)
+    , m_url(url)
+    , m_line(line)
+    , m_column(column)
+    , m_repeatCount(1)
+    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
+{
+    autogenerateMetadata(canGenerateCallStack, state);
+}
+
+ConsoleMessage::ConsoleMessage(bool, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
+    : m_source(source)
+    , m_type(type)
+    , m_level(level)
+    , m_message(message)
+    , m_arguments(nullptr)
+    , m_line(0)
+    , m_column(0)
+    , m_repeatCount(1)
+    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
+{
+    if (callStack &amp;&amp; callStack-&gt;size()) {
+        const ScriptCallFrame&amp; frame = callStack-&gt;at(0);
+        m_url = frame.sourceURL();
+        m_line = frame.lineNumber();
+        m_column = frame.columnNumber();
+    }
+    m_callStack = callStack;
+}
+
+ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptArguments&gt; arguments, JSC::ExecState* state, unsigned long requestIdentifier)
+    : m_source(source)
+    , m_type(type)
+    , m_level(level)
+    , m_message(message)
+    , m_arguments(arguments)
+    , m_url()
+    , m_line(0)
+    , m_column(0)
+    , m_repeatCount(1)
+    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
+{
+    autogenerateMetadata(canGenerateCallStack, state);
+}
+
+ConsoleMessage::~ConsoleMessage()
+{
+}
+
+// FIXME: Remove the generate without ExecState path. The caller should always provide an ExecState.
+void ConsoleMessage::autogenerateMetadata(bool /*canGenerateCallStack*/, JSC::ExecState* state)
+{
+    if (m_type == MessageType::EndGroup)
+        return;
+
+    if (state)
+        m_callStack = createScriptCallStackForConsole(state);
+    // else if (canGenerateCallStack)
+    //     m_callStack = createScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture, true);
+    else
+        return;
+
+    if (m_callStack &amp;&amp; m_callStack-&gt;size()) {
+        const ScriptCallFrame&amp; frame = m_callStack-&gt;at(0);
+        m_url = frame.sourceURL();
+        m_line = frame.lineNumber();
+        m_column = frame.columnNumber();
+        return;
+    }
+
+    m_callStack.clear();
+}
+
+static Inspector::TypeBuilder::Console::ConsoleMessage::Source::Enum messageSourceValue(MessageSource source)
+{
+    switch (source) {
+    case MessageSource::XML: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::XML;
+    case MessageSource::JS: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Javascript;
+    case MessageSource::Network: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Network;
+    case MessageSource::ConsoleAPI: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::ConsoleAPI;
+    case MessageSource::Storage: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Storage;
+    case MessageSource::AppCache: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Appcache;
+    case MessageSource::Rendering: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Rendering;
+    case MessageSource::CSS: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::CSS;
+    case MessageSource::Security: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Security;
+    case MessageSource::Other: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Other;
+    }
+    return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Other;
+}
+
+static Inspector::TypeBuilder::Console::ConsoleMessage::Type::Enum messageTypeValue(MessageType type)
+{
+    switch (type) {
+    case MessageType::Log: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Log;
+    case MessageType::Clear: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Clear;
+    case MessageType::Dir: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Dir;
+    case MessageType::DirXML: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::DirXML;
+    case MessageType::Table: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Table;
+    case MessageType::Trace: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Trace;
+    case MessageType::StartGroup: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::StartGroup;
+    case MessageType::StartGroupCollapsed: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::StartGroupCollapsed;
+    case MessageType::EndGroup: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::EndGroup;
+    case MessageType::Assert: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Assert;
+    case MessageType::Timing: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Timing;
+    case MessageType::Profile: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Profile;
+    case MessageType::ProfileEnd: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::ProfileEnd;
+    }
+    return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Log;
+}
+
+static Inspector::TypeBuilder::Console::ConsoleMessage::Level::Enum messageLevelValue(MessageLevel level)
+{
+    switch (level) {
+    case MessageLevel::Log: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Log;
+    case MessageLevel::Warning: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Warning;
+    case MessageLevel::Error: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Error;
+    case MessageLevel::Debug: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Debug;
+    }
+    return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Log;
+}
+
+void ConsoleMessage::addToFrontend(InspectorConsoleFrontendDispatcher* consoleFrontendDispatcher, Inspector::InjectedScriptManager* injectedScriptManager, bool generatePreview)
+{
+    RefPtr&lt;Inspector::TypeBuilder::Console::ConsoleMessage&gt; jsonObj = Inspector::TypeBuilder::Console::ConsoleMessage::create()
+        .setSource(messageSourceValue(m_source))
+        .setLevel(messageLevelValue(m_level))
+        .setText(m_message);
+
+    // FIXME: only send out type for ConsoleAPI source messages.
+    jsonObj-&gt;setType(messageTypeValue(m_type));
+    jsonObj-&gt;setLine(static_cast&lt;int&gt;(m_line));
+    jsonObj-&gt;setColumn(static_cast&lt;int&gt;(m_column));
+    jsonObj-&gt;setUrl(m_url);
+    jsonObj-&gt;setRepeatCount(static_cast&lt;int&gt;(m_repeatCount));
+
+    if (m_source == MessageSource::Network &amp;&amp; !m_requestId.isEmpty())
+        jsonObj-&gt;setNetworkRequestId(m_requestId);
+
+    if (m_arguments &amp;&amp; m_arguments-&gt;argumentCount()) {
+        InjectedScript injectedScript = injectedScriptManager-&gt;injectedScriptFor(m_arguments-&gt;globalState());
+        if (!injectedScript.hasNoValue()) {
+            RefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt;&gt; jsonArgs = Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt;::create();
+            if (m_type == MessageType::Table &amp;&amp; generatePreview &amp;&amp; m_arguments-&gt;argumentCount()) {
+                Deprecated::ScriptValue table = m_arguments-&gt;argumentAt(0);
+                Deprecated::ScriptValue columns = m_arguments-&gt;argumentCount() &gt; 1 ? m_arguments-&gt;argumentAt(1) : Deprecated::ScriptValue();
+                RefPtr&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt; inspectorValue = injectedScript.wrapTable(table, columns);
+                if (!inspectorValue) {
+                    ASSERT_NOT_REACHED();
+                    return;
+                }
+                jsonArgs-&gt;addItem(inspectorValue);
+            } else {
+                for (unsigned i = 0; i &lt; m_arguments-&gt;argumentCount(); ++i) {
+                    RefPtr&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt; inspectorValue = injectedScript.wrapObject(m_arguments-&gt;argumentAt(i), &quot;console&quot;, generatePreview);
+                    if (!inspectorValue) {
+                        ASSERT_NOT_REACHED();
+                        return;
+                    }
+                    jsonArgs-&gt;addItem(inspectorValue);
+                }
+            }
+            jsonObj-&gt;setParameters(jsonArgs);
+        }
+    }
+
+    if (m_callStack)
+        jsonObj-&gt;setStackTrace(m_callStack-&gt;buildInspectorArray());
+
+    consoleFrontendDispatcher-&gt;messageAdded(jsonObj);
+}
+
+void ConsoleMessage::updateRepeatCountInConsole(InspectorConsoleFrontendDispatcher* consoleFrontendDispatcher)
+{
+    consoleFrontendDispatcher-&gt;messageRepeatCountUpdated(m_repeatCount);
+}
+
+bool ConsoleMessage::isEqual(ConsoleMessage* msg) const
+{
+    if (m_arguments) {
+        if (!m_arguments-&gt;isEqual(msg-&gt;m_arguments.get()))
+            return false;
+
+        // Never treat objects as equal - their properties might change over time.
+        for (size_t i = 0; i &lt; m_arguments-&gt;argumentCount(); ++i) {
+            if (m_arguments-&gt;argumentAt(i).isObject())
+                return false;
+        }
+    } else if (msg-&gt;m_arguments)
+        return false;
+
+    if (m_callStack) {
+        if (!m_callStack-&gt;isEqual(msg-&gt;m_callStack.get()))
+            return false;
+    } else if (msg-&gt;m_callStack)
+        return false;
+
+    return msg-&gt;m_source == m_source
+        &amp;&amp; msg-&gt;m_type == m_type
+        &amp;&amp; msg-&gt;m_level == m_level
+        &amp;&amp; msg-&gt;m_message == m_message
+        &amp;&amp; msg-&gt;m_line == m_line
+        &amp;&amp; msg-&gt;m_column == m_column
+        &amp;&amp; msg-&gt;m_url == m_url
+        &amp;&amp; msg-&gt;m_requestId == m_requestId;
+}
+
+void ConsoleMessage::clear()
+{
+    if (!m_message)
+        m_message = ASCIILiteral(&quot;&lt;message collected&gt;&quot;);
+
+    if (m_arguments)
+        m_arguments.clear();
+}
+
+JSC::ExecState* ConsoleMessage::scriptState() const
+{
+    if (m_arguments)
+        return m_arguments-&gt;globalState();
+
+    return nullptr;
+}
+
+unsigned ConsoleMessage::argumentCount() const
+{
+    if (m_arguments)
+        return m_arguments-&gt;argumentCount();
+
+    return 0;
+}
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorConsoleMessagehfromrev163567trunkSourceWebCoreinspectorConsoleMessageh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ConsoleMessage.h (from rev 163567, trunk/Source/WebCore/inspector/ConsoleMessage.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ConsoleMessage.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ConsoleMessage.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,96 @@
</span><ins>+/*
+ * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2008 Matt Lilek &lt;webkit@mattlilek.com&gt;
+ * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
+ *     its contributors may be used to endorse or promote products derived
+ *     from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ConsoleMessage_h
+#define ConsoleMessage_h
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;ConsoleTypes.h&quot;
+#include &quot;InspectorJSFrontendDispatchers.h&quot;
+#include &lt;wtf/Forward.h&gt;
+
+namespace JSC {
+class ExecState;
+}
+
+namespace Inspector {
+
+class InjectedScriptManager;
+class ScriptArguments;
+class ScriptCallStack;
+
+class JS_EXPORT_PRIVATE ConsoleMessage {
+    WTF_MAKE_NONCOPYABLE(ConsoleMessage);
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, unsigned long requestIdentifier = 0);
+    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; url, unsigned line, unsigned column, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
+    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
+    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptArguments&gt;, JSC::ExecState*, unsigned long requestIdentifier = 0);
+    ~ConsoleMessage();
+
+    void addToFrontend(InspectorConsoleFrontendDispatcher*, InjectedScriptManager*, bool generatePreview);
+    void updateRepeatCountInConsole(InspectorConsoleFrontendDispatcher*);
+
+    MessageSource source() const { return m_source; }
+    const String&amp; message() const { return m_message; }
+    MessageType type() const { return m_type; }
+    JSC::ExecState* scriptState() const;
+
+    void incrementCount() { ++m_repeatCount; }
+
+    unsigned argumentCount() const;
+
+    bool isEqual(ConsoleMessage* msg) const;
+
+    void clear();
+
+private:
+    void autogenerateMetadata(bool canGenerateCallStack, JSC::ExecState* = nullptr);
+
+    MessageSource m_source;
+    MessageType m_type;
+    MessageLevel m_level;
+    String m_message;
+    RefPtr&lt;ScriptArguments&gt; m_arguments;
+    RefPtr&lt;ScriptCallStack&gt; m_callStack;
+    String m_url;
+    unsigned m_line;
+    unsigned m_column;
+    unsigned m_repeatCount;
+    String m_requestId;
+};
+
+} // namespace Inspector
+
+#endif // ConsoleMessage_h
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorConsoleTypeshfromrev163567trunkSourceWebCoreinspectorConsoleAPITypesh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ConsoleTypes.h (from rev 163567, trunk/Source/WebCore/inspector/ConsoleAPITypes.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ConsoleTypes.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ConsoleTypes.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,74 @@
</span><ins>+/*
+ * Copyright (C) 2011 Apple Inc. All rights reserved.
+ * Copyright (C) 2012 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ConsoleTypes_h
+#define ConsoleTypes_h
+
+namespace Inspector {
+
+enum class MessageSource {
+    XML,
+    JS,
+    Network,
+    ConsoleAPI,
+    Storage,
+    AppCache,
+    Rendering,
+    CSS,
+    Security,
+    Other,
+};
+
+enum class MessageType {
+    Log,
+    Dir,
+    DirXML,
+    Table,
+    Trace,
+    StartGroup,
+    StartGroupCollapsed,
+    EndGroup,
+    Clear,
+    Assert,
+    Timing,
+    Profile,
+    ProfileEnd,
+};
+
+enum class MessageLevel {
+    Log = 1,
+    Warning = 2,
+    Error = 3,
+    Debug = 4,
+};
+
+} // namespace Inspector
+
+// These will likely move out of the inspector namespace.
+using Inspector::MessageSource;
+using Inspector::MessageType;
+using Inspector::MessageLevel;
+
+#endif // ConsoleTypes_h
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorIdentifiersFactorycppfromrev163567trunkSourceWebCoreinspectorIdentifiersFactorycpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.cpp (from rev 163567, trunk/Source/WebCore/inspector/IdentifiersFactory.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2011 Google Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;IdentifiersFactory.h&quot;
+
+#if ENABLE(INSPECTOR)
+
+#include &lt;wtf/text/StringBuilder.h&gt;
+
+namespace Inspector {
+
+namespace {
+static long s_lastUsedIdentifier = 0;
+}
+
+long IdentifiersFactory::s_processId = 0;
+
+String IdentifiersFactory::createIdentifier()
+{
+    return addProcessIdPrefixTo(String::number(++s_lastUsedIdentifier));
+}
+
+String IdentifiersFactory::requestId(unsigned long identifier)
+{
+    if (identifier)
+        return addProcessIdPrefixTo(String::number(identifier));
+    return String();
+}
+
+String IdentifiersFactory::addProcessIdPrefixTo(const String&amp; id)
+{
+    StringBuilder builder;
+    builder.appendNumber(s_processId);
+    builder.append('.');
+    builder.append(id);
+    return builder.toString();
+}
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorIdentifiersFactoryhfromrev163567trunkSourceWebCoreinspectorIdentifiersFactoryh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.h (from rev 163567, trunk/Source/WebCore/inspector/IdentifiersFactory.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/IdentifiersFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+/*
+ * Copyright (C) 2011 Google Inc.  All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef IdentifiersFactory_h
+#define IdentifiersFactory_h
+
+#if ENABLE(INSPECTOR)
+
+#include &lt;wtf/text/WTFString.h&gt;
+
+namespace Inspector {
+
+class JS_EXPORT_PRIVATE IdentifiersFactory {
+public:
+    static void setProcessId(long processId) { s_processId = processId; }
+    static String createIdentifier();
+    static String requestId(unsigned long identifier);
+
+private:
+    static String addProcessIdPrefixTo(const String&amp; id);
+
+    static long s_processId;
+};
+
+} // namespace Inspector
+
+#endif // !defined(IdentifiersFactory_h)
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorJSGlobalObjectInspectorControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -35,6 +35,7 @@
</span><span class="cx"> #include &quot;InspectorBackendDispatcher.h&quot;
</span><span class="cx"> #include &quot;InspectorFrontendChannel.h&quot;
</span><span class="cx"> #include &quot;JSGlobalObject.h&quot;
</span><ins>+#include &quot;JSGlobalObjectConsoleAgent.h&quot;
</ins><span class="cx"> #include &quot;JSGlobalObjectDebuggerAgent.h&quot;
</span><span class="cx"> #include &quot;JSGlobalObjectRuntimeAgent.h&quot;
</span><span class="cx"> 
</span><span class="lines">@@ -53,7 +54,11 @@
</span><span class="cx">     InspectorRuntimeAgent* runtimeAgent = runtimeAgentPtr.get();
</span><span class="cx">     m_agents.append(std::move(runtimeAgentPtr));
</span><span class="cx"> 
</span><del>-    auto debuggerAgentPtr = std::make_unique&lt;JSGlobalObjectDebuggerAgent&gt;(m_injectedScriptManager.get(), m_globalObject);
</del><ins>+    auto consoleAgentPtr = std::make_unique&lt;JSGlobalObjectConsoleAgent&gt;(m_injectedScriptManager.get());
+    InspectorConsoleAgent* consoleAgent = consoleAgentPtr.get();
+    m_agents.append(std::move(consoleAgentPtr));
+
+    auto debuggerAgentPtr = std::make_unique&lt;JSGlobalObjectDebuggerAgent&gt;(m_injectedScriptManager.get(), m_globalObject, consoleAgent);
</ins><span class="cx">     InspectorDebuggerAgent* debuggerAgent = debuggerAgentPtr.get();
</span><span class="cx">     m_agents.append(std::move(debuggerAgentPtr));
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptArgumentscppfromrev163567trunkSourceWebCoreinspectorScriptArgumentscpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptArguments.cpp (from rev 163567, trunk/Source/WebCore/inspector/ScriptArguments.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptArguments.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptArguments.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ScriptArguments.h&quot;
+
+#include &quot;ScriptValue.h&quot;
+
+namespace Inspector {
+
+PassRefPtr&lt;ScriptArguments&gt; ScriptArguments::create(JSC::ExecState* scriptState, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments)
+{
+    return adoptRef(new ScriptArguments(scriptState, arguments));
+}
+
+ScriptArguments::ScriptArguments(JSC::ExecState* execState, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments)
+    : m_globalObject(execState-&gt;vm(), execState-&gt;lexicalGlobalObject())
+{
+    m_arguments.swap(arguments);
+}
+
+ScriptArguments::~ScriptArguments()
+{
+}
+
+const Deprecated::ScriptValue &amp;ScriptArguments::argumentAt(size_t index) const
+{
+    ASSERT(m_arguments.size() &gt; index);
+    return m_arguments[index];
+}
+
+JSC::ExecState* ScriptArguments::globalState() const
+{
+    if (m_globalObject)
+        return const_cast&lt;JSC::JSGlobalObject*&gt;(m_globalObject.get())-&gt;globalExec();
+
+    return nullptr;
+}
+
+bool ScriptArguments::getFirstArgumentAsString(String&amp; result, bool checkForNullOrUndefined)
+{
+    if (!argumentCount())
+        return false;
+
+    const Deprecated::ScriptValue&amp; value = argumentAt(0);
+    if (checkForNullOrUndefined &amp;&amp; (value.isNull() || value.isUndefined()))
+        return false;
+
+    if (!globalState()) {
+        ASSERT_NOT_REACHED();
+        return false;
+    }
+
+    result = value.toString(globalState());
+    return true;
+}
+
+bool ScriptArguments::isEqual(ScriptArguments* other) const
+{
+    if (!other)
+        return false;
+
+    if (m_arguments.size() != other-&gt;m_arguments.size())
+        return false;
+    if (!globalState() &amp;&amp; m_arguments.size())
+        return false;
+
+    for (size_t i = 0; i &lt; m_arguments.size(); ++i) {
+        if (!m_arguments[i].isEqual(other-&gt;globalState(), other-&gt;m_arguments[i]))
+            return false;
+    }
+
+    return true;
+}
+
+} // namespace Inspector
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptArgumentshfromrev163567trunkSourceWebCoreinspectorScriptArgumentsh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptArguments.h (from rev 163567, trunk/Source/WebCore/inspector/ScriptArguments.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptArguments.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptArguments.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,74 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ScriptArguments_h
+#define ScriptArguments_h
+
+#include &lt;heap/Strong.h&gt;
+#include &lt;wtf/Forward.h&gt;
+#include &lt;wtf/RefCounted.h&gt;
+#include &lt;wtf/Vector.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
+
+namespace Deprecated {
+class ScriptValue;
+}
+
+namespace JSC {
+class ExecState;
+class JSGlobalObject;
+}
+
+namespace Inspector {
+
+class JS_EXPORT_PRIVATE ScriptArguments : public RefCounted&lt;ScriptArguments&gt; {
+public:
+    static PassRefPtr&lt;ScriptArguments&gt; create(JSC::ExecState*, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments);
+    ~ScriptArguments();
+
+    const Deprecated::ScriptValue&amp; argumentAt(size_t) const;
+    size_t argumentCount() const { return m_arguments.size(); }
+
+    JSC::ExecState* globalState() const;
+
+    bool getFirstArgumentAsString(String&amp; result, bool checkForNullOrUndefined = false);
+    bool isEqual(ScriptArguments*) const;
+
+private:
+    ScriptArguments(JSC::ExecState*, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments);
+
+    JSC::Strong&lt;JSC::JSGlobalObject&gt; m_globalObject;
+    Vector&lt;Deprecated::ScriptValue&gt; m_arguments;
+};
+
+} // namespace Inspector
+
+#endif // ScriptArguments_h
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallFramecppfromrev163567trunkSourceWebCoreinspectorScriptCallFramecpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.cpp (from rev 163567, trunk/Source/WebCore/inspector/ScriptCallFrame.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,72 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ScriptCallFrame.h&quot;
+
+#include &quot;InspectorValues.h&quot;
+#include &lt;wtf/PassRefPtr.h&gt;
+
+namespace Inspector {
+
+ScriptCallFrame::ScriptCallFrame(const String&amp; functionName, const String&amp; scriptName, unsigned lineNumber, unsigned column)
+    : m_functionName(functionName)
+    , m_scriptName(scriptName)
+    , m_lineNumber(lineNumber)
+    , m_column(column)
+{
+}
+
+ScriptCallFrame::~ScriptCallFrame()
+{
+}
+
+bool ScriptCallFrame::isEqual(const ScriptCallFrame&amp; o) const
+{
+    return m_functionName == o.m_functionName
+        &amp;&amp; m_scriptName == o.m_scriptName
+        &amp;&amp; m_lineNumber == o.m_lineNumber
+        &amp;&amp; m_column == o.m_column;
+}
+
+#if ENABLE(INSPECTOR)
+PassRefPtr&lt;Inspector::TypeBuilder::Console::CallFrame&gt; ScriptCallFrame::buildInspectorObject() const
+{
+    return Inspector::TypeBuilder::Console::CallFrame::create()
+        .setFunctionName(m_functionName)
+        .setUrl(m_scriptName)
+        .setLineNumber(m_lineNumber)
+        .setColumnNumber(m_column)
+        .release();
+}
+#endif
+
+} // namespace Inspector
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallFramehfromrev163567trunkSourceWebCoreinspectorScriptCallFrameh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.h (from rev 163567, trunk/Source/WebCore/inspector/ScriptCallFrame.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallFrame.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ScriptCallFrame_h
+#define ScriptCallFrame_h
+
+#include &lt;wtf/Forward.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
+
+#if ENABLE(INSPECTOR)
+#include &quot;InspectorJSTypeBuilders.h&quot;
+#endif
+
+namespace Inspector {
+
+class JS_EXPORT_PRIVATE ScriptCallFrame  {
+public:
+    ScriptCallFrame(const String&amp; functionName, const String&amp; scriptName, unsigned lineNumber, unsigned column);
+    ~ScriptCallFrame();
+
+    const String&amp; functionName() const { return m_functionName; }
+    const String&amp; sourceURL() const { return m_scriptName; }
+    unsigned lineNumber() const { return m_lineNumber; }
+    unsigned columnNumber() const { return m_column; }
+
+    bool isEqual(const ScriptCallFrame&amp;) const;
+
+#if ENABLE(INSPECTOR)
+    PassRefPtr&lt;Inspector::TypeBuilder::Console::CallFrame&gt; buildInspectorObject() const;
+#endif
+
+private:
+    String m_functionName;
+    String m_scriptName;
+    unsigned m_lineNumber;
+    unsigned m_column;
+};
+
+} // namespace Inspector
+
+#endif // ScriptCallFrame_h
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallStackcppfromrev163567trunkSourceWebCoreinspectorScriptCallStackcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallStack.cpp (from rev 163567, trunk/Source/WebCore/inspector/ScriptCallStack.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallStack.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallStack.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2008, Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ScriptCallStack.h&quot;
+
+#include &quot;InspectorValues.h&quot;
+
+namespace Inspector {
+
+PassRefPtr&lt;ScriptCallStack&gt; ScriptCallStack::create(Vector&lt;ScriptCallFrame&gt;&amp; frames)
+{
+    return adoptRef(new ScriptCallStack(frames));
+}
+
+ScriptCallStack::ScriptCallStack(Vector&lt;ScriptCallFrame&gt;&amp; frames)
+{
+    m_frames.swap(frames);
+}
+
+ScriptCallStack::~ScriptCallStack()
+{
+}
+
+const ScriptCallFrame&amp; ScriptCallStack::at(size_t index) const
+{
+    ASSERT(m_frames.size() &gt; index);
+    return m_frames[index];
+}
+
+size_t ScriptCallStack::size() const
+{
+    return m_frames.size();
+}
+
+bool ScriptCallStack::isEqual(ScriptCallStack* o) const
+{
+    if (!o)
+        return false;
+
+    size_t frameCount = o-&gt;m_frames.size();
+    if (frameCount != m_frames.size())
+        return false;
+
+    for (size_t i = 0; i &lt; frameCount; ++i) {
+        if (!m_frames[i].isEqual(o-&gt;m_frames[i]))
+            return false;
+    }
+
+    return true;
+}
+
+#if ENABLE(INSPECTOR)
+PassRefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; ScriptCallStack::buildInspectorArray() const
+{
+    RefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; frames = Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;::create();
+    for (size_t i = 0; i &lt; m_frames.size(); i++)
+        frames-&gt;addItem(m_frames.at(i).buildInspectorObject());
+    return frames;
+}
+#endif
+
+} // namespace Inspector
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallStackhfromrev163567trunkSourceWebCoreinspectorScriptCallStackh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallStack.h (from rev 163567, trunk/Source/WebCore/inspector/ScriptCallStack.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallStack.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallStack.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,71 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2008, 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ScriptCallStack_h
+#define ScriptCallStack_h
+
+#include &quot;ScriptCallFrame.h&quot;
+#include &lt;wtf/Forward.h&gt;
+#include &lt;wtf/RefCounted.h&gt;
+#include &lt;wtf/Vector.h&gt;
+
+#if ENABLE(INSPECTOR)
+#include &quot;InspectorJSTypeBuilders.h&quot;
+#endif
+
+namespace Inspector {
+
+class JS_EXPORT_PRIVATE ScriptCallStack : public RefCounted&lt;ScriptCallStack&gt; {
+public:
+    static const size_t maxCallStackSizeToCapture = 200;
+    
+    static PassRefPtr&lt;ScriptCallStack&gt; create(Vector&lt;ScriptCallFrame&gt;&amp;);
+
+    ~ScriptCallStack();
+
+    const ScriptCallFrame&amp; at(size_t) const;
+    size_t size() const;
+
+    bool isEqual(ScriptCallStack*) const;
+
+#if ENABLE(INSPECTOR)
+    PassRefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; buildInspectorArray() const;
+#endif
+
+private:
+    ScriptCallStack(Vector&lt;ScriptCallFrame&gt;&amp;);
+
+    Vector&lt;ScriptCallFrame&gt; m_frames;
+};
+
+} // namespace Inspector
+
+#endif // ScriptCallStack_h
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallStackFactorycppfromrev163567trunkSourceWebCorebindingsjsScriptCallStackFactorycpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.cpp (from rev 163567, trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,174 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;ScriptCallStackFactory.h&quot;
+
+#include &quot;ArgList.h&quot;
+#include &quot;CallFrame.h&quot;
+#include &quot;CallFrameInlines.h&quot;
+#include &quot;JSCJSValue.h&quot;
+#include &quot;JSFunction.h&quot;
+#include &quot;ScriptArguments.h&quot;
+#include &quot;ScriptCallFrame.h&quot;
+#include &quot;ScriptCallStack.h&quot;
+#include &quot;ScriptValue.h&quot;
+#include &quot;StackVisitor.h&quot;
+#include &quot;VM.h&quot;
+#include &lt;wtf/RefCountedArray.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
+
+using namespace JSC;
+
+namespace Inspector {
+
+class CreateScriptCallStackFunctor {
+public:
+    CreateScriptCallStackFunctor(bool needToSkipAFrame, Vector&lt;ScriptCallFrame&gt;&amp; frames, size_t remainingCapacity)
+        : m_needToSkipAFrame(needToSkipAFrame)
+        , m_frames(frames)
+        , m_remainingCapacityForFrameCapture(remainingCapacity)
+    {
+    }
+
+    StackVisitor::Status operator()(StackVisitor&amp; visitor)
+    {
+        if (m_needToSkipAFrame) {
+            m_needToSkipAFrame = false;
+            return StackVisitor::Continue;
+        }
+
+        if (m_remainingCapacityForFrameCapture) {
+            unsigned line;
+            unsigned column;
+            visitor-&gt;computeLineAndColumn(line, column);
+            m_frames.append(ScriptCallFrame(visitor-&gt;functionName(), visitor-&gt;sourceURL(), line, column));
+
+            m_remainingCapacityForFrameCapture--;
+            return StackVisitor::Continue;
+        }
+
+        return StackVisitor::Done;
+    }
+
+private:
+    bool m_needToSkipAFrame;
+    Vector&lt;ScriptCallFrame&gt;&amp; m_frames;
+    size_t m_remainingCapacityForFrameCapture;
+};
+
+PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState* exec, size_t maxStackSize, bool emptyIsAllowed)
+{
+    Vector&lt;ScriptCallFrame&gt; frames;
+
+    if (exec) {
+        CallFrame* frame = exec-&gt;vm().topCallFrame;
+        CreateScriptCallStackFunctor functor(false, frames, maxStackSize);
+        frame-&gt;iterate(functor);
+    }
+
+    if (frames.isEmpty() &amp;&amp; !emptyIsAllowed) {
+        // No frames found. It may happen in the case where
+        // a bound function is called from native code for example.
+        // Fallback to setting lineNumber to 0, and source and function name to &quot;undefined&quot;.
+        frames.append(ScriptCallFrame(ASCIILiteral(&quot;undefined&quot;), ASCIILiteral(&quot;undefined&quot;), 0, 0));
+    }
+
+    return ScriptCallStack::create(frames);
+}
+
+PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState* exec, size_t maxStackSize)
+{
+    Vector&lt;ScriptCallFrame&gt; frames;
+
+    CallFrame* frame = exec-&gt;vm().topCallFrame;
+    CreateScriptCallStackFunctor functor(true, frames, maxStackSize);
+    frame-&gt;iterate(functor);
+
+    if (frames.isEmpty()) {
+        CreateScriptCallStackFunctor functor(false, frames, maxStackSize);
+        frame-&gt;iterate(functor);
+    }
+
+    return ScriptCallStack::create(frames);
+}
+
+PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackForConsole(JSC::ExecState* exec)
+{
+    // FIXME: Caller should use createScriptCallStack alternative with the exec and appropriate max.
+    return createScriptCallStack(exec, ScriptCallStack::maxCallStackSizeToCapture);
+}
+
+PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackFromException(JSC::ExecState* exec, JSC::JSValue&amp; exception, size_t maxStackSize)
+{
+    Vector&lt;ScriptCallFrame&gt; frames;
+    RefCountedArray&lt;StackFrame&gt; stackTrace = exec-&gt;vm().exceptionStack();
+    for (size_t i = 0; i &lt; stackTrace.size() &amp;&amp; i &lt; maxStackSize; i++) {
+        if (!stackTrace[i].callee &amp;&amp; frames.size())
+            break;
+
+        unsigned line;
+        unsigned column;
+        stackTrace[i].computeLineAndColumn(line, column);
+        String functionName = stackTrace[i].friendlyFunctionName(exec);
+        frames.append(ScriptCallFrame(functionName, stackTrace[i].sourceURL, line, column));
+    }
+
+    // FIXME: &lt;http://webkit.org/b/115087&gt; Web Inspector: WebCore::reportException should not evaluate JavaScript handling exceptions
+    // Fallback to getting at least the line and sourceURL from the exception if it has values and the exceptionStack doesn't.
+    if (frames.size() &gt; 0) {
+        const ScriptCallFrame&amp; firstCallFrame = frames.first();
+        JSObject* exceptionObject = exception.toObject(exec);
+        if (exception.isObject() &amp;&amp; firstCallFrame.sourceURL().isEmpty()) {
+            JSValue lineValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;line&quot;));
+            int lineNumber = lineValue &amp;&amp; lineValue.isNumber() ? int(lineValue.toNumber(exec)) : 0;
+            JSValue columnValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;column&quot;));
+            int columnNumber = columnValue &amp;&amp; columnValue.isNumber() ? int(columnValue.toNumber(exec)) : 0;
+            JSValue sourceURLValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;sourceURL&quot;));
+            String exceptionSourceURL = sourceURLValue &amp;&amp; sourceURLValue.isString() ? sourceURLValue.toString(exec)-&gt;value(exec) : ASCIILiteral(&quot;undefined&quot;);
+            frames[0] = ScriptCallFrame(firstCallFrame.functionName(), exceptionSourceURL, lineNumber, columnNumber);
+        }
+    }
+
+    return ScriptCallStack::create(frames);
+}
+
+PassRefPtr&lt;ScriptArguments&gt; createScriptArguments(JSC::ExecState* exec, unsigned skipArgumentCount)
+{
+    Vector&lt;Deprecated::ScriptValue&gt; arguments;
+    size_t argumentCount = exec-&gt;argumentCount();
+    for (size_t i = skipArgumentCount; i &lt; argumentCount; ++i)
+        arguments.append(Deprecated::ScriptValue(exec-&gt;vm(), exec-&gt;uncheckedArgument(i)));
+    return ScriptArguments::create(exec, arguments);
+}
+
+} // namespace WebCore
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorScriptCallStackFactoryhfromrev163567trunkSourceWebCorebindingsjsScriptCallStackFactoryh"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.h (from rev 163567, trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/ScriptCallStackFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (c) 2010 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are
+ * met:
+ *
+ *     * Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *     * Redistributions in binary form must reproduce the above
+ * copyright notice, this list of conditions and the following disclaimer
+ * in the documentation and/or other materials provided with the
+ * distribution.
+ *     * Neither the name of Google Inc. nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef ScriptCallStackFactory_h
+#define ScriptCallStackFactory_h
+
+#include &lt;wtf/Forward.h&gt;
+
+namespace JSC {
+class ExecState;
+class JSValue;
+}
+
+namespace Inspector {
+
+class ScriptArguments;
+class ScriptCallStack;
+
+// FIXME: The subtle differences between these should be eliminated.
+JS_EXPORT_PRIVATE PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState*, size_t maxStackSize, bool emptyIsAllowed);
+JS_EXPORT_PRIVATE PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState*, size_t maxStackSize);
+JS_EXPORT_PRIVATE PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackForConsole(JSC::ExecState*);
+JS_EXPORT_PRIVATE PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackFromException(JSC::ExecState*, JSC::JSValue&amp; exception, size_t maxStackSize);
+JS_EXPORT_PRIVATE PassRefPtr&lt;ScriptArguments&gt; createScriptArguments(JSC::ExecState*, unsigned skipArgumentCount);
+
+} // namespace Inspector
+
+#endif // ScriptCallStackFactory_h
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsInspectorConsoleAgentcppfromrev163567trunkSourceWebCoreinspectorInspectorConsoleAgentcpp"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp (from rev 163567, trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,256 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2011 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;InspectorConsoleAgent.h&quot;
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;ConsoleMessage.h&quot;
+#include &quot;InjectedScriptManager.h&quot;
+#include &quot;ScriptArguments.h&quot;
+#include &quot;ScriptCallFrame.h&quot;
+#include &quot;ScriptCallStack.h&quot;
+#include &quot;ScriptCallStackFactory.h&quot;
+#include &quot;ScriptObject.h&quot;
+#include &lt;wtf/CurrentTime.h&gt;
+#include &lt;wtf/OwnPtr.h&gt;
+#include &lt;wtf/PassOwnPtr.h&gt;
+#include &lt;wtf/text/StringBuilder.h&gt;
+#include &lt;wtf/text/WTFString.h&gt;
+
+namespace Inspector {
+
+static const unsigned maximumConsoleMessages = 1000;
+static const int expireConsoleMessagesStep = 100;
+
+InspectorConsoleAgent::InspectorConsoleAgent(InjectedScriptManager* injectedScriptManager)
+    : InspectorAgentBase(ASCIILiteral(&quot;Console&quot;))
+    , m_injectedScriptManager(injectedScriptManager)
+    , m_previousMessage(nullptr)
+    , m_expiredConsoleMessageCount(0)
+    , m_enabled(false)
+{
+}
+
+InspectorConsoleAgent::~InspectorConsoleAgent()
+{
+}
+
+void InspectorConsoleAgent::didCreateFrontendAndBackend(Inspector::InspectorFrontendChannel* frontendChannel, InspectorBackendDispatcher* backendDispatcher)
+{
+    m_frontendDispatcher = std::make_unique&lt;InspectorConsoleFrontendDispatcher&gt;(frontendChannel);
+    m_backendDispatcher = InspectorConsoleBackendDispatcher::create(backendDispatcher, this);
+}
+
+void InspectorConsoleAgent::willDestroyFrontendAndBackend(InspectorDisconnectReason)
+{
+    m_frontendDispatcher = nullptr;
+    m_backendDispatcher.clear();
+
+    String errorString;
+    disable(&amp;errorString);
+}
+
+void InspectorConsoleAgent::enable(ErrorString*)
+{
+    if (m_enabled)
+        return;
+
+    m_enabled = true;
+
+    if (m_expiredConsoleMessageCount) {
+        ConsoleMessage expiredMessage(!isWorkerAgent(), MessageSource::Other, MessageType::Log, MessageLevel::Warning, String::format(&quot;%d console messages are not shown.&quot;, m_expiredConsoleMessageCount));
+        expiredMessage.addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, false);
+    }
+
+    size_t messageCount = m_consoleMessages.size();
+    for (size_t i = 0; i &lt; messageCount; ++i)
+        m_consoleMessages[i]-&gt;addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, false);
+}
+
+void InspectorConsoleAgent::disable(ErrorString*)
+{
+    if (!m_enabled)
+        return;
+
+    m_enabled = false;
+}
+
+void InspectorConsoleAgent::clearMessages(ErrorString*)
+{
+    m_consoleMessages.clear();
+    m_expiredConsoleMessageCount = 0;
+    m_previousMessage = nullptr;
+
+    m_injectedScriptManager-&gt;releaseObjectGroup(ASCIILiteral(&quot;console&quot;));
+
+    if (m_frontendDispatcher &amp;&amp; m_enabled)
+        m_frontendDispatcher-&gt;messagesCleared();
+}
+
+void InspectorConsoleAgent::reset()
+{
+    ErrorString error;
+    clearMessages(&amp;error);
+
+    m_times.clear();
+    m_counts.clear();
+}
+
+void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    if (type == MessageType::Clear) {
+        ErrorString error;
+        clearMessages(&amp;error);
+    }
+
+    addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, callStack, requestIdentifier)));
+}
+
+void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments, unsigned long requestIdentifier)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    if (type == MessageType::Clear) {
+        ErrorString error;
+        clearMessages(&amp;error);
+    }
+
+    addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, arguments, state, requestIdentifier)));
+}
+
+void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* state, unsigned long requestIdentifier)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    if (type == MessageType::Clear) {
+        ErrorString error;
+        clearMessages(&amp;error);
+    }
+
+    bool canGenerateCallStack = !isWorkerAgent() &amp;&amp; m_frontendDispatcher;
+    addConsoleMessage(adoptPtr(new ConsoleMessage(canGenerateCallStack, source, type, level, message, scriptID, lineNumber, columnNumber, state, requestIdentifier)));
+}
+
+Vector&lt;unsigned&gt; InspectorConsoleAgent::consoleMessageArgumentCounts() const
+{
+    Vector&lt;unsigned&gt; result(m_consoleMessages.size());
+    for (size_t i = 0; i &lt; m_consoleMessages.size(); i++)
+        result[i] = m_consoleMessages[i]-&gt;argumentCount();
+    return result;
+}
+
+void InspectorConsoleAgent::startTiming(const String&amp; title)
+{
+    // Follow Firebug's behavior of requiring a title that is not null or
+    // undefined for timing functions
+    if (title.isNull())
+        return;
+
+    m_times.add(title, monotonicallyIncreasingTime());
+}
+
+void InspectorConsoleAgent::stopTiming(const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt; callStack)
+{
+    // Follow Firebug's behavior of requiring a title that is not null or
+    // undefined for timing functions
+    if (title.isNull())
+        return;
+
+    HashMap&lt;String, double&gt;::iterator it = m_times.find(title);
+    if (it == m_times.end())
+        return;
+
+    double startTime = it-&gt;value;
+    m_times.remove(it);
+
+    double elapsed = monotonicallyIncreasingTime() - startTime;
+    String message = title + String::format(&quot;: %.3fms&quot;, elapsed * 1000);
+    addMessageToConsole(MessageSource::ConsoleAPI, MessageType::Timing, MessageLevel::Debug, message, callStack);
+}
+
+void InspectorConsoleAgent::count(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
+{
+    RefPtr&lt;ScriptCallStack&gt; callStack(createScriptCallStackForConsole(state));
+    const ScriptCallFrame&amp; lastCaller = callStack-&gt;at(0);
+    // Follow Firebug's behavior of counting with null and undefined title in
+    // the same bucket as no argument
+    String title;
+    arguments-&gt;getFirstArgumentAsString(title);
+    String identifier = title + '@' + lastCaller.sourceURL() + ':' + String::number(lastCaller.lineNumber());
+
+    HashMap&lt;String, unsigned&gt;::iterator it = m_counts.find(identifier);
+    int count;
+    if (it == m_counts.end())
+        count = 1;
+    else {
+        count = it-&gt;value + 1;
+        m_counts.remove(it);
+    }
+
+    m_counts.add(identifier, count);
+
+    String message = title + &quot;: &quot; + String::number(count);
+    addMessageToConsole(MessageSource::ConsoleAPI, MessageType::Log, MessageLevel::Debug, message, callStack);
+}
+
+static bool isGroupMessage(MessageType type)
+{
+    return type == MessageType::StartGroup
+        || type == MessageType::StartGroupCollapsed
+        || type == MessageType::EndGroup;
+}
+
+void InspectorConsoleAgent::addConsoleMessage(PassOwnPtr&lt;ConsoleMessage&gt; consoleMessage)
+{
+    ASSERT(m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled());
+    ASSERT_ARG(consoleMessage, consoleMessage);
+
+    if (m_previousMessage &amp;&amp; !isGroupMessage(m_previousMessage-&gt;type()) &amp;&amp; m_previousMessage-&gt;isEqual(consoleMessage.get())) {
+        m_previousMessage-&gt;incrementCount();
+        if (m_frontendDispatcher &amp;&amp; m_enabled)
+            m_previousMessage-&gt;updateRepeatCountInConsole(m_frontendDispatcher.get());
+    } else {
+        m_previousMessage = consoleMessage.get();
+        m_consoleMessages.append(consoleMessage);
+        if (m_frontendDispatcher &amp;&amp; m_enabled)
+            m_previousMessage-&gt;addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, true);
+    }
+
+    if (!m_frontendDispatcher &amp;&amp; m_consoleMessages.size() &gt;= maximumConsoleMessages) {
+        m_expiredConsoleMessageCount += expireConsoleMessagesStep;
+        m_consoleMessages.remove(0, expireConsoleMessagesStep);
+    }
+}
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsInspectorConsoleAgenth"></a>
<div class="addfile"><h4>Added: trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/agents/InspectorConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+/*
+* Copyright (C) 2014 Apple Inc. All rights reserved.
+* Copyright (C) 2011 Google Inc. All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following conditions
+* are met:
+* 1.  Redistributions of source code must retain the above copyright
+*     notice, this list of conditions and the following disclaimer.
+* 2.  Redistributions in binary form must reproduce the above copyright
+*     notice, this list of conditions and the following disclaimer in the
+*     documentation and/or other materials provided with the distribution.
+*
+* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+* DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+#ifndef InspectorConsoleAgent_h
+#define InspectorConsoleAgent_h
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;InspectorJSBackendDispatchers.h&quot;
+#include &quot;InspectorJSFrontendDispatchers.h&quot;
+#include &quot;inspector/ConsoleTypes.h&quot;
+#include &quot;inspector/InspectorAgentBase.h&quot;
+#include &lt;wtf/Forward.h&gt;
+#include &lt;wtf/HashMap.h&gt;
+#include &lt;wtf/Noncopyable.h&gt;
+#include &lt;wtf/Vector.h&gt;
+#include &lt;wtf/text/StringHash.h&gt;
+
+namespace JSC {
+class ExecState;
+}
+
+namespace Inspector {
+
+class ConsoleMessage;
+class InjectedScriptManager;
+class ScriptArguments;
+class ScriptCallStack;
+typedef String ErrorString;
+
+class JS_EXPORT_PRIVATE InspectorConsoleAgent : public InspectorAgentBase, public InspectorConsoleBackendDispatcherHandler {
+    WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent);
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    InspectorConsoleAgent(InjectedScriptManager*);
+    virtual ~InspectorConsoleAgent();
+
+    virtual void didCreateFrontendAndBackend(InspectorFrontendChannel*, InspectorBackendDispatcher*) override;
+    virtual void willDestroyFrontendAndBackend(InspectorDisconnectReason) override;
+
+    virtual void enable(ErrorString*) override;
+    virtual void disable(ErrorString*) override;
+    virtual void clearMessages(ErrorString*) override;
+    virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) = 0;
+    virtual void addInspectedNode(ErrorString*, int nodeId) = 0;
+    virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId) = 0;
+
+    virtual bool isWorkerAgent() const = 0;
+
+    bool enabled() const { return m_enabled; }
+    void reset();
+
+    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;, unsigned long requestIdentifier = 0);
+    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
+    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
+
+    Vector&lt;unsigned&gt; consoleMessageArgumentCounts() const;
+
+    void startTiming(const String&amp; title);
+    void stopTiming(const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt;);
+    void count(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
+
+protected:
+    void addConsoleMessage(PassOwnPtr&lt;ConsoleMessage&gt;);
+
+    InjectedScriptManager* m_injectedScriptManager;
+    std::unique_ptr&lt;InspectorConsoleFrontendDispatcher&gt; m_frontendDispatcher;
+    RefPtr&lt;InspectorConsoleBackendDispatcher&gt; m_backendDispatcher;
+    ConsoleMessage* m_previousMessage;
+    Vector&lt;OwnPtr&lt;ConsoleMessage&gt;&gt; m_consoleMessages;
+    int m_expiredConsoleMessageCount;
+    HashMap&lt;String, unsigned&gt; m_counts;
+    HashMap&lt;String, double&gt; m_times;
+    bool m_enabled;
+};
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
+
+#endif // !defined(InspectorConsoleAgent_h)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectConsoleAgentcppfromrev163567trunkSourceWebCoreinspectorPageInjectedScriptHosth"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.cpp (from rev 163567, trunk/Source/WebCore/inspector/PageInjectedScriptHost.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.cpp                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include &quot;config.h&quot;
+#include &quot;JSGlobalObjectConsoleAgent.h&quot;
+
+#if ENABLE(INSPECTOR)
+
+namespace Inspector {
+
+JSGlobalObjectConsoleAgent::JSGlobalObjectConsoleAgent(InjectedScriptManager* injectedScriptManager)
+    : InspectorConsoleAgent(injectedScriptManager)
+{
+}
+
+void JSGlobalObjectConsoleAgent::setMonitoringXHREnabled(ErrorString* errorString, bool)
+{
+    *errorString = ASCIILiteral(&quot;Not supported for JavaScript context&quot;);
+}
+
+void JSGlobalObjectConsoleAgent::addInspectedNode(ErrorString* errorString, int)
+{
+    *errorString = ASCIILiteral(&quot;Not supported for JavaScript context&quot;);
+}
+
+void JSGlobalObjectConsoleAgent::addInspectedHeapObject(ErrorString* errorString, int)
+{
+    *errorString = ASCIILiteral(&quot;Not supported for JavaScript context&quot;);
+}
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectConsoleAgenthfromrev163567trunkSourceWebCoreinspectorPageInjectedScriptHosth"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.h (from rev 163567, trunk/Source/WebCore/inspector/PageInjectedScriptHost.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.h                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef JSGlobalObjectConsoleAgent_h
+#define JSGlobalObjectConsoleAgent_h
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;InspectorConsoleAgent.h&quot;
+#include &quot;JSGlobalObjectScriptDebugServer.h&quot;
+
+namespace Inspector {
+
+class JSGlobalObjectConsoleAgent final : public InspectorConsoleAgent {
+    WTF_MAKE_NONCOPYABLE(JSGlobalObjectConsoleAgent);
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    JSGlobalObjectConsoleAgent(InjectedScriptManager*);
+    virtual ~JSGlobalObjectConsoleAgent() { }
+
+    // FIXME: XHRs and Nodes only makes sense debugging a Web context. Can this be moved to a different agent?
+    virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) override;
+    virtual void addInspectedNode(ErrorString*, int nodeId) override;
+    virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId) override;
+
+    virtual bool isWorkerAgent() const { return false; }
+};
+
+} // namespace Inspector
+
+#endif // ENABLE(INSPECTOR)
+
+#endif // !defined(JSGlobalObjectConsoleAgent_h)
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectDebuggerAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,15 +29,20 @@
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;InjectedScriptManager.h&quot;
</span><ins>+#include &quot;InspectorConsoleAgent.h&quot;
</ins><span class="cx"> #include &quot;JSGlobalObject.h&quot;
</span><ins>+#include &quot;ScriptArguments.h&quot;
+#include &quot;ScriptCallStack.h&quot;
+#include &quot;ScriptCallStackFactory.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> using namespace JSC;
</span><span class="cx"> 
</span><span class="cx"> namespace Inspector {
</span><span class="cx"> 
</span><del>-JSGlobalObjectDebuggerAgent::JSGlobalObjectDebuggerAgent(InjectedScriptManager* injectedScriptManager, JSC::JSGlobalObject&amp; globalObject)
</del><ins>+JSGlobalObjectDebuggerAgent::JSGlobalObjectDebuggerAgent(InjectedScriptManager* injectedScriptManager, JSC::JSGlobalObject&amp; globalObject, InspectorConsoleAgent* consoleAgent)
</ins><span class="cx">     : InspectorDebuggerAgent(injectedScriptManager)
</span><span class="cx">     , m_scriptDebugServer(globalObject)
</span><ins>+    , m_consoleAgent(consoleAgent)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -62,6 +67,11 @@
</span><span class="cx">     return injectedScriptManager()-&gt;injectedScriptFor(exec);
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+void JSGlobalObjectDebuggerAgent::breakpointActionLog(JSC::ExecState* exec, const String&amp; message)
+{
+    m_consoleAgent-&gt;addMessageToConsole(MessageSource::JS, MessageType::Log, MessageLevel::Log, message, createScriptCallStack(exec, ScriptCallStack::maxCallStackSizeToCapture, true), 0);
+}
+
</ins><span class="cx"> } // namespace Inspector
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(INSPECTOR)
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectoragentsJSGlobalObjectDebuggerAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/inspector/agents/JSGlobalObjectDebuggerAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -33,11 +33,13 @@
</span><span class="cx"> 
</span><span class="cx"> namespace Inspector {
</span><span class="cx"> 
</span><ins>+class InspectorConsoleAgent;
+
</ins><span class="cx"> class JSGlobalObjectDebuggerAgent final : public InspectorDebuggerAgent {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(JSGlobalObjectDebuggerAgent);
</span><span class="cx">     WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><del>-    JSGlobalObjectDebuggerAgent(InjectedScriptManager*, JSC::JSGlobalObject&amp;);
</del><ins>+    JSGlobalObjectDebuggerAgent(InjectedScriptManager*, JSC::JSGlobalObject&amp;, InspectorConsoleAgent*);
</ins><span class="cx">     virtual ~JSGlobalObjectDebuggerAgent() { }
</span><span class="cx"> 
</span><span class="cx">     virtual JSGlobalObjectScriptDebugServer&amp; scriptDebugServer() override { return m_scriptDebugServer; }
</span><span class="lines">@@ -46,8 +48,7 @@
</span><span class="cx">     virtual void stopListeningScriptDebugServer(bool isBeingDestroyed) override;
</span><span class="cx">     virtual InjectedScript injectedScriptForEval(ErrorString*, const int* executionContextId) override;
</span><span class="cx"> 
</span><del>-    // FIXME: This needs a ConsoleAgent to send a log to.
-    virtual void breakpointActionLog(JSC::ExecState*, const String&amp;) override final { }
</del><ins>+    virtual void breakpointActionLog(JSC::ExecState*, const String&amp;) override;
</ins><span class="cx"> 
</span><span class="cx">     // FIXME: JavaScript inspector does not yet have a console object to mute.
</span><span class="cx">     virtual void muteConsole() override { }
</span><span class="lines">@@ -55,6 +56,7 @@
</span><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     JSGlobalObjectScriptDebugServer m_scriptDebugServer;
</span><ins>+    InspectorConsoleAgent* m_consoleAgent;
</ins><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> } // namespace Inspector
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorprotocolConsolejsonfromrev163567trunkSourceWebCoreinspectorprotocolConsolejson"></a>
<div class="copfile"><h4>Copied: trunk/Source/JavaScriptCore/inspector/protocol/Console.json (from rev 163567, trunk/Source/WebCore/inspector/protocol/Console.json) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/protocol/Console.json                                (rev 0)
+++ trunk/Source/JavaScriptCore/inspector/protocol/Console.json        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,105 @@
</span><ins>+{
+    &quot;domain&quot;: &quot;Console&quot;,
+    &quot;description&quot;: &quot;Console domain defines methods and events for interaction with the JavaScript console. Console collects messages created by means of the &lt;a href='http://getfirebug.com/wiki/index.php/Console_API'&gt;JavaScript Console API&lt;/a&gt;. One needs to enable this domain using &lt;code&gt;enable&lt;/code&gt; command in order to start receiving the console messages. Browser collects messages issued while console domain is not enabled as well and reports them using &lt;code&gt;messageAdded&lt;/code&gt; notification upon enabling.&quot;,
+    &quot;types&quot;: [
+        {
+            &quot;id&quot;: &quot;ConsoleNetworkRequestId&quot;,
+            &quot;type&quot;: &quot;string&quot;,
+            &quot;description&quot;: &quot;Unique request identifier. FIXME: Duplicate of Network.RequestId &lt;https://webkit.org/b/125664&gt; Web Inspector: FIX Type Dependency Issues&quot;
+        },
+        {
+            &quot;id&quot;: &quot;ConsoleDOMNodeId&quot;,
+            &quot;type&quot;: &quot;integer&quot;,
+            &quot;description&quot;: &quot;Unique DOM node identifier. FIXME: Duplicate of DOM.NodeId &lt;https://webkit.org/b/125664&gt; Web Inspector: FIX Type Dependency Issues&quot;
+        },
+        {
+            &quot;id&quot;: &quot;ConsoleMessage&quot;,
+            &quot;type&quot;: &quot;object&quot;,
+            &quot;description&quot;: &quot;Console message.&quot;,
+            &quot;properties&quot;: [
+                { &quot;name&quot;: &quot;source&quot;, &quot;type&quot;: &quot;string&quot;, &quot;enum&quot;: [&quot;xml&quot;, &quot;javascript&quot;, &quot;network&quot;, &quot;console-api&quot;, &quot;storage&quot;, &quot;appcache&quot;, &quot;rendering&quot;, &quot;css&quot;, &quot;security&quot;, &quot;other&quot;], &quot;description&quot;: &quot;Message source.&quot; },
+                { &quot;name&quot;: &quot;level&quot;, &quot;type&quot;: &quot;string&quot;, &quot;enum&quot;: [&quot;log&quot;, &quot;warning&quot;, &quot;error&quot;, &quot;debug&quot;], &quot;description&quot;: &quot;Message severity.&quot; },
+                { &quot;name&quot;: &quot;text&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;Message text.&quot; },
+                { &quot;name&quot;: &quot;type&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;enum&quot;: [&quot;log&quot;, &quot;dir&quot;, &quot;dirxml&quot;, &quot;table&quot;, &quot;trace&quot;, &quot;clear&quot;, &quot;startGroup&quot;, &quot;startGroupCollapsed&quot;, &quot;endGroup&quot;, &quot;assert&quot;, &quot;timing&quot;, &quot;profile&quot;, &quot;profileEnd&quot;], &quot;description&quot;: &quot;Console message type.&quot; },
+                { &quot;name&quot;: &quot;url&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;URL of the message origin.&quot; },
+                { &quot;name&quot;: &quot;line&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Line number in the resource that generated this message.&quot; },
+                { &quot;name&quot;: &quot;column&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Column number on the line in the resource that generated this message.&quot; },
+                { &quot;name&quot;: &quot;repeatCount&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Repeat count for repeated messages.&quot; },
+                { &quot;name&quot;: &quot;parameters&quot;, &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;$ref&quot;: &quot;Runtime.RemoteObject&quot; }, &quot;optional&quot;: true, &quot;description&quot;: &quot;Message parameters in case of the formatted message.&quot; },
+                { &quot;name&quot;: &quot;stackTrace&quot;, &quot;$ref&quot;: &quot;StackTrace&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;JavaScript stack trace for assertions and error messages.&quot; },
+                { &quot;name&quot;: &quot;networkRequestId&quot;, &quot;$ref&quot;: &quot;ConsoleNetworkRequestId&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Identifier of the network request associated with this message.&quot; }
+            ]
+        },
+        {
+            &quot;id&quot;: &quot;CallFrame&quot;,
+            &quot;type&quot;: &quot;object&quot;,
+            &quot;description&quot;: &quot;Stack entry for console errors and assertions.&quot;,
+            &quot;properties&quot;: [
+                { &quot;name&quot;: &quot;functionName&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;JavaScript function name.&quot; },
+                { &quot;name&quot;: &quot;url&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;JavaScript script name or url.&quot; },
+                { &quot;name&quot;: &quot;lineNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;JavaScript script line number.&quot; },
+                { &quot;name&quot;: &quot;columnNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;JavaScript script column number.&quot; }
+            ]
+        },
+        {
+            &quot;id&quot;: &quot;StackTrace&quot;,
+            &quot;type&quot;: &quot;array&quot;,
+            &quot;items&quot;: { &quot;$ref&quot;: &quot;CallFrame&quot; },
+            &quot;description&quot;: &quot;Call frames for assertions or error messages.&quot;
+        }
+    ],
+    &quot;commands&quot;: [
+        {
+            &quot;name&quot;: &quot;enable&quot;,
+            &quot;description&quot;: &quot;Enables console domain, sends the messages collected so far to the client by means of the &lt;code&gt;messageAdded&lt;/code&gt; notification.&quot;
+        },
+        {
+            &quot;name&quot;: &quot;disable&quot;,
+            &quot;description&quot;: &quot;Disables console domain, prevents further console messages from being reported to the client.&quot;
+        },
+        {
+            &quot;name&quot;: &quot;clearMessages&quot;,
+            &quot;description&quot;: &quot;Clears console messages collected in the browser.&quot;
+        },
+        {
+            &quot;name&quot;: &quot;setMonitoringXHREnabled&quot;,
+            &quot;parameters&quot;: [
+                { &quot;name&quot;: &quot;enabled&quot;, &quot;type&quot;: &quot;boolean&quot;, &quot;description&quot;: &quot;Monitoring enabled state.&quot; }
+            ],
+            &quot;description&quot;: &quot;Toggles monitoring of XMLHttpRequest. If &lt;code&gt;true&lt;/code&gt;, console will receive messages upon each XHR issued.&quot;
+        },
+        {
+            &quot;name&quot;: &quot;addInspectedNode&quot;,
+            &quot;parameters&quot;: [
+                { &quot;name&quot;: &quot;nodeId&quot;, &quot;$ref&quot;: &quot;ConsoleDOMNodeId&quot;, &quot;description&quot;: &quot;DOM node id to be accessible by means of $x command line API.&quot; }
+            ],
+            &quot;description&quot;: &quot;Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).&quot;
+        },
+        {
+            &quot;name&quot;: &quot;addInspectedHeapObject&quot;,
+            &quot;parameters&quot;: [
+                { &quot;name&quot;: &quot;heapObjectId&quot;, &quot;type&quot;: &quot;integer&quot; }
+            ]
+        }
+    ],
+    &quot;events&quot;: [
+        {
+            &quot;name&quot;: &quot;messageAdded&quot;,
+            &quot;parameters&quot;: [
+                { &quot;name&quot;: &quot;message&quot;, &quot;$ref&quot;: &quot;ConsoleMessage&quot;, &quot;description&quot;: &quot;Console message that has been added.&quot; }
+            ],
+            &quot;description&quot;: &quot;Issued when new console message is added.&quot;
+        },
+        {
+            &quot;name&quot;: &quot;messageRepeatCountUpdated&quot;,
+            &quot;parameters&quot;: [
+                { &quot;name&quot;: &quot;count&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;New repeat count value.&quot; }
+            ],
+            &quot;description&quot;: &quot;Issued when subsequent message(s) are equal to the previous one(s).&quot;
+        },
+        {
+            &quot;name&quot;: &quot;messagesCleared&quot;,
+            &quot;description&quot;: &quot;Issued when console is cleared. This happens either upon &lt;code&gt;clearMessages&lt;/code&gt; command or after page navigation.&quot;
+        }
+    ]
+}
</ins></span></pre></div>
<a id="trunkSourceJavaScriptCoreinspectorscriptsgeneratecombinedinspectorjsonpy"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/inspector/scripts/generate-combined-inspector-json.py (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/inspector/scripts/generate-combined-inspector-json.py        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/JavaScriptCore/inspector/scripts/generate-combined-inspector-json.py        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -66,3 +66,4 @@
</span><span class="cx"> 
</span><span class="cx">     print(string.rstrip())
</span><span class="cx"> print(&quot;]}&quot;)
</span><ins>+
</ins></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/CMakeLists.txt        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -760,7 +760,6 @@
</span><span class="cx">     inspector/protocol/ApplicationCache.json
</span><span class="cx">     inspector/protocol/CSS.json
</span><span class="cx">     inspector/protocol/Canvas.json
</span><del>-    inspector/protocol/Console.json
</del><span class="cx">     inspector/protocol/DOM.json
</span><span class="cx">     inspector/protocol/DOMDebugger.json
</span><span class="cx">     inspector/protocol/DOMStorage.json
</span><span class="lines">@@ -1566,16 +1565,13 @@
</span><span class="cx"> 
</span><span class="cx">     inspector/CommandLineAPIHost.cpp
</span><span class="cx">     inspector/CommandLineAPIModule.cpp
</span><del>-    inspector/ConsoleMessage.cpp
</del><span class="cx">     inspector/DOMEditor.cpp
</span><span class="cx">     inspector/DOMPatchSupport.cpp
</span><del>-    inspector/IdentifiersFactory.cpp
</del><span class="cx">     inspector/InjectedScriptCanvasModule.cpp
</span><span class="cx">     inspector/InspectorApplicationCacheAgent.cpp
</span><span class="cx">     inspector/InspectorCSSAgent.cpp
</span><span class="cx">     inspector/InspectorCanvasAgent.cpp
</span><span class="cx">     inspector/InspectorClient.cpp
</span><del>-    inspector/InspectorConsoleAgent.cpp
</del><span class="cx">     inspector/InspectorController.cpp
</span><span class="cx">     inspector/InspectorCounters.cpp
</span><span class="cx">     inspector/InspectorDOMAgent.cpp
</span><span class="lines">@@ -1609,10 +1605,8 @@
</span><span class="cx">     inspector/PageInjectedScriptHost.cpp
</span><span class="cx">     inspector/PageInjectedScriptManager.cpp
</span><span class="cx">     inspector/PageRuntimeAgent.cpp
</span><del>-    inspector/ScriptArguments.cpp
-    inspector/ScriptCallFrame.cpp
-    inspector/ScriptCallStack.cpp
</del><span class="cx">     inspector/TimelineRecordFactory.cpp
</span><ins>+    inspector/WebConsoleAgent.cpp
</ins><span class="cx">     inspector/WebDebuggerAgent.cpp
</span><span class="cx">     inspector/WorkerConsoleAgent.cpp
</span><span class="cx">     inspector/WorkerDebuggerAgent.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,5 +1,276 @@
</span><span class="cx"> 2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+          - Move InspectorConsoleAgent and dependencies to JavaScriptCore
+            and into the Inspector namespace.
+          - Update Console Message enum types to enum classes and update
+            all users to the new, simpler names.
+          - Since we are updating addConsoleMessage callsites anyways, add
+            ASCIILiteral where appropriate.
+          - Add WebConsoleAgent base of Page/Worker ConsoleAgent to implement
+            what could not be pushed into JavaScriptCore.
+
+        * CMakeLists.txt:
+        * DerivedSources.make:
+        * ForwardingHeaders/inspector/ConsoleMessage.h: Added.
+        * ForwardingHeaders/inspector/ConsoleTypes.h: Added.
+        * ForwardingHeaders/inspector/IdentifiersFactory.h: Added.
+        * ForwardingHeaders/inspector/ScriptArguments.h: Added.
+        * ForwardingHeaders/inspector/ScriptCallFrame.h: Added.
+        * ForwardingHeaders/inspector/ScriptCallStack.h: Added.
+        * ForwardingHeaders/inspector/ScriptCallStackFactory.h: Added.
+        * ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h: Added.
+        * GNUmakefile.am:
+        * GNUmakefile.list.am:
+        Add / remove files from builds.
+
+        * inspector/WebConsoleAgent.h:
+        * inspector/WebConsoleAgent.cpp: Added.
+        (WebCore::WebConsoleAgent::WebConsoleAgent):
+        (WebCore::WebConsoleAgent::setMonitoringXHREnabled):
+        (WebCore::WebConsoleAgent::frameWindowDiscarded):
+        (WebCore::WebConsoleAgent::didFinishXHRLoading):
+        (WebCore::WebConsoleAgent::didReceiveResponse):
+        (WebCore::WebConsoleAgent::didFailLoading):
+        (WebCore::WebConsoleAgent::addInspectedHeapObject):
+        Implement what could not be pushed down into JavaScriptCore.
+
+        * inspector/InstrumentingAgents.h:
+        (WebCore::InstrumentingAgents::webConsoleAgent):
+        (WebCore::InstrumentingAgents::setWebConsoleAgent):
+        Hold a WebConsoleAgent instead of InspectorConsoleAgent.
+
+        * Modules/indexeddb/IDBCursor.cpp:
+        * Modules/indexeddb/IDBDatabase.cpp:
+        * Modules/indexeddb/IDBTransaction.cpp:
+        * Modules/quota/DOMWindowQuota.cpp:
+        (WebCore::DOMWindowQuota::webkitStorageInfo):
+        * Modules/webaudio/AudioBufferSourceNode.cpp:
+        (WebCore::AudioBufferSourceNode::looping):
+        (WebCore::AudioBufferSourceNode::setLooping):
+        * Modules/webaudio/AudioContext.cpp:
+        * Modules/webaudio/PannerNode.cpp:
+        (WebCore::PannerNode::setPanningModel):
+        * Modules/webdatabase/DatabaseBase.cpp:
+        (WebCore::DatabaseBase::logErrorMessage):
+        * Modules/webdatabase/DatabaseManager.cpp:
+        (WebCore::DatabaseManager::logErrorMessage):
+        * Modules/websockets/WebSocket.cpp:
+        (WebCore::WebSocket::connect):
+        (WebCore::WebSocket::send):
+        (WebCore::WebSocket::close):
+        (WebCore::WebSocket::setBinaryType):
+        * Modules/websockets/WebSocketChannel.cpp:
+        (WebCore::WebSocketChannel::fail):
+        (WebCore::WebSocketChannel::didFailSocketStream):
+        * Modules/websockets/WebSocketHandshake.cpp:
+        * WebCore.exp.in:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/js/JSAudioContextCustom.cpp:
+        (WebCore::JSAudioContextConstructor::constructJSAudioContext):
+        * bindings/js/JSCustomXPathNSResolver.cpp:
+        (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
+        * bindings/js/JSDOMBinding.cpp:
+        * bindings/js/JSSubtleCryptoCustom.cpp:
+        (WebCore::JSSubtleCrypto::encrypt):
+        (WebCore::JSSubtleCrypto::decrypt):
+        (WebCore::JSSubtleCrypto::sign):
+        (WebCore::JSSubtleCrypto::verify):
+        (WebCore::JSSubtleCrypto::wrapKey):
+        (WebCore::JSSubtleCrypto::unwrapKey):
+        * bindings/js/ScriptController.cpp:
+        (WebCore::ScriptController::canExecuteScripts):
+        * bindings/scripts/CodeGeneratorJS.pm:
+        (GenerateCallWith):
+        * bindings/scripts/test/JS/JSTestObj.cpp:
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::logError):
+        * css/MediaList.cpp:
+        (WebCore::addResolutionWarningMessageToConsole):
+        * dom/Document.cpp:
+        (WebCore::Document::logExceptionToConsole):
+        (WebCore::Document::processHttpEquiv):
+        (WebCore::Document::addMessage):
+        * dom/Document.h:
+        * dom/ScriptElement.cpp:
+        (WebCore::ScriptElement::executeScript):
+        (WebCore::ScriptElement::notifyFinished):
+        * dom/ScriptExecutionContext.cpp:
+        * dom/ScriptExecutionContext.h:
+        * dom/ViewportArguments.cpp:
+        (WebCore::viewportErrorMessageLevel):
+        (WebCore::reportViewportWarning):
+        * fileapi/Blob.cpp:
+        * fileapi/WebKitBlobBuilder.cpp:
+        * html/HTMLFormControlElement.cpp:
+        (WebCore::shouldAutofocus):
+        * html/HTMLFormElement.cpp:
+        (WebCore::HTMLFormElement::validateInteractively):
+        * html/HTMLIFrameElement.cpp:
+        (WebCore::HTMLIFrameElement::parseAttribute):
+        * html/HTMLMediaElement.cpp:
+        (WebCore::HTMLMediaElement::parseAttribute):
+        * html/canvas/CanvasRenderingContext2D.cpp:
+        (WebCore::CanvasRenderingContext2D::getImageData):
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore::WebGLRenderingContext::printWarningToConsole):
+        * html/parser/XSSAuditor.cpp:
+        (WebCore::XSSAuditor::init):
+        * html/parser/XSSAuditorDelegate.cpp:
+        (WebCore::XSSAuditorDelegate::didBlockScript):
+        * inspector/CommandLineAPIHost.cpp:
+        * inspector/CommandLineAPIHost.h:
+        (WebCore::CommandLineAPIHost::init):
+        * inspector/InspectorAllInOne.cpp:
+        * inspector/InspectorConsoleAgent.h: Removed.
+        * inspector/InspectorConsoleInstrumentation.h:
+        (WebCore::InspectorInstrumentation::addMessageToConsole):
+        (WebCore::InspectorInstrumentation::consoleCount):
+        (WebCore::InspectorInstrumentation::stopConsoleTiming):
+        (WebCore::InspectorInstrumentation::consoleTimeStamp):
+        (WebCore::InspectorInstrumentation::addProfile):
+        * inspector/InspectorController.cpp:
+        (WebCore::InspectorController::InspectorController):
+        * inspector/InspectorDOMAgent.cpp:
+        * inspector/InspectorFrontendHost.h:
+        * inspector/InspectorInstrumentation.cpp:
+        (WebCore::InspectorInstrumentation::frameWindowDiscardedImpl):
+        (WebCore::InspectorInstrumentation::didReceiveResourceResponseImpl):
+        (WebCore::InspectorInstrumentation::didFailLoadingImpl):
+        (WebCore::InspectorInstrumentation::didFinishXHRLoadingImpl):
+        (WebCore::InspectorInstrumentation::didCommitLoadImpl):
+        (WebCore::isConsoleAssertMessage):
+        (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
+        (WebCore::InspectorInstrumentation::consoleCountImpl):
+        (WebCore::InspectorInstrumentation::startConsoleTimingImpl):
+        (WebCore::InspectorInstrumentation::stopConsoleTimingImpl):
+        (WebCore::InspectorInstrumentation::consoleAgentEnabled):
+        * inspector/InspectorInstrumentation.h:
+        * inspector/InspectorLayerTreeAgent.cpp:
+        * inspector/InspectorPageAgent.cpp:
+        * inspector/InspectorProfilerAgent.cpp:
+        (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
+        (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
+        * inspector/InspectorProfilerAgent.h:
+        * inspector/InspectorResourceAgent.cpp:
+        (WebCore::InspectorResourceAgent::buildInitiatorObject):
+        * inspector/InspectorTimelineAgent.cpp:
+        * inspector/InstrumentingAgents.cpp:
+        (WebCore::InstrumentingAgents::InstrumentingAgents):
+        (WebCore::InstrumentingAgents::reset):
+        * inspector/PageConsoleAgent.cpp:
+        (WebCore::PageConsoleAgent::PageConsoleAgent):
+        (WebCore::PageConsoleAgent::clearMessages):
+        (WebCore::PageConsoleAgent::addInspectedNode):
+        * inspector/PageConsoleAgent.h:
+        * inspector/PageDebuggerAgent.cpp:
+        (WebCore::PageDebuggerAgent::breakpointActionLog):
+        * inspector/PageInjectedScriptHost.h:
+        * inspector/PageInjectedScriptManager.h:
+        * inspector/TimelineRecordFactory.cpp:
+        (WebCore::TimelineRecordFactory::createGenericRecord):
+        (WebCore::WebConsoleAgent::~WebConsoleAgent):
+        * inspector/WorkerConsoleAgent.cpp:
+        (WebCore::WorkerConsoleAgent::WorkerConsoleAgent):
+        (WebCore::WorkerConsoleAgent::addInspectedNode):
+        * inspector/WorkerConsoleAgent.h:
+        * inspector/WorkerDebuggerAgent.cpp:
+        (WebCore::WorkerDebuggerAgent::breakpointActionLog):
+        * inspector/WorkerInspectorController.cpp:
+        (WebCore::WorkerInspectorController::WorkerInspectorController):
+        * loader/DocumentLoader.cpp:
+        (WebCore::DocumentLoader::responseReceived):
+        * loader/FrameLoader.cpp:
+        (WebCore::FrameLoader::submitForm):
+        (WebCore::FrameLoader::reportLocalLoadFailed):
+        (WebCore::FrameLoader::handleBeforeUnloadEvent):
+        (WebCore::FrameLoader::shouldInterruptLoadForXFrameOptions):
+        (WebCore::createWindow):
+        * loader/ImageLoader.cpp:
+        (WebCore::ImageLoader::notifyFinished):
+        * loader/MixedContentChecker.cpp:
+        (WebCore::MixedContentChecker::logWarning):
+        * loader/TextTrackLoader.cpp:
+        (WebCore::TextTrackLoader::corsPolicyPreventedLoad):
+        * loader/appcache/ApplicationCacheGroup.cpp:
+        (WebCore::ApplicationCacheGroup::abort):
+        (WebCore::ApplicationCacheGroup::didReceiveResponse):
+        (WebCore::ApplicationCacheGroup::didFinishLoading):
+        (WebCore::ApplicationCacheGroup::didFail):
+        (WebCore::ApplicationCacheGroup::didReceiveManifestResponse):
+        (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
+        (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
+        * loader/cache/CachedResourceLoader.cpp:
+        (WebCore::CachedResourceLoader::printAccessDeniedMessage):
+        * page/ChromeClient.h:
+        * page/Console.cpp:
+        (WebCore::internalAddMessage):
+        (WebCore::Console::debug):
+        (WebCore::Console::error):
+        (WebCore::Console::log):
+        (WebCore::Console::warn):
+        (WebCore::Console::dir):
+        (WebCore::Console::dirxml):
+        (WebCore::Console::table):
+        (WebCore::Console::clear):
+        (WebCore::Console::trace):
+        (WebCore::Console::assertCondition):
+        (WebCore::Console::group):
+        (WebCore::Console::groupCollapsed):
+        (WebCore::Console::groupEnd):
+        * page/Console.h:
+        * page/ConsoleTypes.h: Removed.
+        * page/ContentSecurityPolicy.cpp:
+        (WebCore::ContentSecurityPolicy::reportViolation):
+        (WebCore::ContentSecurityPolicy::logToConsole):
+        * page/DOMSecurityPolicy.cpp:
+        * page/DOMWindow.cpp:
+        (WebCore::DOMWindow::postMessage):
+        (WebCore::DOMWindow::dispatchMessageEventWithOriginCheck):
+        (WebCore::DOMWindow::close):
+        (WebCore::DOMWindow::printErrorMessage):
+        * page/DOMWindow.h:
+        * page/EventSource.cpp:
+        (WebCore::EventSource::didReceiveResponse):
+        (WebCore::EventSource::didFailAccessControlCheck):
+        * page/PageConsole.cpp:
+        (WebCore::PageConsole::printMessageSourceAndLevelPrefix):
+        (WebCore::PageConsole::addMessage):
+        * page/PageConsole.h:
+        * page/PointerLockController.cpp:
+        (WebCore::PointerLockController::requestPointerLock):
+        * platform/CrossThreadCopier.h:
+        * rendering/shapes/ShapeInfo.cpp:
+        (WebCore::checkShapeImageOrigin):
+        * svg/SVGDocumentExtensions.cpp:
+        (WebCore::reportMessage):
+        (WebCore::SVGDocumentExtensions::reportWarning):
+        (WebCore::SVGDocumentExtensions::reportError):
+        * testing/Internals.cpp:
+        (WebCore::Internals::consoleMessageArgumentCounts):
+        * workers/DefaultSharedWorkerRepository.cpp:
+        * workers/SharedWorkerGlobalScope.cpp:
+        (WebCore::SharedWorkerGlobalScope::logExceptionToConsole):
+        * workers/SharedWorkerGlobalScope.h:
+        * workers/WorkerGlobalScope.cpp:
+        (WebCore::WorkerGlobalScope::addMessageToWorkerConsole):
+        * workers/WorkerGlobalScope.h:
+        * workers/WorkerMessagingProxy.cpp:
+        * workers/WorkerReportingProxy.h:
+        * xml/XMLHttpRequest.cpp:
+        (WebCore::logConsoleError):
+        (WebCore::XMLHttpRequest::send):
+        * xml/XSLTProcessorLibxslt.cpp:
+        (WebCore::XSLTProcessor::parseErrorFunc):
+
+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
</ins><span class="cx">         Convert a parameter to PassRefPtr
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=128327
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/DerivedSources.make        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1092,7 +1092,6 @@
</span><span class="cx">     $(WebCore)/inspector/protocol/ApplicationCache.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/CSS.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/Canvas.json \
</span><del>-    $(WebCore)/inspector/protocol/Console.json \
</del><span class="cx">     $(WebCore)/inspector/protocol/DOM.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/DOMDebugger.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/DOMStorage.json \
</span></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorConsoleMessageh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleMessage.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleMessage.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleMessage.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ConsoleMessage_h
+#define WebCore_FWD_ConsoleMessage_h
+#include &lt;JavaScriptCore/ConsoleMessage.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorConsoleTypesh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleTypes.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleTypes.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ConsoleTypes.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ConsoleTypes_h
+#define WebCore_FWD_ConsoleTypes_h
+#include &lt;JavaScriptCore/ConsoleTypes.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorIdentifiersFactoryh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/IdentifiersFactory.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/IdentifiersFactory.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/IdentifiersFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_IdentifiersFactory_h
+#define WebCore_FWD_IdentifiersFactory_h
+#include &lt;JavaScriptCore/IdentifiersFactory.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorScriptArgumentsh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptArguments.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptArguments.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptArguments.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ScriptArguments_h
+#define WebCore_FWD_ScriptArguments_h
+#include &lt;JavaScriptCore/ScriptArguments.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorScriptCallFrameh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallFrame.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallFrame.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallFrame.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ScriptCallFrame_h
+#define WebCore_FWD_ScriptCallFrame_h
+#include &lt;JavaScriptCore/ScriptCallFrame.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorScriptCallStackh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStack.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStack.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStack.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ScriptCallStack_h
+#define WebCore_FWD_ScriptCallStack_h
+#include &lt;JavaScriptCore/ScriptCallStack.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectorScriptCallStackFactoryh"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStackFactory.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStackFactory.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/ScriptCallStackFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_ScriptCallStackFactory_h
+#define WebCore_FWD_ScriptCallStackFactory_h
+#include &lt;JavaScriptCore/ScriptCallStackFactory.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreForwardingHeadersinspectoragentsInspectorConsoleAgenth"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h                                (rev 0)
+++ trunk/Source/WebCore/ForwardingHeaders/inspector/agents/InspectorConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#ifndef WebCore_FWD_InspectorConsoleAgent_h
+#define WebCore_FWD_InspectorConsoleAgent_h
+#include &lt;JavaScriptCore/InspectorConsoleAgent.h&gt;
+#endif
</ins></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefileam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.am (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.am        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/GNUmakefile.am        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -337,7 +337,6 @@
</span><span class="cx">     $(WebCore)/inspector/protocol/ApplicationCache.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/CSS.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/Canvas.json \
</span><del>-    $(WebCore)/inspector/protocol/Console.json \
</del><span class="cx">     $(WebCore)/inspector/protocol/DOM.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/DOMDebugger.json \
</span><span class="cx">     $(WebCore)/inspector/protocol/DOMStorage.json \
</span></span></pre></div>
<a id="trunkSourceWebCoreGNUmakefilelistam"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/GNUmakefile.list.am (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/GNUmakefile.list.am        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/GNUmakefile.list.am        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -2436,8 +2436,6 @@
</span><span class="cx">         Source/WebCore/bindings/js/ScheduledAction.h \
</span><span class="cx">         Source/WebCore/bindings/js/ScriptCachedFrameData.cpp \
</span><span class="cx">         Source/WebCore/bindings/js/ScriptCachedFrameData.h \
</span><del>-        Source/WebCore/bindings/js/ScriptCallStackFactory.cpp \
-        Source/WebCore/bindings/js/ScriptCallStackFactory.h \
</del><span class="cx">         Source/WebCore/bindings/js/ScriptController.cpp \
</span><span class="cx">         Source/WebCore/bindings/js/ScriptController.h \
</span><span class="cx">         Source/WebCore/bindings/js/ScriptHeapSnapshot.h \
</span><span class="lines">@@ -3744,15 +3742,10 @@
</span><span class="cx">         Source/WebCore/inspector/CommandLineAPIHost.h \
</span><span class="cx">         Source/WebCore/inspector/CommandLineAPIModule.cpp \
</span><span class="cx">         Source/WebCore/inspector/CommandLineAPIModule.h \
</span><del>-        Source/WebCore/inspector/ConsoleAPITypes.h \
-        Source/WebCore/inspector/ConsoleMessage.cpp \
-        Source/WebCore/inspector/ConsoleMessage.h \
</del><span class="cx">         Source/WebCore/inspector/DOMEditor.cpp \
</span><span class="cx">         Source/WebCore/inspector/DOMEditor.h \
</span><span class="cx">         Source/WebCore/inspector/DOMPatchSupport.cpp \
</span><span class="cx">         Source/WebCore/inspector/DOMPatchSupport.h \
</span><del>-        Source/WebCore/inspector/IdentifiersFactory.cpp \
-        Source/WebCore/inspector/IdentifiersFactory.h \
</del><span class="cx">         Source/WebCore/inspector/InjectedScriptCanvasModule.cpp \
</span><span class="cx">         Source/WebCore/inspector/InjectedScriptCanvasModule.h \
</span><span class="cx">         Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp \
</span><span class="lines">@@ -3764,8 +3757,6 @@
</span><span class="cx">         Source/WebCore/inspector/InspectorClient.h \
</span><span class="cx">         Source/WebCore/inspector/InspectorController.cpp \
</span><span class="cx">         Source/WebCore/inspector/InspectorController.h \
</span><del>-        Source/WebCore/inspector/InspectorConsoleAgent.cpp \
-        Source/WebCore/inspector/InspectorConsoleAgent.h \
</del><span class="cx">         Source/WebCore/inspector/InspectorConsoleInstrumentation.h \
</span><span class="cx">         Source/WebCore/inspector/InspectorCounters.cpp \
</span><span class="cx">         Source/WebCore/inspector/InspectorCounters.h \
</span><span class="lines">@@ -3838,14 +3829,10 @@
</span><span class="cx">         Source/WebCore/inspector/PageInjectedScriptManager.h \
</span><span class="cx">         Source/WebCore/inspector/PageRuntimeAgent.cpp \
</span><span class="cx">         Source/WebCore/inspector/PageRuntimeAgent.h \
</span><del>-        Source/WebCore/inspector/ScriptArguments.cpp \
-        Source/WebCore/inspector/ScriptArguments.h \
-        Source/WebCore/inspector/ScriptCallFrame.cpp \
-        Source/WebCore/inspector/ScriptCallFrame.h \
-        Source/WebCore/inspector/ScriptCallStack.cpp \
-        Source/WebCore/inspector/ScriptCallStack.h \
</del><span class="cx">         Source/WebCore/inspector/TimelineRecordFactory.cpp \
</span><span class="cx">         Source/WebCore/inspector/TimelineRecordFactory.h \
</span><ins>+        Source/WebCore/inspector/WebConsoleAgent.cpp \
+        Source/WebCore/inspector/WebConsoleAgent.h \
</ins><span class="cx">         Source/WebCore/inspector/WebDebuggerAgent.cpp \
</span><span class="cx">         Source/WebCore/inspector/WebDebuggerAgent.h \
</span><span class="cx">         Source/WebCore/inspector/WorkerConsoleAgent.cpp \
</span><span class="lines">@@ -4054,7 +4041,6 @@
</span><span class="cx">         Source/WebCore/page/ChromeClient.h \
</span><span class="cx">         Source/WebCore/page/Console.cpp \
</span><span class="cx">         Source/WebCore/page/Console.h \
</span><del>-        Source/WebCore/page/ConsoleTypes.h \
</del><span class="cx">         Source/WebCore/page/ContentSecurityPolicy.cpp \
</span><span class="cx">         Source/WebCore/page/ContentSecurityPolicy.h \
</span><span class="cx">         Source/WebCore/page/ContextMenuClient.h \
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBCursorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBCursor.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -37,8 +37,8 @@
</span><span class="cx"> #include &quot;IDBRequest.h&quot;
</span><span class="cx"> #include &quot;IDBTransaction.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;limits&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBDatabasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -44,9 +44,9 @@
</span><span class="cx"> #include &quot;IDBTransaction.h&quot;
</span><span class="cx"> #include &quot;IDBVersionChangeEvent.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &lt;atomic&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;limits&gt;
</span><span class="cx"> #include &lt;wtf/Atomics.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesindexeddbIDBTransactioncpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -39,7 +39,6 @@
</span><span class="cx"> #include &quot;IDBOpenDBRequest.h&quot;
</span><span class="cx"> #include &quot;IDBPendingTransactionMonitor.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreModulesquotaDOMWindowQuotacpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/quota/DOMWindowQuota.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/quota/DOMWindowQuota.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/quota/DOMWindowQuota.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> StorageInfo* DOMWindowQuota::webkitStorageInfo() const
</span><span class="cx"> {
</span><span class="cx">     if (!m_storageInfo &amp;&amp; frame()) {
</span><del>-        frame()-&gt;document()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;window.webkitStorageInfo is deprecated. Use navigator.webkitTemporaryStorage or navigator.webkitPersistentStorage instead.&quot;);
</del><ins>+        frame()-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;window.webkitStorageInfo is deprecated. Use navigator.webkitTemporaryStorage or navigator.webkitPersistentStorage instead.&quot;));
</ins><span class="cx">         m_storageInfo = StorageInfo::create();
</span><span class="cx">     }
</span><span class="cx">     return m_storageInfo.get();
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioBufferSourceNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -32,10 +32,10 @@
</span><span class="cx"> #include &quot;AudioNodeOutput.h&quot;
</span><span class="cx"> #include &quot;AudioUtilities.h&quot;
</span><span class="cx"> #include &quot;FloatConversion.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &lt;algorithm&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/MainThread.h&gt;
</span><span class="cx"> #include &lt;wtf/MathExtras.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="lines">@@ -460,7 +460,7 @@
</span><span class="cx"> {
</span><span class="cx">     static bool firstTime = true;
</span><span class="cx">     if (firstTime &amp;&amp; context() &amp;&amp; context()-&gt;scriptExecutionContext()) {
</span><del>-        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;AudioBufferSourceNode 'looping' attribute is deprecated.  Use 'loop' instead.&quot;);
</del><ins>+        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;AudioBufferSourceNode 'looping' attribute is deprecated.  Use 'loop' instead.&quot;));
</ins><span class="cx">         firstTime = false;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -471,7 +471,7 @@
</span><span class="cx"> {
</span><span class="cx">     static bool firstTime = true;
</span><span class="cx">     if (firstTime &amp;&amp; context() &amp;&amp; context()-&gt;scriptExecutionContext()) {
</span><del>-        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;AudioBufferSourceNode 'looping' attribute is deprecated.  Use 'loop' instead.&quot;);
</del><ins>+        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;AudioBufferSourceNode 'looping' attribute is deprecated.  Use 'loop' instead.&quot;));
</ins><span class="cx">         firstTime = false;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/webaudio/AudioContext.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;PannerNode.h&quot;
</span><span class="cx"> #include &quot;PeriodicWave.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptProcessorNode.h&quot;
</span><span class="cx"> #include &quot;WaveShaperNode.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioPannerNodecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/webaudio/PannerNode.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -205,7 +205,7 @@
</span><span class="cx">         break;
</span><span class="cx">     case SOUNDFIELD:
</span><span class="cx">         // FIXME: Implement sound field model. See // https://bugs.webkit.org/show_bug.cgi?id=77367.
</span><del>-        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;'soundfield' panning model not implemented.&quot;);
</del><ins>+        context()-&gt;scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;'soundfield' panning model not implemented.&quot;));
</ins><span class="cx">         break;
</span><span class="cx">     default:
</span><span class="cx">         return false;
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseBase.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseBase.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseBase.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -46,7 +46,7 @@
</span><span class="cx"> 
</span><span class="cx"> void DatabaseBase::logErrorMessage(const String&amp; message)
</span><span class="cx"> {
</span><del>-    m_scriptExecutionContext-&gt;addConsoleMessage(StorageMessageSource, ErrorMessageLevel, message);
</del><ins>+    m_scriptExecutionContext-&gt;addConsoleMessage(MessageSource::Storage, MessageLevel::Error, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebdatabaseDatabaseManagercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -467,7 +467,7 @@
</span><span class="cx"> 
</span><span class="cx"> void DatabaseManager::logErrorMessage(ScriptExecutionContext* context, const String&amp; message)
</span><span class="cx"> {
</span><del>-    context-&gt;addConsoleMessage(StorageMessageSource, ErrorMessageLevel, message);
</del><ins>+    context-&gt;addConsoleMessage(MessageSource::Storage, MessageLevel::Error, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebsocketsWebSocketcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/websockets/WebSocket.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/websockets/WebSocket.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/websockets/WebSocket.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -48,12 +48,12 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><span class="cx"> #include &quot;MessageEvent.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;ThreadableWebSocketChannel.h&quot;
</span><span class="cx"> #include &quot;WebSocketChannel.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;runtime/ArrayBuffer.h&gt;
</span><span class="cx"> #include &lt;runtime/ArrayBufferView.h&gt;
</span><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="lines">@@ -214,26 +214,26 @@
</span><span class="cx">     m_url = URL(URL(), url);
</span><span class="cx"> 
</span><span class="cx">     if (!m_url.isValid()) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Invalid url for WebSocket &quot; + m_url.stringCenterEllipsizedToLength());
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;Invalid url for WebSocket &quot; + m_url.stringCenterEllipsizedToLength());
</ins><span class="cx">         m_state = CLOSED;
</span><span class="cx">         ec = SYNTAX_ERR;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (!m_url.protocolIs(&quot;ws&quot;) &amp;&amp; !m_url.protocolIs(&quot;wss&quot;)) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Wrong url scheme for WebSocket &quot; + m_url.stringCenterEllipsizedToLength());
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;Wrong url scheme for WebSocket &quot; + m_url.stringCenterEllipsizedToLength());
</ins><span class="cx">         m_state = CLOSED;
</span><span class="cx">         ec = SYNTAX_ERR;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     if (m_url.hasFragmentIdentifier()) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;URL has fragment component &quot; + m_url.stringCenterEllipsizedToLength());
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;URL has fragment component &quot; + m_url.stringCenterEllipsizedToLength());
</ins><span class="cx">         m_state = CLOSED;
</span><span class="cx">         ec = SYNTAX_ERR;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx">     if (!portAllowed(m_url)) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;WebSocket port &quot; + String::number(m_url.port()) + &quot; blocked&quot;);
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;WebSocket port &quot; + String::number(m_url.port()) + &quot; blocked&quot;);
</ins><span class="cx">         m_state = CLOSED;
</span><span class="cx">         ec = SECURITY_ERR;
</span><span class="cx">         return;
</span><span class="lines">@@ -264,7 +264,7 @@
</span><span class="cx">     // comply with WebSocket API specification, but it seems to be the only reasonable way to handle this conflict.
</span><span class="cx">     for (size_t i = 0; i &lt; protocols.size(); ++i) {
</span><span class="cx">         if (!isValidProtocolString(protocols[i])) {
</span><del>-            scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Wrong protocol for WebSocket '&quot; + encodeProtocolString(protocols[i]) + &quot;'&quot;);
</del><ins>+            scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;Wrong protocol for WebSocket '&quot; + encodeProtocolString(protocols[i]) + &quot;'&quot;);
</ins><span class="cx">             m_state = CLOSED;
</span><span class="cx">             ec = SYNTAX_ERR;
</span><span class="cx">             return;
</span><span class="lines">@@ -273,7 +273,7 @@
</span><span class="cx">     HashSet&lt;String&gt; visited;
</span><span class="cx">     for (size_t i = 0; i &lt; protocols.size(); ++i) {
</span><span class="cx">         if (!visited.add(protocols[i]).isNewEntry) {
</span><del>-            scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;WebSocket protocols contain duplicates: '&quot; + encodeProtocolString(protocols[i]) + &quot;'&quot;);
</del><ins>+            scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;WebSocket protocols contain duplicates: '&quot; + encodeProtocolString(protocols[i]) + &quot;'&quot;);
</ins><span class="cx">             m_state = CLOSED;
</span><span class="cx">             ec = SYNTAX_ERR;
</span><span class="cx">             return;
</span><span class="lines">@@ -305,7 +305,7 @@
</span><span class="cx">     ASSERT(m_channel);
</span><span class="cx">     ThreadableWebSocketChannel::SendResult result = m_channel-&gt;send(message);
</span><span class="cx">     if (result == ThreadableWebSocketChannel::InvalidMessage) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Websocket message contains invalid character(s).&quot;);
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Websocket message contains invalid character(s).&quot;));
</ins><span class="cx">         ec = SYNTAX_ERR;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -378,7 +378,7 @@
</span><span class="cx">         }
</span><span class="cx">         CString utf8 = reason.utf8(StrictConversionReplacingUnpairedSurrogatesWithFFFD);
</span><span class="cx">         if (utf8.length() &gt; maxReasonSizeInBytes) {
</span><del>-            scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;WebSocket close message is too long.&quot;);
</del><ins>+            scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;WebSocket close message is too long.&quot;));
</ins><span class="cx">             ec = SYNTAX_ERR;
</span><span class="cx">             return;
</span><span class="cx">         }
</span><span class="lines">@@ -443,7 +443,7 @@
</span><span class="cx">         m_binaryType = BinaryTypeArrayBuffer;
</span><span class="cx">         return;
</span><span class="cx">     }
</span><del>-    scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;'&quot; + binaryType + &quot;' is not a valid value for binaryType; binaryType remains unchanged.&quot;);
</del><ins>+    scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;'&quot; + binaryType + &quot;' is not a valid value for binaryType; binaryType remains unchanged.&quot;);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> EventTargetInterface WebSocket::eventTargetInterface() const
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebsocketsWebSocketChannelcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/websockets/WebSocketChannel.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/websockets/WebSocketChannel.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/websockets/WebSocketChannel.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -48,14 +48,12 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;ProgressTracker.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;SocketStreamError.h&quot;
</span><span class="cx"> #include &quot;SocketStreamHandle.h&quot;
</span><span class="cx"> #include &quot;WebSocketChannelClient.h&quot;
</span><span class="cx"> #include &quot;WebSocketHandshake.h&quot;
</span><del>-
</del><span class="cx"> #include &lt;runtime/ArrayBuffer.h&gt;
</span><span class="cx"> #include &lt;wtf/Deque.h&gt;
</span><span class="cx"> #include &lt;wtf/FastMalloc.h&gt;
</span><span class="lines">@@ -198,7 +196,7 @@
</span><span class="cx">     ASSERT(!m_suspended);
</span><span class="cx">     if (m_document) {
</span><span class="cx">         InspectorInstrumentation::didReceiveWebSocketFrameError(m_document, m_identifier, reason);
</span><del>-        m_document-&gt;addConsoleMessage(NetworkMessageSource, ErrorMessageLevel, &quot;WebSocket connection to '&quot; + m_handshake-&gt;url().stringCenterEllipsizedToLength() + &quot;' failed: &quot; + reason);
</del><ins>+        m_document-&gt;addConsoleMessage(MessageSource::Network, MessageLevel::Error, &quot;WebSocket connection to '&quot; + m_handshake-&gt;url().stringCenterEllipsizedToLength() + &quot;' failed: &quot; + reason);
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // Hybi-10 specification explicitly states we must not continue to handle incoming data
</span><span class="lines">@@ -335,7 +333,7 @@
</span><span class="cx">         else
</span><span class="cx">             message = &quot;WebSocket network error: &quot; + error.localizedDescription();
</span><span class="cx">         InspectorInstrumentation::didReceiveWebSocketFrameError(m_document, m_identifier, message);
</span><del>-        m_document-&gt;addConsoleMessage(NetworkMessageSource, ErrorMessageLevel, message);
</del><ins>+        m_document-&gt;addConsoleMessage(MessageSource::Network, MessageLevel::Error, message);
</ins><span class="cx">     }
</span><span class="cx">     m_shouldDiscardReceivedData = true;
</span><span class="cx">     handle-&gt;disconnect();
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebsocketsWebSocketHandshakecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/websockets/WebSocketHandshake.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/websockets/WebSocketHandshake.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/Modules/websockets/WebSocketHandshake.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx"> #include &quot;URL.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &lt;wtf/CryptographicallyRandomNumber.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreUseJSCcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/UseJSC.cmake (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/UseJSC.cmake        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/UseJSC.cmake        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -159,7 +159,6 @@
</span><span class="cx">     bindings/js/PageScriptDebugServer.cpp
</span><span class="cx">     bindings/js/ScheduledAction.cpp
</span><span class="cx">     bindings/js/ScriptCachedFrameData.cpp
</span><del>-    bindings/js/ScriptCallStackFactory.cpp
</del><span class="cx">     bindings/js/ScriptController.cpp
</span><span class="cx">     bindings/js/ScriptGlobalObject.cpp
</span><span class="cx">     bindings/js/ScriptProfile.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCoreexpin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.exp.in (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.exp.in        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/WebCore.exp.in        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -2791,7 +2791,6 @@
</span><span class="cx"> __ZN7WebCore19InspectorController39setResourcesDataSizeLimitsFromInternalsEii
</span><span class="cx"> __ZN7WebCore19InspectorController4showEv
</span><span class="cx"> __ZN7WebCore19InspectorController5closeEv
</span><del>-__ZN7WebCore21InspectorConsoleAgent28consoleMessageArgumentCountsEv
</del><span class="cx"> __ZN7WebCore22instrumentationForPageEPNS_4PageE
</span><span class="cx"> __ZN7WebCore24InspectorInstrumentation17s_frontendCounterE
</span><span class="cx"> __ZN7WebCore24InspectorInstrumentation26instrumentingAgentsForPageEPNS_4PageE
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -17189,20 +17189,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\bindings\js\ScriptCallStackFactory.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='DebugSuffix|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\ScriptController.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17479,14 +17465,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ConsoleMessage.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\DOMEditor.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17503,14 +17481,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\IdentifiersFactory.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InjectedScriptCanvasModule.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17551,14 +17521,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\InspectorConsoleAgent.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InspectorController.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17831,7 +17793,7 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptArguments.cpp&quot;&gt;
</del><ins>+    &lt;ClCompile Include=&quot;..\inspector\TimelineRecordFactory.cpp&quot;&gt;
</ins><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17839,7 +17801,7 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptCallFrame.cpp&quot;&gt;
</del><ins>+    &lt;ClCompile Include=&quot;..\inspector\WebConsoleAgent.cpp&quot;&gt;
</ins><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -17847,22 +17809,6 @@
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptCallStack.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
-    &lt;ClCompile Include=&quot;..\inspector\TimelineRecordFactory.cpp&quot;&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-      &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\WebDebuggerAgent.cpp&quot;&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="cx">       &lt;ExcludedFromBuild Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot;&gt;true&lt;/ExcludedFromBuild&gt;
</span><span class="lines">@@ -18468,6 +18414,9 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\heap\SlotVisitor.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\heap\StrongInlines.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\heap\Weak.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ConsoleMessage.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ConsoleTypes.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\IdentifiersFactory.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InjectedScript.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InjectedScriptBase.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InjectedScriptHost.h&quot; /&gt;
</span><span class="lines">@@ -18483,7 +18432,14 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InspectorJSTypeBuilders.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InspectorTypeBuilder.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InspectorValues.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptArguments.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptBreakpoint.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallFrame.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallStack.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallStackFactory.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorAgent.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorConsoleAgent.h&quot; /&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorDebuggerAgent.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorRuntimeAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\masm\X86Assembler.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\parser\SourceCode.h&quot; /&gt;
</span><span class="lines">@@ -18737,7 +18693,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\ChromeClient.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\animation\CompositeAnimation.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\Console.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\page\ConsoleTypes.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\page\ContentSecurityPolicy.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\ContextMenuClient.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\ContextMenuController.h&quot; /&gt;
</span><span class="lines">@@ -20513,7 +20468,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\PageScriptDebugServer.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScheduledAction.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptCachedFrameData.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\bindings\js\ScriptCallStackFactory.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptController.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptHeapSnapshot.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptGlobalObject.h&quot; /&gt;
</span><span class="lines">@@ -20817,19 +20771,15 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bridge\runtime_method.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bridge\runtime_object.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bridge\runtime_root.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ConsoleAPITypes.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\CommandLineAPIHost.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\CommandLineAPIModule.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ConsoleMessage.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\DOMEditor.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\DOMPatchSupport.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\IdentifiersFactory.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InjectedScriptCanvasModule.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorApplicationCacheAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorCanvasAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorCanvasInstrumentation.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorClient.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\InspectorConsoleAgent.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorConsoleInstrumentation.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorController.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorCounters.h&quot; /&gt;
</span><span class="lines">@@ -20870,10 +20820,8 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\PageInjectedScriptHost.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\PageInjectedScriptManager.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\PageRuntimeAgent.h&quot; /&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ScriptArguments.h&quot; /&gt;
-    &lt;ClInclude Include=&quot;..\inspector\ScriptCallFrame.h&quot; /&gt;
-    &lt;ClInclude Include=&quot;..\inspector\ScriptCallStack.h&quot; /&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\TimelineRecordFactory.h&quot; /&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\inspector\WebConsoleAgent.h&quot; /&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\WebDebuggerAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\WorkerConsoleAgent.h&quot; /&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\WorkerDebuggerAgent.h&quot; /&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCorevcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -4494,9 +4494,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\ScriptCachedFrameData.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\bindings\js\ScriptCallStackFactory.cpp&quot;&gt;
-      &lt;Filter&gt;bindings\js&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\bindings\js\ScriptController.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -4725,18 +4722,12 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\CommandLineAPIModule.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ConsoleMessage.cpp&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\DOMEditor.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\DOMPatchSupport.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\IdentifiersFactory.cpp&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InjectedScriptCanvasModule.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -4752,9 +4743,6 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InspectorClient.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\InspectorConsoleAgent.cpp&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\InspectorController.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -4854,18 +4842,12 @@
</span><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\PageRuntimeAgent.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptArguments.cpp&quot;&gt;
</del><ins>+    &lt;ClCompile Include=&quot;..\inspector\TimelineRecordFactory.cpp&quot;&gt;
</ins><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptCallFrame.cpp&quot;&gt;
</del><ins>+    &lt;ClCompile Include=&quot;..\inspector\WebConsoleAgent.cpp&quot;&gt;
</ins><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><del>-    &lt;ClCompile Include=&quot;..\inspector\ScriptCallStack.cpp&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
-    &lt;ClCompile Include=&quot;..\inspector\TimelineRecordFactory.cpp&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClCompile&gt;
</del><span class="cx">     &lt;ClCompile Include=&quot;..\inspector\WebDebuggerAgent.cpp&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClCompile&gt;
</span><span class="lines">@@ -7490,9 +7472,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\page\Console.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;page&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\page\ConsoleTypes.h&quot;&gt;
-      &lt;Filter&gt;page&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\page\ContentSecurityPolicy.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;page&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -11351,9 +11330,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptCachedFrameData.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\bindings\js\ScriptCallStackFactory.h&quot;&gt;
-      &lt;Filter&gt;bindings\js&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\bindings\js\ScriptController.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;bindings\js&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12089,6 +12065,15 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\heap\Strong.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;ForwardingHeaders\heap&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ConsoleMessage.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ConsoleTypes.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\IdentifiersFactory.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InjectedScript.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12134,9 +12119,30 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\InspectorValues.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptArguments.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptBreakpoint.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallFrame.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallStack.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\ScriptCallStackFactory.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorAgent.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><ins>+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorConsoleAgent.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
+    &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorDebuggerAgent.h&quot;&gt;
+      &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
+    &lt;/ClInclude&gt;
</ins><span class="cx">     &lt;ClInclude Include=&quot;..\ForwardingHeaders\inspector\agents\InspectorRuntimeAgent.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;ForwardingHeaders\inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12254,21 +12260,12 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\CommandLineAPIModule.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ConsoleAPITypes.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
-    &lt;ClInclude Include=&quot;..\inspector\ConsoleMessage.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\DOMEditor.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\DOMPatchSupport.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\IdentifiersFactory.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InjectedScriptCanvasModule.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12284,9 +12281,6 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorClient.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\InspectorConsoleAgent.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\InspectorConsoleInstrumentation.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><span class="lines">@@ -12407,18 +12401,12 @@
</span><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\PageRuntimeAgent.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ScriptArguments.h&quot;&gt;
</del><ins>+    &lt;ClInclude Include=&quot;..\inspector\TimelineRecordFactory.h&quot;&gt;
</ins><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ScriptCallFrame.h&quot;&gt;
</del><ins>+    &lt;ClInclude Include=&quot;..\inspector\WebConsoleAgent.h&quot;&gt;
</ins><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span><del>-    &lt;ClInclude Include=&quot;..\inspector\ScriptCallStack.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
-    &lt;ClInclude Include=&quot;..\inspector\TimelineRecordFactory.h&quot;&gt;
-      &lt;Filter&gt;inspector&lt;/Filter&gt;
-    &lt;/ClInclude&gt;
</del><span class="cx">     &lt;ClInclude Include=&quot;..\inspector\WebDebuggerAgent.h&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;inspector&lt;/Filter&gt;
</span><span class="cx">     &lt;/ClInclude&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1059,7 +1059,6 @@
</span><span class="cx">                 2D9F0E1314FF1CBF00BA0FF7 /* linearSRGB.icc in Resources */ = {isa = PBXBuildFile; fileRef = 2D9F0E1214FF1CBF00BA0FF7 /* linearSRGB.icc */; };
</span><span class="cx">                 2DBADE0B188E5915004D7981 /* WebCoreCALayerExtras.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DBADE09188E5915004D7981 /* WebCoreCALayerExtras.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 2DBADE0C188E5915004D7981 /* WebCoreCALayerExtras.mm in Sources */ = {isa = PBXBuildFile; fileRef = 2DBADE0A188E5915004D7981 /* WebCoreCALayerExtras.mm */; };
</span><del>-                2DF2E9D5166E39750035BEF2 /* ConsoleAPITypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DF2E9D4166E39740035BEF2 /* ConsoleAPITypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 2E0888D41148848A00AF4265 /* JSDOMFormData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E0888D21148848A00AF4265 /* JSDOMFormData.cpp */; };
</span><span class="cx">                 2E0888D51148848A00AF4265 /* JSDOMFormData.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E0888D31148848A00AF4265 /* JSDOMFormData.h */; };
</span><span class="cx">                 2E0888E6114884E200AF4265 /* JSDOMFormDataCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 2E0888E5114884E200AF4265 /* JSDOMFormDataCustom.cpp */; };
</span><span class="lines">@@ -1341,10 +1340,6 @@
</span><span class="cx">                 4167EBF5102962BA003D252A /* DefaultSharedWorkerRepository.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4167EBF3102962BA003D252A /* DefaultSharedWorkerRepository.cpp */; };
</span><span class="cx">                 4167EBF6102962BA003D252A /* DefaultSharedWorkerRepository.h in Headers */ = {isa = PBXBuildFile; fileRef = 4167EBF4102962BA003D252A /* DefaultSharedWorkerRepository.h */; };
</span><span class="cx">                 416E29A6102FA962007FC14E /* WorkerReportingProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = 416E29A5102FA962007FC14E /* WorkerReportingProxy.h */; };
</span><del>-                416E75BE0EDF8FD700360E1D /* ScriptCallStack.h in Headers */ = {isa = PBXBuildFile; fileRef = 416E75BC0EDF8FD700360E1D /* ScriptCallStack.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                416E75BF0EDF8FD700360E1D /* ScriptCallStack.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 416E75BD0EDF8FD700360E1D /* ScriptCallStack.cpp */; };
-                416E75CB0EDF90C700360E1D /* ScriptCallFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = 416E75C90EDF90C700360E1D /* ScriptCallFrame.h */; settings = {ATTRIBUTES = (Private, ); }; };
-                416E75CC0EDF90C700360E1D /* ScriptCallFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 416E75CA0EDF90C700360E1D /* ScriptCallFrame.cpp */; };
</del><span class="cx">                 417253AA1354BBBC00360F2A /* MediaControlElements.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 417253A81354BBBC00360F2A /* MediaControlElements.cpp */; };
</span><span class="cx">                 417253AB1354BBBC00360F2A /* MediaControlElements.h in Headers */ = {isa = PBXBuildFile; fileRef = 417253A91354BBBC00360F2A /* MediaControlElements.h */; };
</span><span class="cx">                 417DA6D913734E6E007C57FB /* Internals.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 417DA4CF13734326007C57FB /* Internals.cpp */; };
</span><span class="lines">@@ -1384,8 +1379,6 @@
</span><span class="cx">                 41E1B1D10FF5986900576B3B /* AbstractWorker.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E1B1CB0FF5986900576B3B /* AbstractWorker.h */; };
</span><span class="cx">                 41E1B1D30FF5986900576B3B /* SharedWorker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41E1B1CD0FF5986900576B3B /* SharedWorker.cpp */; };
</span><span class="cx">                 41E1B1D40FF5986900576B3B /* SharedWorker.h in Headers */ = {isa = PBXBuildFile; fileRef = 41E1B1CE0FF5986900576B3B /* SharedWorker.h */; };
</span><del>-                41F0618E0F5F069800A07EAC /* ConsoleMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 41F0618C0F5F069800A07EAC /* ConsoleMessage.h */; };
-                41F0618F0F5F069800A07EAC /* ConsoleMessage.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41F0618D0F5F069800A07EAC /* ConsoleMessage.cpp */; };
</del><span class="cx">                 41F062140F5F192600A07EAC /* InspectorDatabaseResource.h in Headers */ = {isa = PBXBuildFile; fileRef = 41F062120F5F192600A07EAC /* InspectorDatabaseResource.h */; };
</span><span class="cx">                 41F062150F5F192600A07EAC /* InspectorDatabaseResource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 41F062130F5F192600A07EAC /* InspectorDatabaseResource.cpp */; };
</span><span class="cx">                 41F066E40F64BCF600A07EAC /* ScriptGlobalObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 41F066E20F64BCF600A07EAC /* ScriptGlobalObject.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -1988,8 +1981,6 @@
</span><span class="cx">                 5905ADC01302F3CE00F116DF /* XMLTreeViewer.h in Headers */ = {isa = PBXBuildFile; fileRef = 5905ADBE1302F3CE00F116DF /* XMLTreeViewer.h */; };
</span><span class="cx">                 590E1B4911E4EF4B0069F784 /* DeviceOrientationData.h in Headers */ = {isa = PBXBuildFile; fileRef = 590E1B4811E4EF4B0069F784 /* DeviceOrientationData.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 590E1B4B11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 590E1B4A11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp */; };
</span><del>-                5913A24113D49EBA00F5B05C /* IdentifiersFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5913A23F13D49EBA00F5B05C /* IdentifiersFactory.cpp */; };
-                5913A24213D49EBA00F5B05C /* IdentifiersFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 5913A24013D49EBA00F5B05C /* IdentifiersFactory.h */; };
</del><span class="cx">                 59309A1111F4AE5800250603 /* DeviceOrientationClientMock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 59309A1011F4AE5800250603 /* DeviceOrientationClientMock.cpp */; };
</span><span class="cx">                 59309A1311F4AE6A00250603 /* DeviceOrientationClientMock.h in Headers */ = {isa = PBXBuildFile; fileRef = 59309A1211F4AE6A00250603 /* DeviceOrientationClientMock.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 598365DD1355F557001B185D /* JSPositionCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = 598365DC1355F53C001B185D /* JSPositionCallback.h */; };
</span><span class="lines">@@ -3634,6 +3625,8 @@
</span><span class="cx">                 A5416FE618810EF80009FC5F /* YouTubeEmbedShadowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = A5416FE418810EF80009FC5F /* YouTubeEmbedShadowElement.h */; };
</span><span class="cx">                 A54A82EC15228D2F00C72BA6 /* DOMNodePrivate.h in Headers */ = {isa = PBXBuildFile; fileRef = A54A82EA15228CA300C72BA6 /* DOMNodePrivate.h */; };
</span><span class="cx">                 A54A82F115228DF600C72BA6 /* DOMNodePrivate.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = A54A82EA15228CA300C72BA6 /* DOMNodePrivate.h */; };
</span><ins>+                A56C5B9A189F34570082D13C /* WebConsoleAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A56C5B98189F34570082D13C /* WebConsoleAgent.cpp */; };
+                A56C5B9B189F34570082D13C /* WebConsoleAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = A56C5B99189F34570082D13C /* WebConsoleAgent.h */; };
</ins><span class="cx">                 A5732B0A136A161D005C8D7C /* DateComponents.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5732B08136A161D005C8D7C /* DateComponents.cpp */; };
</span><span class="cx">                 A5732B0B136A161D005C8D7C /* DateComponents.h in Headers */ = {isa = PBXBuildFile; fileRef = A5732B09136A161D005C8D7C /* DateComponents.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 A5840E1C187B74D500843B10 /* InspectorInstrumentationCookie.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A5840E1A187B74D500843B10 /* InspectorInstrumentationCookie.cpp */; };
</span><span class="lines">@@ -5241,7 +5234,6 @@
</span><span class="cx">                 BCE4413312F748E2009B84B8 /* RenderCombineText.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCE4413112F748E2009B84B8 /* RenderCombineText.cpp */; };
</span><span class="cx">                 BCE4413412F748E2009B84B8 /* RenderCombineText.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE4413212F748E2009B84B8 /* RenderCombineText.h */; };
</span><span class="cx">                 BCE4413612F7490B009B84B8 /* FontWidthVariant.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE4413512F7490B009B84B8 /* FontWidthVariant.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                BCE5644E137A34D6007D2934 /* ConsoleTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE5644D137A34D6007D2934 /* ConsoleTypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
</del><span class="cx">                 BCE658FF0EA9248A007E4533 /* Theme.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE658FE0EA9248A007E4533 /* Theme.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 BCE659A90EA927B9007E4533 /* ThemeTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE659A80EA927B9007E4533 /* ThemeTypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 BCE659E60EA92FB2007E4533 /* ThemeMac.h in Headers */ = {isa = PBXBuildFile; fileRef = BCE659E50EA92FB2007E4533 /* ThemeMac.h */; };
</span><span class="lines">@@ -6029,8 +6021,6 @@
</span><span class="cx">                 F293B27E56C112F373FFF27E /* DNSResolveQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C60128060078BB70E367A95 /* DNSResolveQueue.cpp */; };
</span><span class="cx">                 F325A40A14EE36FA007324E2 /* InspectorCounters.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F325A40814EE36FA007324E2 /* InspectorCounters.cpp */; };
</span><span class="cx">                 F325A40B14EE36FA007324E2 /* InspectorCounters.h in Headers */ = {isa = PBXBuildFile; fileRef = F325A40914EE36FA007324E2 /* InspectorCounters.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><del>-                F3335BF812E07DC300D33011 /* InspectorConsoleAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F3335BF612E07DC300D33011 /* InspectorConsoleAgent.cpp */; };
-                F3335BF912E07DC300D33011 /* InspectorConsoleAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = F3335BF712E07DC300D33011 /* InspectorConsoleAgent.h */; };
</del><span class="cx">                 F33F0282120947F200E5743A /* ScriptProfile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F33F0281120947F200E5743A /* ScriptProfile.cpp */; };
</span><span class="cx">                 F344C7141125B82C00F26EEE /* InspectorFrontendClient.h in Headers */ = {isa = PBXBuildFile; fileRef = F344C7121125B82C00F26EEE /* InspectorFrontendClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="cx">                 F344C75311294D9D00F26EEE /* InspectorFrontendClientLocal.h in Headers */ = {isa = PBXBuildFile; fileRef = F344C75211294D9D00F26EEE /* InspectorFrontendClientLocal.h */; settings = {ATTRIBUTES = (Private, ); }; };
</span><span class="lines">@@ -6057,10 +6047,6 @@
</span><span class="cx">                 F3820897147D35F90010BC06 /* WorkerConsoleAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = F382088F147D35F90010BC06 /* WorkerConsoleAgent.h */; };
</span><span class="cx">                 F3820898147D35F90010BC06 /* WorkerRuntimeAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F3820890147D35F90010BC06 /* WorkerRuntimeAgent.cpp */; };
</span><span class="cx">                 F3820899147D35F90010BC06 /* WorkerRuntimeAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820891147D35F90010BC06 /* WorkerRuntimeAgent.h */; };
</span><del>-                F392249C126F11AE00A926D9 /* ScriptCallStackFactory.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F392249A126F11AE00A926D9 /* ScriptCallStackFactory.cpp */; };
-                F392249D126F11AE00A926D9 /* ScriptCallStackFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = F392249B126F11AE00A926D9 /* ScriptCallStackFactory.h */; };
-                F39BE95B12673BF400E0A674 /* ScriptArguments.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F39BE95912673BF400E0A674 /* ScriptArguments.cpp */; };
-                F39BE95C12673BF400E0A674 /* ScriptArguments.h in Headers */ = {isa = PBXBuildFile; fileRef = F39BE95A12673BF400E0A674 /* ScriptArguments.h */; };
</del><span class="cx">                 F3ABFE0C130E9DA000E7F7D1 /* InstrumentingAgents.h in Headers */ = {isa = PBXBuildFile; fileRef = F3ABFE0B130E9DA000E7F7D1 /* InstrumentingAgents.h */; };
</span><span class="cx">                 F3D461481161D53200CA0D09 /* JSErrorHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F3D461461161D53200CA0D09 /* JSErrorHandler.cpp */; };
</span><span class="cx">                 F3D461491161D53200CA0D09 /* JSErrorHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = F3D461471161D53200CA0D09 /* JSErrorHandler.h */; };
</span><span class="lines">@@ -7868,7 +7854,6 @@
</span><span class="cx">                 2D9F0E1214FF1CBF00BA0FF7 /* linearSRGB.icc */ = {isa = PBXFileReference; lastKnownFileType = file; path = linearSRGB.icc; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2DBADE09188E5915004D7981 /* WebCoreCALayerExtras.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreCALayerExtras.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2DBADE0A188E5915004D7981 /* WebCoreCALayerExtras.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCoreCALayerExtras.mm; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                2DF2E9D4166E39740035BEF2 /* ConsoleAPITypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleAPITypes.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 2E0888C3114883A900AF4265 /* DOMFormData.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = DOMFormData.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2E0888D21148848A00AF4265 /* JSDOMFormData.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMFormData.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 2E0888D31148848A00AF4265 /* JSDOMFormData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSDOMFormData.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -8175,10 +8160,6 @@
</span><span class="cx">                 4167EBF3102962BA003D252A /* DefaultSharedWorkerRepository.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DefaultSharedWorkerRepository.cpp; path = workers/DefaultSharedWorkerRepository.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 4167EBF4102962BA003D252A /* DefaultSharedWorkerRepository.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DefaultSharedWorkerRepository.h; path = workers/DefaultSharedWorkerRepository.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 416E29A5102FA962007FC14E /* WorkerReportingProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WorkerReportingProxy.h; path = workers/WorkerReportingProxy.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                416E75BC0EDF8FD700360E1D /* ScriptCallStack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallStack.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                416E75BD0EDF8FD700360E1D /* ScriptCallStack.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallStack.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                416E75C90EDF90C700360E1D /* ScriptCallFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallFrame.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                416E75CA0EDF90C700360E1D /* ScriptCallFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallFrame.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 417253A81354BBBC00360F2A /* MediaControlElements.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MediaControlElements.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 417253A91354BBBC00360F2A /* MediaControlElements.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaControlElements.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 417DA4CE13734326007C57FB /* Internals.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Internals.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -8224,8 +8205,6 @@
</span><span class="cx">                 41E1B1CD0FF5986900576B3B /* SharedWorker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SharedWorker.cpp; path = workers/SharedWorker.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 41E1B1CE0FF5986900576B3B /* SharedWorker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SharedWorker.h; path = workers/SharedWorker.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 41E1B1CF0FF5986900576B3B /* SharedWorker.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = SharedWorker.idl; path = workers/SharedWorker.idl; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                41F0618C0F5F069800A07EAC /* ConsoleMessage.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleMessage.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                41F0618D0F5F069800A07EAC /* ConsoleMessage.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ConsoleMessage.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 41F062120F5F192600A07EAC /* InspectorDatabaseResource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorDatabaseResource.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 41F062130F5F192600A07EAC /* InspectorDatabaseResource.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorDatabaseResource.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 41F066E20F64BCF600A07EAC /* ScriptGlobalObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptGlobalObject.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -8900,8 +8879,6 @@
</span><span class="cx">                 5905ADBE1302F3CE00F116DF /* XMLTreeViewer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XMLTreeViewer.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 590E1B4811E4EF4B0069F784 /* DeviceOrientationData.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceOrientationData.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 590E1B4A11E4EF700069F784 /* JSDeviceOrientationEventCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSDeviceOrientationEventCustom.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                5913A23F13D49EBA00F5B05C /* IdentifiersFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = IdentifiersFactory.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                5913A24013D49EBA00F5B05C /* IdentifiersFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IdentifiersFactory.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 59309A1011F4AE5800250603 /* DeviceOrientationClientMock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeviceOrientationClientMock.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 59309A1211F4AE6A00250603 /* DeviceOrientationClientMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeviceOrientationClientMock.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 5958F1CB1343917C0080B31F /* XMLViewer.css */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.css; path = XMLViewer.css; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -10602,6 +10579,8 @@
</span><span class="cx">                 A5416FE318810EF80009FC5F /* YouTubeEmbedShadowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = YouTubeEmbedShadowElement.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A5416FE418810EF80009FC5F /* YouTubeEmbedShadowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YouTubeEmbedShadowElement.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A54A82EA15228CA300C72BA6 /* DOMNodePrivate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DOMNodePrivate.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><ins>+                A56C5B98189F34570082D13C /* WebConsoleAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WebConsoleAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
+                A56C5B99189F34570082D13C /* WebConsoleAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebConsoleAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 A5732B08136A161D005C8D7C /* DateComponents.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DateComponents.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A5732B09136A161D005C8D7C /* DateComponents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DateComponents.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 A5840E1A187B74D500843B10 /* InspectorInstrumentationCookie.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorInstrumentationCookie.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -12447,7 +12426,6 @@
</span><span class="cx">                 BCE4413112F748E2009B84B8 /* RenderCombineText.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderCombineText.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCE4413212F748E2009B84B8 /* RenderCombineText.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderCombineText.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCE4413512F7490B009B84B8 /* FontWidthVariant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FontWidthVariant.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                BCE5644D137A34D6007D2934 /* ConsoleTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ConsoleTypes.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 BCE658FE0EA9248A007E4533 /* Theme.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Theme.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCE659A80EA927B9007E4533 /* ThemeTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThemeTypes.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 BCE659E50EA92FB2007E4533 /* ThemeMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThemeMac.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -13349,8 +13327,6 @@
</span><span class="cx">                 F12171F416A8BC63000053CA /* WebVTTElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebVTTElement.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F325A40814EE36FA007324E2 /* InspectorCounters.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorCounters.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F325A40914EE36FA007324E2 /* InspectorCounters.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorCounters.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                F3335BF612E07DC300D33011 /* InspectorConsoleAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorConsoleAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F3335BF712E07DC300D33011 /* InspectorConsoleAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorConsoleAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 F33F0281120947F200E5743A /* ScriptProfile.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptProfile.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F344C7121125B82C00F26EEE /* InspectorFrontendClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorFrontendClient.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F344C75211294D9D00F26EEE /* InspectorFrontendClientLocal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorFrontendClientLocal.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -13377,10 +13353,6 @@
</span><span class="cx">                 F382088F147D35F90010BC06 /* WorkerConsoleAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WorkerConsoleAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F3820890147D35F90010BC06 /* WorkerRuntimeAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = WorkerRuntimeAgent.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F3820891147D35F90010BC06 /* WorkerRuntimeAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WorkerRuntimeAgent.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                F392249A126F11AE00A926D9 /* ScriptCallStackFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptCallStackFactory.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F392249B126F11AE00A926D9 /* ScriptCallStackFactory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptCallStackFactory.h; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F39BE95912673BF400E0A674 /* ScriptArguments.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptArguments.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
-                F39BE95A12673BF400E0A674 /* ScriptArguments.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScriptArguments.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><span class="cx">                 F3ABFE0B130E9DA000E7F7D1 /* InstrumentingAgents.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InstrumentingAgents.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F3D461461161D53200CA0D09 /* JSErrorHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSErrorHandler.cpp; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 F3D461471161D53200CA0D09 /* JSErrorHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSErrorHandler.h; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="lines">@@ -14795,15 +14767,10 @@
</span><span class="cx">                                 A584FE291863870F00843B10 /* CommandLineAPIModule.cpp */,
</span><span class="cx">                                 A584FE2A1863870F00843B10 /* CommandLineAPIModule.h */,
</span><span class="cx">                                 A584FE2718637DCA00843B10 /* CommandLineAPIModuleSource.js */,
</span><del>-                                2DF2E9D4166E39740035BEF2 /* ConsoleAPITypes.h */,
-                                41F0618D0F5F069800A07EAC /* ConsoleMessage.cpp */,
-                                41F0618C0F5F069800A07EAC /* ConsoleMessage.h */,
</del><span class="cx">                                 7AABA25714BC613300AA9A11 /* DOMEditor.cpp */,
</span><span class="cx">                                 7AABA25814BC613300AA9A11 /* DOMEditor.h */,
</span><span class="cx">                                 7A54881614E432A1006AE05A /* DOMPatchSupport.cpp */,
</span><span class="cx">                                 7A54881514E432A1006AE05A /* DOMPatchSupport.h */,
</span><del>-                                5913A23F13D49EBA00F5B05C /* IdentifiersFactory.cpp */,
-                                5913A24013D49EBA00F5B05C /* IdentifiersFactory.h */,
</del><span class="cx">                                 AA73183C159255B900A93E6E /* InjectedScriptCanvasModule.cpp */,
</span><span class="cx">                                 AA73183D159255B900A93E6E /* InjectedScriptCanvasModule.h */,
</span><span class="cx">                                 AA9030FE157E16A000276247 /* InjectedScriptCanvasModuleSource.js */,
</span><span class="lines">@@ -14814,8 +14781,6 @@
</span><span class="cx">                                 AAD766EA157E502F00E85423 /* InspectorCanvasInstrumentation.h */,
</span><span class="cx">                                 7A1F2B51126C61B20006A7E6 /* InspectorClient.cpp */,
</span><span class="cx">                                 1C81B9580E97330800266E07 /* InspectorClient.h */,
</span><del>-                                F3335BF612E07DC300D33011 /* InspectorConsoleAgent.cpp */,
-                                F3335BF712E07DC300D33011 /* InspectorConsoleAgent.h */,
</del><span class="cx">                                 F3F5CF1012ED81A80084C569 /* InspectorConsoleInstrumentation.h */,
</span><span class="cx">                                 1C81B9570E97330800266E07 /* InspectorController.cpp */,
</span><span class="cx">                                 1C81B9560E97330800266E07 /* InspectorController.h */,
</span><span class="lines">@@ -14894,16 +14859,12 @@
</span><span class="cx">                                 A584FE2E1864CB8400843B10 /* PageInjectedScriptManager.h */,
</span><span class="cx">                                 F382088C147D35F90010BC06 /* PageRuntimeAgent.cpp */,
</span><span class="cx">                                 F382088D147D35F90010BC06 /* PageRuntimeAgent.h */,
</span><del>-                                F39BE95912673BF400E0A674 /* ScriptArguments.cpp */,
-                                F39BE95A12673BF400E0A674 /* ScriptArguments.h */,
-                                416E75CA0EDF90C700360E1D /* ScriptCallFrame.cpp */,
-                                416E75C90EDF90C700360E1D /* ScriptCallFrame.h */,
-                                416E75BD0EDF8FD700360E1D /* ScriptCallStack.cpp */,
-                                416E75BC0EDF8FD700360E1D /* ScriptCallStack.h */,
</del><span class="cx">                                 9FA37EEF1172FD4100C4CD55 /* ScriptProfile.idl */,
</span><span class="cx">                                 9FA37EF01172FD4100C4CD55 /* ScriptProfileNode.idl */,
</span><span class="cx">                                 7553CFE7108F473F00EA281E /* TimelineRecordFactory.cpp */,
</span><span class="cx">                                 7553CFE6108F473F00EA281E /* TimelineRecordFactory.h */,
</span><ins>+                                A56C5B98189F34570082D13C /* WebConsoleAgent.cpp */,
+                                A56C5B99189F34570082D13C /* WebConsoleAgent.h */,
</ins><span class="cx">                                 A5E616711894581F009ADF50 /* WebDebuggerAgent.cpp */,
</span><span class="cx">                                 A5E616721894581F009ADF50 /* WebDebuggerAgent.h */,
</span><span class="cx">                                 F382088E147D35F90010BC06 /* WorkerConsoleAgent.cpp */,
</span><span class="lines">@@ -16057,7 +16018,6 @@
</span><span class="cx">                                 BC0B36A10CD3C67C00AC7EB5 /* Console.cpp */,
</span><span class="cx">                                 BC0B36A20CD3C67C00AC7EB5 /* Console.h */,
</span><span class="cx">                                 BC0B36A30CD3C67C00AC7EB5 /* Console.idl */,
</span><del>-                                BCE5644D137A34D6007D2934 /* ConsoleTypes.h */,
</del><span class="cx">                                 97C471D912F925BC0086354B /* ContentSecurityPolicy.cpp */,
</span><span class="cx">                                 97C471DA12F925BD0086354B /* ContentSecurityPolicy.h */,
</span><span class="cx">                                 065AD4F20B0C2EDA005A2B1D /* ContextMenuClient.h */,
</span><span class="lines">@@ -20189,8 +20149,6 @@
</span><span class="cx">                                 BCA378BB0D15F64200B793D6 /* ScheduledAction.h */,
</span><span class="cx">                                 41F1D21E0EF35C2A00DA8753 /* ScriptCachedFrameData.cpp */,
</span><span class="cx">                                 41F1D21D0EF35C2A00DA8753 /* ScriptCachedFrameData.h */,
</span><del>-                                F392249A126F11AE00A926D9 /* ScriptCallStackFactory.cpp */,
-                                F392249B126F11AE00A926D9 /* ScriptCallStackFactory.h */,
</del><span class="cx">                                 93B70D5309EB0C7C009D8468 /* ScriptController.cpp */,
</span><span class="cx">                                 93B70D5409EB0C7C009D8468 /* ScriptController.h */,
</span><span class="cx">                                 A83E1C720E49042B00140B9C /* ScriptControllerMac.mm */,
</span><span class="lines">@@ -22889,10 +22847,7 @@
</span><span class="cx">                                 FD31608F12B026F700C1A359 /* Cone.h in Headers */,
</span><span class="cx">                                 65C97AF308EA908800ACD273 /* config.h in Headers */,
</span><span class="cx">                                 BC0B36A50CD3C67C00AC7EB5 /* Console.h in Headers */,
</span><del>-                                2DF2E9D5166E39750035BEF2 /* ConsoleAPITypes.h in Headers */,
-                                41F0618E0F5F069800A07EAC /* ConsoleMessage.h in Headers */,
</del><span class="cx">                                 073AB4B317F8BACA006E0D6F /* AllVideoCapabilities.h in Headers */,
</span><del>-                                BCE5644E137A34D6007D2934 /* ConsoleTypes.h in Headers */,
</del><span class="cx">                                 A818721C0977D3C0005826D9 /* ContainerNode.h in Headers */,
</span><span class="cx">                                 E1A1470811102B1500EEC0F3 /* ContainerNodeAlgorithms.h in Headers */,
</span><span class="cx">                                 078E091D17D14D1C00420AA1 /* NavigatorUserMediaSuccessCallback.h in Headers */,
</span><span class="lines">@@ -23805,6 +23760,7 @@
</span><span class="cx">                                 93309DE6099E64920056E581 /* HTMLInterchange.h in Headers */,
</span><span class="cx">                                 A81369E4097374F600D74463 /* HTMLKeygenElement.h in Headers */,
</span><span class="cx">                                 A81369E2097374F600D74463 /* HTMLLabelElement.h in Headers */,
</span><ins>+                                A56C5B9B189F34570082D13C /* WebConsoleAgent.h in Headers */,
</ins><span class="cx">                                 A81369E0097374F600D74463 /* HTMLLegendElement.h in Headers */,
</span><span class="cx">                                 A8EA79F60A1916DF00A8EF5F /* HTMLLIElement.h in Headers */,
</span><span class="cx">                                 A871DC200A15205700B12A68 /* HTMLLinkElement.h in Headers */,
</span><span class="lines">@@ -23889,7 +23845,6 @@
</span><span class="cx">                                 078E092117D14D1C00420AA1 /* RTCDTMFToneChangeEvent.h in Headers */,
</span><span class="cx">                                 07277E5117D018CC0015534D /* JSMediaStreamEvent.h in Headers */,
</span><span class="cx">                                 1A71D57C0F33819000F9CE4E /* IdentifierRep.h in Headers */,
</span><del>-                                5913A24213D49EBA00F5B05C /* IdentifiersFactory.h in Headers */,
</del><span class="cx">                                 49E911C50EF86D47009D0CAF /* IdentityTransformOperation.h in Headers */,
</span><span class="cx">                                 E125F856182C0F8300D84CD9 /* CryptoKeySerialization.h in Headers */,
</span><span class="cx">                                 A584FE2618637DAB00843B10 /* CommandLineAPIModuleSource.h in Headers */,
</span><span class="lines">@@ -23942,7 +23897,6 @@
</span><span class="cx">                                 AAD766EC157E502F00E85423 /* InspectorCanvasAgent.h in Headers */,
</span><span class="cx">                                 AAD766ED157E502F00E85423 /* InspectorCanvasInstrumentation.h in Headers */,
</span><span class="cx">                                 1C81B95C0E97330800266E07 /* InspectorClient.h in Headers */,
</span><del>-                                F3335BF912E07DC300D33011 /* InspectorConsoleAgent.h in Headers */,
</del><span class="cx">                                 F3F5CF1112ED81A80084C569 /* InspectorConsoleInstrumentation.h in Headers */,
</span><span class="cx">                                 1C81B95A0E97330800266E07 /* InspectorController.h in Headers */,
</span><span class="cx">                                 F325A40B14EE36FA007324E2 /* InspectorCounters.h in Headers */,
</span><span class="lines">@@ -25130,11 +25084,7 @@
</span><span class="cx">                                 9BD0BF9312A42BF50072FD43 /* ScopedEventQueue.h in Headers */,
</span><span class="cx">                                 BCEC01BE0C274DAC009F4EC9 /* Screen.h in Headers */,
</span><span class="cx">                                 A84D82C111D3474800972990 /* ScriptableDocumentParser.h in Headers */,
</span><del>-                                F39BE95C12673BF400E0A674 /* ScriptArguments.h in Headers */,
</del><span class="cx">                                 41F1D21F0EF35C2A00DA8753 /* ScriptCachedFrameData.h in Headers */,
</span><del>-                                416E75CB0EDF90C700360E1D /* ScriptCallFrame.h in Headers */,
-                                416E75BE0EDF8FD700360E1D /* ScriptCallStack.h in Headers */,
-                                F392249D126F11AE00A926D9 /* ScriptCallStackFactory.h in Headers */,
</del><span class="cx">                                 93B70D7009EB0C7C009D8468 /* ScriptController.h in Headers */,
</span><span class="cx">                                 4998AED213FB224D0090B1AA /* ScriptedAnimationController.h in Headers */,
</span><span class="cx">                                 08A484780E5272C500C3FE76 /* ScriptElement.h in Headers */,
</span><span class="lines">@@ -26498,7 +26448,6 @@
</span><span class="cx">                                 FD31608E12B026F700C1A359 /* Cone.cpp in Sources */,
</span><span class="cx">                                 3146FE6F184420AA001A937C /* OESTextureFloatLinear.cpp in Sources */,
</span><span class="cx">                                 BC0B36A40CD3C67C00AC7EB5 /* Console.cpp in Sources */,
</span><del>-                                41F0618F0F5F069800A07EAC /* ConsoleMessage.cpp in Sources */,
</del><span class="cx">                                 A818721F0977D3C0005826D9 /* ContainerNode.cpp in Sources */,
</span><span class="cx">                                 A7A78CD51532BA62006C21E4 /* ContainerNodeAlgorithms.cpp in Sources */,
</span><span class="cx">                                 BC5EB9800E82072500B25965 /* ContentData.cpp in Sources */,
</span><span class="lines">@@ -27235,7 +27184,6 @@
</span><span class="cx">                                 C585A66211D4FAC5004C3E4B /* IDBBindingUtilities.cpp in Sources */,
</span><span class="cx">                                 1A71D57B0F33819000F9CE4E /* IdentifierRep.cpp in Sources */,
</span><span class="cx">                                 0705853117FDE6D9005F2BCB /* JSMediaTrackConstraint.cpp in Sources */,
</span><del>-                                5913A24113D49EBA00F5B05C /* IdentifiersFactory.cpp in Sources */,
</del><span class="cx">                                 C3CF17A415B0063F00276D39 /* IdTargetObserver.cpp in Sources */,
</span><span class="cx">                                 C3CF17A615B0063F00276D39 /* IdTargetObserverRegistry.cpp in Sources */,
</span><span class="cx">                                 B275356F0B053814002CE64F /* Image.cpp in Sources */,
</span><span class="lines">@@ -27279,7 +27227,6 @@
</span><span class="cx">                                 E1F80B8A183172A2007885C3 /* JSCryptoKeyPairCustom.cpp in Sources */,
</span><span class="cx">                                 AAD766EB157E502F00E85423 /* InspectorCanvasAgent.cpp in Sources */,
</span><span class="cx">                                 7A1F2B52126C61B20006A7E6 /* InspectorClient.cpp in Sources */,
</span><del>-                                F3335BF812E07DC300D33011 /* InspectorConsoleAgent.cpp in Sources */,
</del><span class="cx">                                 1C81B95B0E97330800266E07 /* InspectorController.cpp in Sources */,
</span><span class="cx">                                 F325A40A14EE36FA007324E2 /* InspectorCounters.cpp in Sources */,
</span><span class="cx">                                 82AB1743124B99EC00C5069D /* InspectorCSSAgent.cpp in Sources */,
</span><span class="lines">@@ -28444,11 +28391,7 @@
</span><span class="cx">                                 9BD0BF9412A42BF50072FD43 /* ScopedEventQueue.cpp in Sources */,
</span><span class="cx">                                 BCEC01BD0C274DAC009F4EC9 /* Screen.cpp in Sources */,
</span><span class="cx">                                 A84D82C211D3474800972990 /* ScriptableDocumentParser.cpp in Sources */,
</span><del>-                                F39BE95B12673BF400E0A674 /* ScriptArguments.cpp in Sources */,
</del><span class="cx">                                 41F1D2200EF35C2A00DA8753 /* ScriptCachedFrameData.cpp in Sources */,
</span><del>-                                416E75CC0EDF90C700360E1D /* ScriptCallFrame.cpp in Sources */,
-                                416E75BF0EDF8FD700360E1D /* ScriptCallStack.cpp in Sources */,
-                                F392249C126F11AE00A926D9 /* ScriptCallStackFactory.cpp in Sources */,
</del><span class="cx">                                 93B70D6F09EB0C7C009D8468 /* ScriptController.cpp in Sources */,
</span><span class="cx">                                 A83E1C740E49042C00140B9C /* ScriptControllerMac.mm in Sources */,
</span><span class="cx">                                 4998AED113FB224D0090B1AA /* ScriptedAnimationController.cpp in Sources */,
</span><span class="lines">@@ -28621,6 +28564,7 @@
</span><span class="cx">                                 31A795C81888BCB500382F90 /* ANGLEInstancedArrays.cpp in Sources */,
</span><span class="cx">                                 A5840E24187B8AC200843B10 /* PageInjectedScriptHost.cpp in Sources */,
</span><span class="cx">                                 A8C4A7FE09D563270003AC8D /* StyledElement.cpp in Sources */,
</span><ins>+                                A56C5B9A189F34570082D13C /* WebConsoleAgent.cpp in Sources */,
</ins><span class="cx">                                 BC5EB8B80E8201BD00B25965 /* StyleDeprecatedFlexibleBoxData.cpp in Sources */,
</span><span class="cx">                                 AA4C3A760B2B1679002334A2 /* InlineStyleSheetOwner.cpp in Sources */,
</span><span class="cx">                                 319AE063142D6B24006563A1 /* StyleFilterData.cpp in Sources */,
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSAudioContextCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -73,8 +73,7 @@
</span><span class="cx"> #if ENABLE(LEGACY_WEB_AUDIO)
</span><span class="cx">         // Constructor for offline (render-target) AudioContext which renders into an AudioBuffer.
</span><span class="cx">         // new AudioContext(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
</span><del>-        document.addConsoleMessage(JSMessageSource, WarningMessageLevel,
-            &quot;Deprecated AudioContext constructor: use OfflineAudioContext instead&quot;);
</del><ins>+        document.addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;Deprecated AudioContext constructor: use OfflineAudioContext instead&quot;));
</ins><span class="cx"> 
</span><span class="cx">         if (exec-&gt;argumentCount() &lt; 3)
</span><span class="cx">             return throwVMError(exec, createNotEnoughArgumentsError(exec));
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSBindingsAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -143,7 +143,6 @@
</span><span class="cx"> #include &quot;PageScriptDebugServer.cpp&quot;
</span><span class="cx"> #include &quot;ScheduledAction.cpp&quot;
</span><span class="cx"> #include &quot;ScriptCachedFrameData.cpp&quot;
</span><del>-#include &quot;ScriptCallStackFactory.cpp&quot;
</del><span class="cx"> #include &quot;ScriptController.cpp&quot;
</span><span class="cx"> #include &quot;ScriptProfiler.cpp&quot;
</span><span class="cx"> #include &quot;ScriptState.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSCustomXPathNSResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/JSCustomXPathNSResolver.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -81,7 +81,7 @@
</span><span class="cx">         if (callType == CallTypeNone) {
</span><span class="cx">             // FIXME: &lt;http://webkit.org/b/114312&gt; JSCustomXPathNSResolver::lookupNamespaceURI Console Message should include Line, Column, and SourceURL
</span><span class="cx">             if (PageConsole* console = m_globalObject-&gt;impl().pageConsole())
</span><del>-                console-&gt;addMessage(JSMessageSource, ErrorMessageLevel, &quot;XPathNSResolver does not have a lookupNamespaceURI method.&quot;);
</del><ins>+                console-&gt;addMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;XPathNSResolver does not have a lookupNamespaceURI method.&quot;));
</ins><span class="cx">             return String();
</span><span class="cx">         }
</span><span class="cx">         function = m_customResolver.get();
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSDOMBindingcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSDOMBinding.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,8 +34,8 @@
</span><span class="cx"> #include &quot;JSDOMWindowCustom.h&quot;
</span><span class="cx"> #include &quot;JSExceptionBase.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;interpreter/Interpreter.h&gt;
</span><span class="cx"> #include &lt;runtime/DateInstance.h&gt;
</span><span class="cx"> #include &lt;runtime/Error.h&gt;
</span><span class="lines">@@ -45,6 +45,7 @@
</span><span class="cx"> #include &lt;wtf/MathExtras.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace JSC;
</span><ins>+using namespace Inspector;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSSubtleCryptoCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/JSSubtleCryptoCustom.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -150,7 +150,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!key-&gt;allows(CryptoKeyUsageEncrypt)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'encrypt'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'encrypt'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="lines">@@ -202,7 +202,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!key-&gt;allows(CryptoKeyUsageDecrypt)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'decrypt'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'decrypt'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="lines">@@ -253,7 +253,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!key-&gt;allows(CryptoKeyUsageSign)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'sign'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'sign'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="lines">@@ -304,7 +304,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!key-&gt;allows(CryptoKeyUsageVerify)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'verify'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'verify'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="lines">@@ -639,7 +639,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!wrappingKey-&gt;allows(CryptoKeyUsageWrapKey)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'wrapKey'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'wrapKey'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span><span class="lines">@@ -718,7 +718,7 @@
</span><span class="cx">         return throwTypeError(exec);
</span><span class="cx"> 
</span><span class="cx">     if (!unwrappingKey-&gt;allows(CryptoKeyUsageUnwrapKey)) {
</span><del>-        m_impl-&gt;document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Key usages do not include 'unwrapKey'&quot;);
</del><ins>+        m_impl-&gt;document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Key usages do not include 'unwrapKey'&quot;));
</ins><span class="cx">         setDOMException(exec, NOT_SUPPORTED_ERR);
</span><span class="cx">         return jsUndefined();
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptCallStackFactorycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,209 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- * Copyright (C) 2012 Research In Motion Limited. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
-
-#include &quot;InspectorInstrumentation.h&quot;
-#include &quot;JSDOMBinding.h&quot;
-#include &quot;JSMainThreadExecState.h&quot;
-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallFrame.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-#include &lt;bindings/ScriptValue.h&gt;
-#include &lt;interpreter/CallFrame.h&gt;
-#include &lt;interpreter/CallFrameInlines.h&gt;
-#include &lt;interpreter/StackVisitor.h&gt;
-#include &lt;runtime/ArgList.h&gt;
-#include &lt;runtime/JSCJSValue.h&gt;
-#include &lt;runtime/JSFunction.h&gt;
-#include &lt;runtime/VM.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-using namespace JSC;
-
-namespace WebCore {
-
-class ScriptExecutionContext;
-
-class CreateScriptCallStackFunctor {
-public:
-    CreateScriptCallStackFunctor(Vector&lt;ScriptCallFrame&gt;&amp; frames,  size_t remainingCapacity)
-        : m_frames(frames)
-        , m_remainingCapacityForFrameCapture(remainingCapacity)
-    {
-    }
-
-    StackVisitor::Status operator()(StackVisitor&amp; visitor)
-    {
-        if (m_remainingCapacityForFrameCapture) {
-            unsigned line;
-            unsigned column;
-            visitor-&gt;computeLineAndColumn(line, column);
-            m_frames.append(ScriptCallFrame(visitor-&gt;functionName(), visitor-&gt;sourceURL(), line, column));
-
-            m_remainingCapacityForFrameCapture--;
-            return StackVisitor::Continue;
-        }
-        return StackVisitor::Done;
-    }
-
-private:
-    Vector&lt;ScriptCallFrame&gt;&amp; m_frames;
-    size_t m_remainingCapacityForFrameCapture;
-};
-
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(size_t maxStackSize, bool emptyIsAllowed)
-{
-    Vector&lt;ScriptCallFrame&gt; frames;
-    if (JSC::ExecState* exec = JSMainThreadExecState::currentState()) {
-        CallFrame* frame = exec-&gt;vm().topCallFrame;
-        CreateScriptCallStackFunctor functor(frames, maxStackSize);
-        frame-&gt;iterate(functor);
-    }
-    if (frames.isEmpty() &amp;&amp; !emptyIsAllowed) {
-        // No frames found. It may happen in the case where
-        // a bound function is called from native code for example.
-        // Fallback to setting lineNumber to 0, and source and function name to &quot;undefined&quot;.
-        frames.append(ScriptCallFrame(&quot;undefined&quot;, &quot;undefined&quot;, 0, 0));
-    }
-    return ScriptCallStack::create(frames);
-}
-
-class CreateScriptCallStackForConsoleFunctor {
-public:
-    CreateScriptCallStackForConsoleFunctor(bool needToSkipAFrame,  size_t remainingCapacity, Vector&lt;ScriptCallFrame&gt;&amp; frames)
-        : m_needToSkipAFrame(needToSkipAFrame)
-        , m_remainingCapacityForFrameCapture(remainingCapacity)
-        , m_frames(frames)
-    {
-    }
-
-    StackVisitor::Status operator()(StackVisitor&amp; visitor)
-    {
-        if (m_needToSkipAFrame) {
-            m_needToSkipAFrame = false;
-            return StackVisitor::Continue;
-        }
-
-        if (m_remainingCapacityForFrameCapture) {
-            // This early exit is necessary to maintain our old behaviour
-            // but the stack trace we produce now is complete and handles all
-            // ways in which code may be running
-            if (!visitor-&gt;callee() &amp;&amp; m_frames.size())
-                return StackVisitor::Done;
-
-            unsigned line;
-            unsigned column;
-            visitor-&gt;computeLineAndColumn(line, column);
-            m_frames.append(ScriptCallFrame(visitor-&gt;functionName(), visitor-&gt;sourceURL(), line, column));
-
-            m_remainingCapacityForFrameCapture--;
-            return StackVisitor::Continue;
-        }
-        return StackVisitor::Done;
-    }
-
-private:
-    bool m_needToSkipAFrame;
-    size_t m_remainingCapacityForFrameCapture;
-    Vector&lt;ScriptCallFrame&gt;&amp; m_frames;
-};
-
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState* exec, size_t maxStackSize)
-{
-    Vector&lt;ScriptCallFrame&gt; frames;
-    ASSERT(exec);
-    CallFrame* frame = exec-&gt;vm().topCallFrame;
-    CreateScriptCallStackForConsoleFunctor functor(true, maxStackSize, frames);
-    frame-&gt;iterate(functor);
-    if (frames.isEmpty()) {
-        CreateScriptCallStackForConsoleFunctor functor(false, maxStackSize, frames);
-        frame-&gt;iterate(functor);
-    }
-    return ScriptCallStack::create(frames);
-}
-
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackFromException(JSC::ExecState* exec, JSC::JSValue&amp; exception, size_t maxStackSize)
-{
-    Vector&lt;ScriptCallFrame&gt; frames;
-    RefCountedArray&lt;StackFrame&gt; stackTrace = exec-&gt;vm().exceptionStack();
-    for (size_t i = 0; i &lt; stackTrace.size() &amp;&amp; i &lt; maxStackSize; i++) {
-        if (!stackTrace[i].callee &amp;&amp; frames.size())
-            break;
-
-        String functionName = stackTrace[i].friendlyFunctionName(exec);
-        unsigned line;
-        unsigned column;
-        stackTrace[i].computeLineAndColumn(line, column);
-        frames.append(ScriptCallFrame(functionName, stackTrace[i].sourceURL, line, column));
-    }
-
-    // FIXME: &lt;http://webkit.org/b/115087&gt; Web Inspector: WebCore::reportException should not evaluate JavaScript handling exceptions
-    // Fallback to getting at least the line and sourceURL from the exception if it has values and the exceptionStack doesn't.
-    if (frames.size() &gt; 0) {
-        const ScriptCallFrame&amp; firstCallFrame = frames.first();
-        JSObject* exceptionObject = exception.toObject(exec);
-        if (exception.isObject() &amp;&amp; firstCallFrame.sourceURL().isEmpty()) {
-            JSValue lineValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;line&quot;));
-            int lineNumber = lineValue &amp;&amp; lineValue.isNumber() ? int(lineValue.toNumber(exec)) : 0;
-            JSValue columnValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;column&quot;));
-            int columnNumber = columnValue &amp;&amp; columnValue.isNumber() ? int(columnValue.toNumber(exec)) : 0;
-            JSValue sourceURLValue = exceptionObject-&gt;getDirect(exec-&gt;vm(), Identifier(exec, &quot;sourceURL&quot;));
-            String exceptionSourceURL = sourceURLValue &amp;&amp; sourceURLValue.isString() ? sourceURLValue.toString(exec)-&gt;value(exec) : ASCIILiteral(&quot;undefined&quot;);
-            frames[0] = ScriptCallFrame(firstCallFrame.functionName(), exceptionSourceURL, lineNumber, columnNumber);
-        }
-    }
-
-    return ScriptCallStack::create(frames);
-}
-
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackForConsole(JSC::ExecState* exec)
-{
-    size_t maxStackSize = 1;
-    if (InspectorInstrumentation::hasFrontends()) {
-        ScriptExecutionContext* scriptExecutionContext = jsCast&lt;JSDOMGlobalObject*&gt;(exec-&gt;lexicalGlobalObject())-&gt;scriptExecutionContext();
-        if (InspectorInstrumentation::consoleAgentEnabled(scriptExecutionContext))
-            maxStackSize = ScriptCallStack::maxCallStackSizeToCapture;
-    }
-    return createScriptCallStack(exec, maxStackSize);
-}
-
-PassRefPtr&lt;ScriptArguments&gt; createScriptArguments(JSC::ExecState* exec, unsigned skipArgumentCount)
-{
-    Vector&lt;Deprecated::ScriptValue&gt; arguments;
-    size_t argumentCount = exec-&gt;argumentCount();
-    for (size_t i = skipArgumentCount; i &lt; argumentCount; ++i)
-        arguments.append(Deprecated::ScriptValue(exec-&gt;vm(), exec-&gt;uncheckedArgument(i)));
-    return ScriptArguments::create(exec, arguments);
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptCallStackFactoryh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/ScriptCallStackFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ScriptCallStackFactory_h
-#define ScriptCallStackFactory_h
-
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/RefCountedArray.h&gt;
-
-namespace JSC {
-class ExecState;
-class JSValue;
-struct StackFrame;
-}
-
-namespace WebCore {
-
-class ScriptArguments;
-class ScriptCallStack;
-
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(size_t maxStackSize, bool emptyStackIsAllowed);
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStack(JSC::ExecState*, size_t maxStackSize);
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackFromException(JSC::ExecState*, JSC::JSValue&amp; exception, size_t maxStackSize);
-PassRefPtr&lt;ScriptCallStack&gt; createScriptCallStackForConsole(JSC::ExecState*);
-PassRefPtr&lt;ScriptArguments&gt; createScriptArguments(JSC::ExecState*, unsigned skipArgumentCount);
-
-} // namespace WebCore
-
-#endif // ScriptCallStackFactory_h
</del></span></pre></div>
<a id="trunkSourceWebCorebindingsjsScriptControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/ScriptController.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/ScriptController.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/js/ScriptController.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;PageGroup.h&quot;
</span><span class="cx"> #include &quot;PluginView.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptSourceCode.h&quot;
</span><span class="cx"> #include &quot;ScriptableDocumentParser.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="lines">@@ -50,6 +49,7 @@
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><span class="cx"> #include &lt;debugger/Debugger.h&gt;
</span><span class="cx"> #include &lt;heap/StrongInlines.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;runtime/InitializeThreading.h&gt;
</span><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="cx"> #include &lt;wtf/Threading.h&gt;
</span><span class="lines">@@ -482,7 +482,7 @@
</span><span class="cx">     if (m_frame.document() &amp;&amp; m_frame.document()-&gt;isSandboxed(SandboxScripts)) {
</span><span class="cx">         // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><span class="cx">         if (reason == AboutToExecuteScript)
</span><del>-            m_frame.document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Blocked script execution in '&quot; + m_frame.document()-&gt;url().stringCenterEllipsizedToLength() + &quot;' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.&quot;);
</del><ins>+            m_frame.document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Blocked script execution in '&quot; + m_frame.document()-&gt;url().stringCenterEllipsizedToLength() + &quot;' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.&quot;);
</ins><span class="cx">         return false;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -3059,9 +3059,9 @@
</span><span class="cx">         push(@callWithArgs, &quot;scriptContext&quot;);
</span><span class="cx">     }
</span><span class="cx">     if ($function and $codeGenerator-&gt;ExtendedAttributeContains($callWith, &quot;ScriptArguments&quot;)) {
</span><del>-        push(@$outputArray, &quot;    RefPtr&lt;ScriptArguments&gt; scriptArguments(createScriptArguments(exec, &quot; . @{$function-&gt;parameters} . &quot;));\n&quot;);
-        $implIncludes{&quot;ScriptArguments.h&quot;} = 1;
-        $implIncludes{&quot;ScriptCallStackFactory.h&quot;} = 1;
</del><ins>+        push(@$outputArray, &quot;    RefPtr&lt;Inspector::ScriptArguments&gt; scriptArguments(Inspector::createScriptArguments(exec, &quot; . @{$function-&gt;parameters} . &quot;));\n&quot;);
+        $implIncludes{&quot;&lt;inspector/ScriptArguments.h&gt;&quot;} = 1;
+        $implIncludes{&quot;&lt;inspector/ScriptCallStackFactory.h&gt;&quot;} = 1;
</ins><span class="cx">         push(@callWithArgs, &quot;scriptArguments.release()&quot;);
</span><span class="cx">     }
</span><span class="cx">     return @callWithArgs;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -44,14 +44,14 @@
</span><span class="cx"> #include &quot;SVGDocument.h&quot;
</span><span class="cx"> #include &quot;SVGPoint.h&quot;
</span><span class="cx"> #include &quot;SVGStaticPropertyTearOff.h&quot;
</span><del>-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &quot;SerializedScriptValue.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;TestObj.h&quot;
</span><span class="cx"> #include &quot;URL.h&quot;
</span><span class="cx"> #include &quot;bool.h&quot;
</span><ins>+#include &lt;inspector/ScriptArguments.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;runtime/Error.h&gt;
</span><span class="cx"> #include &lt;runtime/JSArray.h&gt;
</span><span class="cx"> #include &lt;runtime/JSString.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorecssCSSParsercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/CSSParser.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/CSSParser.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/css/CSSParser.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -11476,7 +11476,7 @@
</span><span class="cx"> {
</span><span class="cx">     // FIXME: &lt;http://webkit.org/b/114313&gt; CSS parser console message errors should include column numbers.
</span><span class="cx">     PageConsole&amp; console = m_styleSheet-&gt;singleOwnerDocument()-&gt;page()-&gt;console();
</span><del>-    console.addMessage(CSSMessageSource, WarningMessageLevel, message, m_styleSheet-&gt;baseURL().string(), lineNumber + 1, 0);
</del><ins>+    console.addMessage(MessageSource::CSS, MessageLevel::Warning, message, m_styleSheet-&gt;baseURL().string(), lineNumber + 1, 0);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;StyleRuleKeyframes&gt; CSSParser::createKeyframesRule(const String&amp; name, PassOwnPtr&lt;Vector&lt;RefPtr&lt;StyleKeyframe&gt;&gt;&gt; popKeyframes)
</span></span></pre></div>
<a id="trunkSourceWebCorecssMediaListcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/MediaList.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/MediaList.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/css/MediaList.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -310,7 +310,7 @@
</span><span class="cx"> 
</span><span class="cx">     message.append(serializedExpression);
</span><span class="cx"> 
</span><del>-    document-&gt;addConsoleMessage(CSSMessageSource, DebugMessageLevel, message);
</del><ins>+    document-&gt;addConsoleMessage(MessageSource::CSS, MessageLevel::Debug, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void reportMediaQueryWarningIfNeeded(Document* document, const MediaQuerySet* mediaQuerySet)
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/Document.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -60,9 +60,6 @@
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;FrameLoaderClient.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><del>-#include &quot;HashChangeEvent.h&quot;
-#include &quot;HistogramSupport.h&quot;
-#include &quot;History.h&quot;
</del><span class="cx"> #include &quot;HTMLAllCollection.h&quot;
</span><span class="cx"> #include &quot;HTMLAnchorElement.h&quot;
</span><span class="cx"> #include &quot;HTMLBaseElement.h&quot;
</span><span class="lines">@@ -86,6 +83,9 @@
</span><span class="cx"> #include &quot;HTMLStyleElement.h&quot;
</span><span class="cx"> #include &quot;HTMLTitleElement.h&quot;
</span><span class="cx"> #include &quot;HTTPParsers.h&quot;
</span><ins>+#include &quot;HashChangeEvent.h&quot;
+#include &quot;HistogramSupport.h&quot;
+#include &quot;History.h&quot;
</ins><span class="cx"> #include &quot;HitTestResult.h&quot;
</span><span class="cx"> #include &quot;IconController.h&quot;
</span><span class="cx"> #include &quot;ImageLoader.h&quot;
</span><span class="lines">@@ -126,7 +126,6 @@
</span><span class="cx"> #include &quot;SVGSVGElement.h&quot;
</span><span class="cx"> #include &quot;SchemeRegistry.h&quot;
</span><span class="cx"> #include &quot;ScopedEventQueue.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptRunner.h&quot;
</span><span class="cx"> #include &quot;ScriptSourceCode.h&quot;
</span><span class="lines">@@ -153,6 +152,7 @@
</span><span class="cx"> #include &quot;XPathNSResolver.h&quot;
</span><span class="cx"> #include &quot;XPathResult.h&quot;
</span><span class="cx"> #include &quot;htmlediting.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/TemporaryChange.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringBuffer.h&gt;
</span><span class="lines">@@ -2560,9 +2560,9 @@
</span><span class="cx">     return m_domWindow.get();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void Document::logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt; callStack)
</del><ins>+void Document::logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack)
</ins><span class="cx"> {
</span><del>-    addMessage(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber, columnNumber, callStack);
</del><ins>+    addMessage(MessageSource::JS, MessageLevel::Error, errorMessage, sourceURL, lineNumber, columnNumber, callStack);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Document::setURL(const URL&amp; url)
</span><span class="lines">@@ -2821,7 +2821,7 @@
</span><span class="cx">                 // intent, we must navigate away from the possibly partially-rendered document to a location that
</span><span class="cx">                 // doesn't inherit the parent's SecurityOrigin.
</span><span class="cx">                 frame-&gt;navigationScheduler().scheduleLocationChange(securityOrigin(), SecurityOrigin::urlWithUniqueSecurityOrigin(), String());
</span><del>-                addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message, requestIdentifier);
</del><ins>+                addConsoleMessage(MessageSource::Security, MessageLevel::Error, message, requestIdentifier);
</ins><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">     } else if (equalIgnoringCase(equiv, &quot;content-security-policy&quot;))
</span><span class="lines">@@ -4781,7 +4781,7 @@
</span><span class="cx">         page-&gt;console().addMessage(source, level, message, requestIdentifier, this);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void Document::addMessage(MessageSource source, MessageLevel level, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt; callStack, JSC::ExecState* state, unsigned long requestIdentifier)
</del><ins>+void Document::addMessage(MessageSource source, MessageLevel level, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack, JSC::ExecState* state, unsigned long requestIdentifier)
</ins><span class="cx"> {
</span><span class="cx">     if (!isContextThread()) {
</span><span class="cx">         postTask(AddConsoleMessageTask::create(source, level, message));
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/Document.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1140,7 +1140,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     virtual EventTarget* errorEventTarget() override;
</span><del>-    virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt;) override;
</del><ins>+    virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;) override;
</ins><span class="cx"> 
</span><span class="cx">     void initDNSPrefetch();
</span><span class="cx"> 
</span><span class="lines">@@ -1262,7 +1262,7 @@
</span><span class="cx">     virtual void refScriptExecutionContext() override { ref(); }
</span><span class="cx">     virtual void derefScriptExecutionContext() override { deref(); }
</span><span class="cx"> 
</span><del>-    virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) override;
</del><ins>+    virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) override;
</ins><span class="cx"> 
</span><span class="cx">     virtual double minimumTimerInterval() const override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomScriptElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ScriptElement.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ScriptElement.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/ScriptElement.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -24,9 +24,9 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;ScriptElement.h&quot;
</span><span class="cx"> 
</span><del>-#include &quot;CachedScript.h&quot;
</del><span class="cx"> #include &quot;CachedResourceLoader.h&quot;
</span><span class="cx"> #include &quot;CachedResourceRequest.h&quot;
</span><ins>+#include &quot;CachedScript.h&quot;
</ins><span class="cx"> #include &quot;ContentSecurityPolicy.h&quot;
</span><span class="cx"> #include &quot;CrossOriginAccessControl.h&quot;
</span><span class="cx"> #include &quot;CurrentScriptIncrementer.h&quot;
</span><span class="lines">@@ -40,7 +40,6 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;SVGNames.h&quot;
</span><span class="cx"> #include &quot;SVGScriptElement.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptRunner.h&quot;
</span><span class="cx"> #include &quot;ScriptSourceCode.h&quot;
</span><span class="lines">@@ -49,6 +48,7 @@
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;TextNodeTraversal.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringBuilder.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringHash.h&gt;
</span><span class="lines">@@ -291,7 +291,7 @@
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(NOSNIFF)
</span><span class="cx">     if (m_isExternalScript &amp;&amp; m_cachedScript &amp;&amp; !m_cachedScript-&gt;mimeTypeAllowedByNosniff()) {
</span><del>-        m_element-&gt;document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Refused to execute script from '&quot; + m_cachedScript-&gt;url().stringCenterEllipsizedToLength() + &quot;' because its MIME type ('&quot; + m_cachedScript-&gt;mimeType() + &quot;') is not executable, and strict MIME type checking is enabled.&quot;);
</del><ins>+        m_element-&gt;document().addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Refused to execute script from '&quot; + m_cachedScript-&gt;url().stringCenterEllipsizedToLength() + &quot;' because its MIME type ('&quot; + m_cachedScript-&gt;mimeType() + &quot;') is not executable, and strict MIME type checking is enabled.&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="lines">@@ -348,7 +348,7 @@
</span><span class="cx"> 
</span><span class="cx">         dispatchErrorEvent();
</span><span class="cx">         DEFINE_STATIC_LOCAL(String, consoleMessage, (ASCIILiteral(&quot;Cross-origin script load denied by Cross-Origin Resource Sharing policy.&quot;)));
</span><del>-        m_element-&gt;document().addConsoleMessage(JSMessageSource, ErrorMessageLevel, consoleMessage);
</del><ins>+        m_element-&gt;document().addConsoleMessage(MessageSource::JS, MessageLevel::Error, consoleMessage);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoredomScriptExecutionContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ScriptExecutionContext.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ScriptExecutionContext.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/ScriptExecutionContext.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -33,10 +33,10 @@
</span><span class="cx"> #include &quot;ErrorEvent.h&quot;
</span><span class="cx"> #include &quot;MessagePort.h&quot;
</span><span class="cx"> #include &quot;PublicURLManager.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;WorkerGlobalScope.h&quot;
</span><span class="cx"> #include &quot;WorkerThread.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/MainThread.h&gt;
</span><span class="cx"> #include &lt;wtf/Ref.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -51,6 +51,8 @@
</span><span class="cx"> #include &quot;DatabaseContext.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+using namespace Inspector;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class ProcessMessagesSoonTask : public ScriptExecutionContext::Task {
</span></span></pre></div>
<a id="trunkSourceWebCoredomScriptExecutionContexth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ScriptExecutionContext.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ScriptExecutionContext.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/ScriptExecutionContext.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,10 +29,10 @@
</span><span class="cx"> #define ScriptExecutionContext_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ActiveDOMObject.h&quot;
</span><del>-#include &quot;ConsoleTypes.h&quot;
-#include &quot;URL.h&quot;
</del><span class="cx"> #include &quot;SecurityContext.h&quot;
</span><span class="cx"> #include &quot;Supplementable.h&quot;
</span><ins>+#include &quot;URL.h&quot;
+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace JSC {
</span><span class="lines">@@ -40,6 +40,10 @@
</span><span class="cx"> class VM;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+namespace Inspector {
+class ScriptCallStack;
+}
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class CachedScript;
</span><span class="lines">@@ -49,7 +53,6 @@
</span><span class="cx"> class EventQueue;
</span><span class="cx"> class EventTarget;
</span><span class="cx"> class MessagePort;
</span><del>-class ScriptCallStack;
</del><span class="cx"> 
</span><span class="cx"> #if ENABLE(BLOB)
</span><span class="cx"> class PublicURLManager;
</span><span class="lines">@@ -75,7 +78,7 @@
</span><span class="cx"> 
</span><span class="cx">     bool sanitizeScriptError(String&amp; errorMessage, int&amp; lineNumber, int&amp; columnNumber, String&amp; sourceURL, CachedScript* = 0);
</span><span class="cx">     // FIXME: &lt;http://webkit.org/b/114315&gt; ScriptExecutionContext log exception should include a column number
</span><del>-    void reportException(const String&amp; errorMessage, int lineNumber, int columnNumber, const String&amp; sourceURL, PassRefPtr&lt;ScriptCallStack&gt;, CachedScript* = 0);
</del><ins>+    void reportException(const String&amp; errorMessage, int lineNumber, int columnNumber, const String&amp; sourceURL, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, CachedScript* = 0);
</ins><span class="cx"> 
</span><span class="cx">     void addConsoleMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* = 0, unsigned long requestIdentifier = 0);
</span><span class="cx">     virtual void addConsoleMessage(MessageSource, MessageLevel, const String&amp; message, unsigned long requestIdentifier = 0) = 0;
</span><span class="lines">@@ -177,9 +180,9 @@
</span><span class="cx">     ActiveDOMObject::ReasonForSuspension reasonForSuspendingActiveDOMObjects() const { return m_reasonForSuspendingActiveDOMObjects; }
</span><span class="cx"> 
</span><span class="cx"> private:
</span><del>-    virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) = 0;
</del><ins>+    virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) = 0;
</ins><span class="cx">     virtual EventTarget* errorEventTarget() = 0;
</span><del>-    virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt;) = 0;
</del><ins>+    virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;) = 0;
</ins><span class="cx">     bool dispatchErrorEvent(const String&amp; errorMessage, int lineNumber, int columnNumber, const String&amp; sourceURL, CachedScript*);
</span><span class="cx"> 
</span><span class="cx">     void closeMessagePorts();
</span></span></pre></div>
<a id="trunkSourceWebCoredomViewportArgumentscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/ViewportArguments.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/ViewportArguments.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/dom/ViewportArguments.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -448,15 +448,15 @@
</span><span class="cx"> {
</span><span class="cx">     switch (errorCode) {
</span><span class="cx">     case TruncatedViewportArgumentValueError:
</span><del>-        return WarningMessageLevel;
</del><ins>+        return MessageLevel::Warning;
</ins><span class="cx">     case UnrecognizedViewportArgumentKeyError:
</span><span class="cx">     case UnrecognizedViewportArgumentValueError:
</span><span class="cx">     case MaximumScaleTooLargeError:
</span><del>-        return ErrorMessageLevel;
</del><ins>+        return MessageLevel::Error;
</ins><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><del>-    return ErrorMessageLevel;
</del><ins>+    return MessageLevel::Error;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void reportViewportWarning(Document* document, ViewportErrorCode errorCode, const String&amp; replacement1, const String&amp; replacement2)
</span><span class="lines">@@ -475,7 +475,7 @@
</span><span class="cx">         message.append(&quot; Note that ';' is not a separator in viewport values. The list should be comma-separated.&quot;);
</span><span class="cx"> 
</span><span class="cx">     // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><del>-    document-&gt;addConsoleMessage(RenderingMessageSource, viewportErrorMessageLevel(errorCode), message);
</del><ins>+    document-&gt;addConsoleMessage(MessageSource::Rendering, viewportErrorMessageLevel(errorCode), message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiBlobcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/Blob.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/Blob.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/fileapi/Blob.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> #include &quot;BlobURL.h&quot;
</span><span class="cx"> #include &quot;File.h&quot;
</span><span class="cx"> #include &quot;HistogramSupport.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;ThreadableBlobRegistry.h&quot;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorefileapiWebKitBlobBuildercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/fileapi/WebKitBlobBuilder.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><del>-
</del><span class="cx"> #include &quot;WebKitBlobBuilder.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Blob.h&quot;
</span><span class="lines">@@ -38,7 +37,6 @@
</span><span class="cx"> #include &quot;File.h&quot;
</span><span class="cx"> #include &quot;HistogramSupport.h&quot;
</span><span class="cx"> #include &quot;LineEnding.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;TextEncoding.h&quot;
</span><span class="cx"> #include &lt;runtime/ArrayBuffer.h&gt;
</span><span class="cx"> #include &lt;runtime/ArrayBufferView.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormControlElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormControlElement.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormControlElement.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/HTMLFormControlElement.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -180,7 +180,7 @@
</span><span class="cx">         return false;
</span><span class="cx">     if (element-&gt;document().isSandboxed(SandboxAutomaticFeatures)) {
</span><span class="cx">         // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><del>-        element-&gt;document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set.&quot;);
</del><ins>+        element-&gt;document().addConsoleMessage(MessageSource::Security, MessageLevel::Error, ASCIILiteral(&quot;Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set.&quot;));
</ins><span class="cx">         return false;
</span><span class="cx">     }
</span><span class="cx">     if (element-&gt;hasAutofocused())
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFormElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFormElement.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/HTMLFormElement.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -253,7 +253,7 @@
</span><span class="cx">                 continue;
</span><span class="cx">             String message(&quot;An invalid form control with name='%name' is not focusable.&quot;);
</span><span class="cx">             message.replace(&quot;%name&quot;, control.name());
</span><del>-            document().addConsoleMessage(RenderingMessageSource, ErrorMessageLevel, message);
</del><ins>+            document().addConsoleMessage(MessageSource::Rendering, MessageLevel::Error, message);
</ins><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLIFrameElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLIFrameElement.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/HTMLIFrameElement.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -80,7 +80,7 @@
</span><span class="cx">         String invalidTokens;
</span><span class="cx">         setSandboxFlags(value.isNull() ? SandboxNone : SecurityContext::parseSandboxPolicy(value, invalidTokens));
</span><span class="cx">         if (!invalidTokens.isNull())
</span><del>-            document().addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Error while parsing the 'sandbox' attribute: &quot; + invalidTokens);
</del><ins>+            document().addConsoleMessage(MessageSource::Other, MessageLevel::Error, &quot;Error while parsing the 'sandbox' attribute: &quot; + invalidTokens);
</ins><span class="cx">     } else
</span><span class="cx">         HTMLFrameElementBase::parseAttribute(name, value);
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLMediaElementcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLMediaElement.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLMediaElement.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/HTMLMediaElement.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -2747,7 +2747,7 @@
</span><span class="cx"> #if ENABLE(ENCRYPTED_MEDIA_V2)
</span><span class="cx">     static bool firstTime = true;
</span><span class="cx">     if (firstTime &amp;&amp; scriptExecutionContext()) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;'HTMLMediaElement.webkitGenerateKeyRequest()' is deprecated.  Use 'MediaKeys.createSession()' instead.&quot;);
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;'HTMLMediaElement.webkitGenerateKeyRequest()' is deprecated.  Use 'MediaKeys.createSession()' instead.&quot;));
</ins><span class="cx">         firstTime = false;
</span><span class="cx">     }
</span><span class="cx"> #endif
</span><span class="lines">@@ -2783,7 +2783,7 @@
</span><span class="cx"> #if ENABLE(ENCRYPTED_MEDIA_V2)
</span><span class="cx">     static bool firstTime = true;
</span><span class="cx">     if (firstTime &amp;&amp; scriptExecutionContext()) {
</span><del>-        scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, &quot;'HTMLMediaElement.webkitAddKey()' is deprecated.  Use 'MediaKeySession.update()' instead.&quot;);
</del><ins>+        scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;'HTMLMediaElement.webkitAddKey()' is deprecated.  Use 'MediaKeySession.update()' instead.&quot;));
</ins><span class="cx">         firstTime = false;
</span><span class="cx">     }
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasCanvasRenderingContext2Dcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1859,7 +1859,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!canvas()-&gt;originClean()) {
</span><span class="cx">         DEFINE_STATIC_LOCAL(String, consoleMessage, (ASCIILiteral(&quot;Unable to get image data from canvas because the canvas has been tainted by cross-origin data.&quot;)));
</span><del>-        canvas()-&gt;document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, consoleMessage);
</del><ins>+        canvas()-&gt;document().addConsoleMessage(MessageSource::Security, MessageLevel::Error, consoleMessage);
</ins><span class="cx">         ec = SECURITY_ERR;
</span><span class="cx">         return 0;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlcanvasWebGLRenderingContextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -5528,7 +5528,7 @@
</span><span class="cx"> {
</span><span class="cx">     if (!canvas())
</span><span class="cx">         return;
</span><del>-    canvas()-&gt;document().addConsoleMessage(RenderingMessageSource, WarningMessageLevel, message);
</del><ins>+    canvas()-&gt;document().addConsoleMessage(MessageSource::Rendering, MessageLevel::Warning, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool WebGLRenderingContext::validateFramebufferFuncParameters(const char* functionName, GC3Denum target, GC3Denum attachment)
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserXSSAuditorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/XSSAuditor.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/XSSAuditor.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/parser/XSSAuditor.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -280,7 +280,7 @@
</span><span class="cx">             }
</span><span class="cx">         }
</span><span class="cx">         if (xssProtectionHeader == ContentSecurityPolicy::ReflectedXSSInvalid)
</span><del>-            document-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Error parsing header X-XSS-Protection: &quot; + headerValue + &quot;: &quot;  + errorDetails + &quot; at character position &quot; + String::format(&quot;%u&quot;, errorPosition) + &quot;. The default protections will be applied.&quot;);
</del><ins>+            document-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Error parsing header X-XSS-Protection: &quot; + headerValue + &quot;: &quot;  + errorDetails + &quot; at character position &quot; + String::format(&quot;%u&quot;, errorPosition) + &quot;. The default protections will be applied.&quot;);
</ins><span class="cx"> 
</span><span class="cx">         ContentSecurityPolicy::ReflectedXSSDisposition cspHeader = document-&gt;contentSecurityPolicy()-&gt;reflectedXSSDisposition();
</span><span class="cx">         m_didSendValidCSPHeader = cspHeader != ContentSecurityPolicy::ReflectedXSSUnset &amp;&amp; cspHeader != ContentSecurityPolicy::ReflectedXSSInvalid;
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlparserXSSAuditorDelegatecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/parser/XSSAuditorDelegate.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/parser/XSSAuditorDelegate.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/html/parser/XSSAuditorDelegate.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -98,7 +98,7 @@
</span><span class="cx"> {
</span><span class="cx">     ASSERT(isMainThread());
</span><span class="cx"> 
</span><del>-    m_document.addConsoleMessage(JSMessageSource, ErrorMessageLevel, buildConsoleError(xssInfo, m_document.url().string()));
</del><ins>+    m_document.addConsoleMessage(MessageSource::JS, MessageLevel::Error, buildConsoleError(xssInfo, m_document.url().string()));
</ins><span class="cx"> 
</span><span class="cx">     FrameLoader&amp; frameLoader = m_document.frame()-&gt;loader();
</span><span class="cx">     if (xssInfo.m_didBlockEntirePage)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorCommandLineAPIHostcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/CommandLineAPIHost.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/CommandLineAPIHost.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/CommandLineAPIHost.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -38,7 +38,6 @@
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
</del><span class="cx"> #include &quot;InspectorDOMAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorDOMStorageAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorDatabaseAgent.h&quot;
</span><span class="lines">@@ -49,6 +48,7 @@
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorAgent.h&gt;
</span><ins>+#include &lt;inspector/agents/InspectorConsoleAgent.h&gt;
</ins><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorCommandLineAPIHosth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/CommandLineAPIHost.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/CommandLineAPIHost.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/CommandLineAPIHost.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -30,8 +30,8 @@
</span><span class="cx"> #ifndef CommandLineAPIHost_h
</span><span class="cx"> #define CommandLineAPIHost_h
</span><span class="cx"> 
</span><del>-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;ScriptState.h&quot;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="lines">@@ -42,6 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace Inspector {
</span><span class="cx"> class InspectorAgent;
</span><ins>+class InspectorConsoleAgent;
</ins><span class="cx"> class InspectorObject;
</span><span class="cx"> class InspectorValue;
</span><span class="cx"> }
</span><span class="lines">@@ -49,7 +50,6 @@
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class Database;
</span><del>-class InspectorConsoleAgent;
</del><span class="cx"> class InspectorDOMAgent;
</span><span class="cx"> class InspectorDOMStorageAgent;
</span><span class="cx"> class InspectorDatabaseAgent;
</span><span class="lines">@@ -64,11 +64,11 @@
</span><span class="cx">     ~CommandLineAPIHost();
</span><span class="cx"> 
</span><span class="cx">     void init(Inspector::InspectorAgent* inspectorAgent
</span><del>-            , InspectorConsoleAgent* consoleAgent
-            , InspectorDOMAgent* domAgent
-            , InspectorDOMStorageAgent* domStorageAgent
</del><ins>+        , Inspector::InspectorConsoleAgent* consoleAgent
+        , InspectorDOMAgent* domAgent
+        , InspectorDOMStorageAgent* domStorageAgent
</ins><span class="cx"> #if ENABLE(SQL_DATABASE)
</span><del>-            , InspectorDatabaseAgent* databaseAgent
</del><ins>+        , InspectorDatabaseAgent* databaseAgent
</ins><span class="cx"> #endif
</span><span class="cx">         )
</span><span class="cx">     {
</span><span class="lines">@@ -108,7 +108,7 @@
</span><span class="cx">     CommandLineAPIHost();
</span><span class="cx"> 
</span><span class="cx">     Inspector::InspectorAgent* m_inspectorAgent;
</span><del>-    InspectorConsoleAgent* m_consoleAgent;
</del><ins>+    Inspector::InspectorConsoleAgent* m_consoleAgent;
</ins><span class="cx">     InspectorDOMAgent* m_domAgent;
</span><span class="cx">     InspectorDOMStorageAgent* m_domStorageAgent;
</span><span class="cx"> #if ENABLE(SQL_DATABASE)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorConsoleAPITypesh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ConsoleAPITypes.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ConsoleAPITypes.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ConsoleAPITypes.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ConsoleAPITypes_h
-#define ConsoleAPITypes_h
-
-namespace WebCore {
-
-enum MessageType {
-    LogMessageType,
-    DirMessageType,
-    DirXMLMessageType,
-    TableMessageType,
-    TraceMessageType,
-    StartGroupMessageType,
-    StartGroupCollapsedMessageType,
-    EndGroupMessageType,
-    ClearMessageType,
-    AssertMessageType,
-    TimingMessageType,
-    ProfileMessageType,
-    ProfileEndMessageType
-};
-
-} // namespace WebCore
-
-#endif // ConsoleAPITypes_h
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorConsoleMessagecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ConsoleMessage.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ConsoleMessage.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ConsoleMessage.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,290 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2008 Matt Lilek &lt;webkit@mattlilek.com&gt;
- * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
- *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;ConsoleMessage.h&quot;
-
-#if ENABLE(INSPECTOR)
-
-#include &quot;Console.h&quot;
-#include &quot;IdentifiersFactory.h&quot;
-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallFrame.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
-#include &lt;bindings/ScriptValue.h&gt;
-#include &lt;inspector/InjectedScript.h&gt;
-#include &lt;inspector/InjectedScriptManager.h&gt;
-#include &lt;inspector/InspectorValues.h&gt;
-#include &lt;wtf/MainThread.h&gt;
-
-using namespace Inspector;
-
-namespace WebCore {
-
-ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, unsigned long requestIdentifier)
-    : m_source(source)
-    , m_type(type)
-    , m_level(level)
-    , m_message(message)
-    , m_url()
-    , m_line(0)
-    , m_column(0)
-    , m_repeatCount(1)
-    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
-{
-    autogenerateMetadata(canGenerateCallStack);
-}
-
-ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, const String&amp; url, unsigned line, unsigned column, JSC::ExecState* state, unsigned long requestIdentifier)
-    : m_source(source)
-    , m_type(type)
-    , m_level(level)
-    , m_message(message)
-    , m_url(url)
-    , m_line(line)
-    , m_column(column)
-    , m_repeatCount(1)
-    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
-{
-    autogenerateMetadata(canGenerateCallStack, state);
-}
-
-ConsoleMessage::ConsoleMessage(bool, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
-    : m_source(source)
-    , m_type(type)
-    , m_level(level)
-    , m_message(message)
-    , m_arguments(nullptr)
-    , m_line(0)
-    , m_column(0)
-    , m_repeatCount(1)
-    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
-{
-    if (callStack &amp;&amp; callStack-&gt;size()) {
-        const ScriptCallFrame&amp; frame = callStack-&gt;at(0);
-        m_url = frame.sourceURL();
-        m_line = frame.lineNumber();
-        m_column = frame.columnNumber();
-    }
-    m_callStack = callStack;
-}
-
-ConsoleMessage::ConsoleMessage(bool canGenerateCallStack, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptArguments&gt; arguments, JSC::ExecState* state, unsigned long requestIdentifier)
-    : m_source(source)
-    , m_type(type)
-    , m_level(level)
-    , m_message(message)
-    , m_arguments(arguments)
-    , m_url()
-    , m_line(0)
-    , m_column(0)
-    , m_repeatCount(1)
-    , m_requestId(IdentifiersFactory::requestId(requestIdentifier))
-{
-    autogenerateMetadata(canGenerateCallStack, state);
-}
-
-ConsoleMessage::~ConsoleMessage()
-{
-}
-
-void ConsoleMessage::autogenerateMetadata(bool canGenerateCallStack, JSC::ExecState* state)
-{
-    if (m_type == EndGroupMessageType)
-        return;
-
-    if (state)
-        m_callStack = createScriptCallStackForConsole(state);
-    else if (canGenerateCallStack)
-        m_callStack = createScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture, true);
-    else
-        return;
-
-    if (m_callStack &amp;&amp; m_callStack-&gt;size()) {
-        const ScriptCallFrame&amp; frame = m_callStack-&gt;at(0);
-        m_url = frame.sourceURL();
-        m_line = frame.lineNumber();
-        m_column = frame.columnNumber();
-        return;
-    }
-
-    m_callStack.clear();
-}
-
-// Keep in sync with inspector/front-end/ConsoleView.js
-static Inspector::TypeBuilder::Console::ConsoleMessage::Source::Enum messageSourceValue(MessageSource source)
-{
-    switch (source) {
-    case XMLMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::XML;
-    case JSMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Javascript;
-    case NetworkMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Network;
-    case ConsoleAPIMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::ConsoleAPI;
-    case StorageMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Storage;
-    case AppCacheMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Appcache;
-    case RenderingMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Rendering;
-    case CSSMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::CSS;
-    case SecurityMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Security;
-    case OtherMessageSource: return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Other;
-    }
-    return Inspector::TypeBuilder::Console::ConsoleMessage::Source::Other;
-}
-
-static Inspector::TypeBuilder::Console::ConsoleMessage::Type::Enum messageTypeValue(MessageType type)
-{
-    switch (type) {
-    case LogMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Log;
-    case ClearMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Clear;
-    case DirMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Dir;
-    case DirXMLMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::DirXML;
-    case TableMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Table;
-    case TraceMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Trace;
-    case StartGroupMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::StartGroup;
-    case StartGroupCollapsedMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::StartGroupCollapsed;
-    case EndGroupMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::EndGroup;
-    case AssertMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Assert;
-    case TimingMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Timing;
-    case ProfileMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Profile;
-    case ProfileEndMessageType: return Inspector::TypeBuilder::Console::ConsoleMessage::Type::ProfileEnd;
-    }
-    return Inspector::TypeBuilder::Console::ConsoleMessage::Type::Log;
-}
-
-static Inspector::TypeBuilder::Console::ConsoleMessage::Level::Enum messageLevelValue(MessageLevel level)
-{
-    switch (level) {
-    case DebugMessageLevel: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Debug;
-    case LogMessageLevel: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Log;
-    case WarningMessageLevel: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Warning;
-    case ErrorMessageLevel: return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Error;
-    }
-    return Inspector::TypeBuilder::Console::ConsoleMessage::Level::Log;
-}
-
-void ConsoleMessage::addToFrontend(InspectorConsoleFrontendDispatcher* consoleFrontendDispatcher, Inspector::InjectedScriptManager* injectedScriptManager, bool generatePreview)
-{
-    RefPtr&lt;Inspector::TypeBuilder::Console::ConsoleMessage&gt; jsonObj = Inspector::TypeBuilder::Console::ConsoleMessage::create()
-        .setSource(messageSourceValue(m_source))
-        .setLevel(messageLevelValue(m_level))
-        .setText(m_message);
-    // FIXME: only send out type for ConsoleAPI source messages.
-    jsonObj-&gt;setType(messageTypeValue(m_type));
-    jsonObj-&gt;setLine(static_cast&lt;int&gt;(m_line));
-    jsonObj-&gt;setColumn(static_cast&lt;int&gt;(m_column));
-    jsonObj-&gt;setUrl(m_url);
-    jsonObj-&gt;setRepeatCount(static_cast&lt;int&gt;(m_repeatCount));
-    if (m_source == NetworkMessageSource &amp;&amp; !m_requestId.isEmpty())
-        jsonObj-&gt;setNetworkRequestId(m_requestId);
-    if (m_arguments &amp;&amp; m_arguments-&gt;argumentCount()) {
-        InjectedScript injectedScript = injectedScriptManager-&gt;injectedScriptFor(m_arguments-&gt;globalState());
-        if (!injectedScript.hasNoValue()) {
-            RefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt;&gt; jsonArgs = Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt;::create();
-            if (m_type == TableMessageType &amp;&amp; generatePreview &amp;&amp; m_arguments-&gt;argumentCount()) {
-                Deprecated::ScriptValue table = m_arguments-&gt;argumentAt(0);
-                Deprecated::ScriptValue columns = m_arguments-&gt;argumentCount() &gt; 1 ? m_arguments-&gt;argumentAt(1) : Deprecated::ScriptValue();
-                RefPtr&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt; inspectorValue = injectedScript.wrapTable(table, columns);
-                if (!inspectorValue) {
-                    ASSERT_NOT_REACHED();
-                    return;
-                }
-                jsonArgs-&gt;addItem(inspectorValue);
-            } else {
-                for (unsigned i = 0; i &lt; m_arguments-&gt;argumentCount(); ++i) {
-                    RefPtr&lt;Inspector::TypeBuilder::Runtime::RemoteObject&gt; inspectorValue = injectedScript.wrapObject(m_arguments-&gt;argumentAt(i), &quot;console&quot;, generatePreview);
-                    if (!inspectorValue) {
-                        ASSERT_NOT_REACHED();
-                        return;
-                    }
-                    jsonArgs-&gt;addItem(inspectorValue);
-                }
-            }
-            jsonObj-&gt;setParameters(jsonArgs);
-        }
-    }
-    if (m_callStack)
-        jsonObj-&gt;setStackTrace(m_callStack-&gt;buildInspectorArray());
-    consoleFrontendDispatcher-&gt;messageAdded(jsonObj);
-}
-
-void ConsoleMessage::updateRepeatCountInConsole(InspectorConsoleFrontendDispatcher* consoleFrontendDispatcher)
-{
-    consoleFrontendDispatcher-&gt;messageRepeatCountUpdated(m_repeatCount);
-}
-
-bool ConsoleMessage::isEqual(ConsoleMessage* msg) const
-{
-    if (m_arguments) {
-        if (!m_arguments-&gt;isEqual(msg-&gt;m_arguments.get()))
-            return false;
-        // Never treat objects as equal - their properties might change over time.
-        for (size_t i = 0; i &lt; m_arguments-&gt;argumentCount(); ++i) {
-            if (m_arguments-&gt;argumentAt(i).isObject())
-                return false;
-        }
-    } else if (msg-&gt;m_arguments)
-        return false;
-
-    if (m_callStack) {
-        if (!m_callStack-&gt;isEqual(msg-&gt;m_callStack.get()))
-            return false;
-    } else if (msg-&gt;m_callStack)
-        return false;
-
-    return msg-&gt;m_source == m_source
-        &amp;&amp; msg-&gt;m_type == m_type
-        &amp;&amp; msg-&gt;m_level == m_level
-        &amp;&amp; msg-&gt;m_message == m_message
-        &amp;&amp; msg-&gt;m_line == m_line
-        &amp;&amp; msg-&gt;m_column == m_column
-        &amp;&amp; msg-&gt;m_url == m_url
-        &amp;&amp; msg-&gt;m_requestId == m_requestId;
-}
-
-void ConsoleMessage::windowCleared(DOMWindow* window)
-{
-    if (!m_arguments)
-        return;
-    if (domWindowFromExecState(m_arguments-&gt;globalState()) != window)
-        return;
-    if (!m_message)
-        m_message = &quot;&lt;message collected&gt;&quot;;
-    m_arguments.clear();
-}
-
-unsigned ConsoleMessage::argumentCount()
-{
-    if (m_arguments)
-        return m_arguments-&gt;argumentCount();
-    return 0;
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorConsoleMessageh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ConsoleMessage.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ConsoleMessage.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ConsoleMessage.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,93 +0,0 @@
</span><del>-/*
- * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2008 Matt Lilek &lt;webkit@mattlilek.com&gt;
- * Copyright (C) 2009, 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
- *     its contributors may be used to endorse or promote products derived
- *     from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ConsoleMessage_h
-#define ConsoleMessage_h
-
-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
-#include &quot;InspectorWebFrontendDispatchers.h&quot;
-#include &quot;ScriptState.h&quot;
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/Vector.h&gt;
-
-namespace Inspector {
-class InjectedScriptManager;
-class InspectorObject;
-}
-
-namespace WebCore {
-
-class DOMWindow;
-class ScriptArguments;
-class ScriptCallFrame;
-class ScriptCallStack;
-
-class ConsoleMessage {
-    WTF_MAKE_NONCOPYABLE(ConsoleMessage); WTF_MAKE_FAST_ALLOCATED;
-public:
-    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, unsigned long requestIdentifier = 0);
-    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; url, unsigned line, unsigned column, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
-    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
-    ConsoleMessage(bool canGenerateCallStack, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptArguments&gt;, JSC::ExecState*, unsigned long requestIdentifier = 0);
-    ~ConsoleMessage();
-
-    void addToFrontend(Inspector::InspectorConsoleFrontendDispatcher*, Inspector::InjectedScriptManager*, bool generatePreview);
-    void updateRepeatCountInConsole(Inspector::InspectorConsoleFrontendDispatcher*);
-    void incrementCount() { ++m_repeatCount; }
-    bool isEqual(ConsoleMessage* msg) const;
-
-    MessageSource source() const { return m_source; }
-    const String&amp; message() const { return m_message; }
-    MessageType type() const { return m_type; }
-
-    void windowCleared(DOMWindow*);
-
-    unsigned argumentCount();
-
-private:
-    void autogenerateMetadata(bool canGenerateCallStack, JSC::ExecState* = nullptr);
-
-    MessageSource m_source;
-    MessageType m_type;
-    MessageLevel m_level;
-    String m_message;
-    RefPtr&lt;ScriptArguments&gt; m_arguments;
-    RefPtr&lt;ScriptCallStack&gt; m_callStack;
-    String m_url;
-    unsigned m_line;
-    unsigned m_column;
-    unsigned m_repeatCount;
-    String m_requestId;
-};
-
-} // namespace WebCore
-
-#endif // ConsoleMessage_h
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorIdentifiersFactorycpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/IdentifiersFactory.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/IdentifiersFactory.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/IdentifiersFactory.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Google Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-
-#if ENABLE(INSPECTOR)
-
-#include &quot;IdentifiersFactory.h&quot;
-
-#include &lt;wtf/text/StringBuilder.h&gt;
-
-namespace WebCore {
-
-namespace {
-static long s_lastUsedIdentifier = 0;
-}
-
-// static
-long IdentifiersFactory::s_processId;
-
-// static
-String IdentifiersFactory::createIdentifier()
-{
-    return addProcessIdPrefixTo(String::number(++s_lastUsedIdentifier));
-}
-
-// static
-String IdentifiersFactory::requestId(unsigned long identifier)
-{
-    if (identifier)
-        return addProcessIdPrefixTo(String::number(identifier));
-    return String();
-}
-
-// static
-String IdentifiersFactory::addProcessIdPrefixTo(const String&amp; id)
-{
-    StringBuilder builder;
-    builder.appendNumber(s_processId);
-    builder.append('.');
-    builder.append(id);
-    return builder.toString();
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorIdentifiersFactoryh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/IdentifiersFactory.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/IdentifiersFactory.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/IdentifiersFactory.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Google Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef IdentifiersFactory_h
-#define IdentifiersFactory_h
-
-#include &lt;wtf/text/WTFString.h&gt;
-
-#if ENABLE(INSPECTOR)
-
-namespace WebCore {
-
-class IdentifiersFactory {
-public:
-    static void setProcessId(long processId) { s_processId = processId; }
-    static String createIdentifier();
-    static String requestId(unsigned long identifier);
-private:
-    static String addProcessIdPrefixTo(const String&amp; id);
-
-    static long s_processId;
-};
-
-} // namespace WebCore
-
-#endif // !defined(IdentifiersFactory_h)
-
-#endif // ENABLE(INSPECTOR)
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorAllInOnecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorAllInOne.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorAllInOne.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorAllInOne.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -27,16 +27,13 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CommandLineAPIHost.cpp&quot;
</span><span class="cx"> #include &quot;CommandLineAPIModule.cpp&quot;
</span><del>-#include &quot;ConsoleMessage.cpp&quot;
</del><span class="cx"> #include &quot;DOMEditor.cpp&quot;
</span><span class="cx"> #include &quot;DOMPatchSupport.cpp&quot;
</span><del>-#include &quot;IdentifiersFactory.cpp&quot;
</del><span class="cx"> #include &quot;InjectedScriptCanvasModule.cpp&quot;
</span><span class="cx"> #include &quot;InspectorApplicationCacheAgent.cpp&quot;
</span><span class="cx"> #include &quot;InspectorCSSAgent.cpp&quot;
</span><span class="cx"> #include &quot;InspectorCanvasAgent.cpp&quot;
</span><span class="cx"> #include &quot;InspectorClient.cpp&quot;
</span><del>-#include &quot;InspectorConsoleAgent.cpp&quot;
</del><span class="cx"> #include &quot;InspectorController.cpp&quot;
</span><span class="cx"> #include &quot;InspectorCounters.cpp&quot;
</span><span class="cx"> #include &quot;InspectorDOMAgent.cpp&quot;
</span><span class="lines">@@ -70,10 +67,8 @@
</span><span class="cx"> #include &quot;PageInjectedScriptHost.cpp&quot;
</span><span class="cx"> #include &quot;PageInjectedScriptManager.cpp&quot;
</span><span class="cx"> #include &quot;PageRuntimeAgent.cpp&quot;
</span><del>-#include &quot;ScriptArguments.cpp&quot;
-#include &quot;ScriptCallFrame.cpp&quot;
-#include &quot;ScriptCallStack.cpp&quot;
</del><span class="cx"> #include &quot;TimelineRecordFactory.cpp&quot;
</span><ins>+#include &quot;WebConsoleAgent.cpp&quot;
</ins><span class="cx"> #include &quot;WebDebuggerAgent.cpp&quot;
</span><span class="cx"> #include &quot;WorkerConsoleAgent.cpp&quot;
</span><span class="cx"> #include &quot;WorkerDebuggerAgent.cpp&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorConsoleAgentcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,333 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#include &quot;config.h&quot;
-
-#if ENABLE(INSPECTOR)
-
-#include &quot;InspectorConsoleAgent.h&quot;
-
-#include &quot;CommandLineAPIHost.h&quot;
-#include &quot;Console.h&quot;
-#include &quot;ConsoleMessage.h&quot;
-#include &quot;DOMWindow.h&quot;
-#include &quot;InspectorWebFrontendDispatchers.h&quot;
-#include &quot;InstrumentingAgents.h&quot;
-#include &quot;PageInjectedScriptManager.h&quot;
-#include &quot;ResourceError.h&quot;
-#include &quot;ResourceResponse.h&quot;
-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallFrame.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
-#include &quot;ScriptProfiler.h&quot;
-#include &lt;bindings/ScriptObject.h&gt;
-#include &lt;wtf/CurrentTime.h&gt;
-#include &lt;wtf/OwnPtr.h&gt;
-#include &lt;wtf/PassOwnPtr.h&gt;
-#include &lt;wtf/text/StringBuilder.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-using namespace Inspector;
-
-namespace WebCore {
-
-static const unsigned maximumConsoleMessages = 1000;
-static const int expireConsoleMessagesStep = 100;
-
-InspectorConsoleAgent::InspectorConsoleAgent(InstrumentingAgents* instrumentingAgents, PageInjectedScriptManager* injectedScriptManager)
-    : InspectorAgentBase(ASCIILiteral(&quot;Console&quot;), instrumentingAgents)
-    , m_injectedScriptManager(injectedScriptManager)
-    , m_previousMessage(nullptr)
-    , m_expiredConsoleMessageCount(0)
-    , m_enabled(false)
-    , m_monitoringXHREnabled(false)
-{
-    m_instrumentingAgents-&gt;setInspectorConsoleAgent(this);
-}
-
-InspectorConsoleAgent::~InspectorConsoleAgent()
-{
-    m_instrumentingAgents-&gt;setInspectorConsoleAgent(nullptr);
-    m_instrumentingAgents = nullptr;
-    m_injectedScriptManager = nullptr;
-}
-
-void InspectorConsoleAgent::enable(ErrorString*)
-{
-    if (m_enabled)
-        return;
-    m_enabled = true;
-
-    if (m_expiredConsoleMessageCount) {
-        ConsoleMessage expiredMessage(!isWorkerAgent(), OtherMessageSource, LogMessageType, WarningMessageLevel, String::format(&quot;%d console messages are not shown.&quot;, m_expiredConsoleMessageCount));
-        expiredMessage.addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, false);
-    }
-
-    size_t messageCount = m_consoleMessages.size();
-    for (size_t i = 0; i &lt; messageCount; ++i)
-        m_consoleMessages[i]-&gt;addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, false);
-}
-
-void InspectorConsoleAgent::disable(ErrorString*)
-{
-    if (!m_enabled)
-        return;
-    m_enabled = false;
-}
-
-void InspectorConsoleAgent::clearMessages(ErrorString*)
-{
-    m_consoleMessages.clear();
-    m_expiredConsoleMessageCount = 0;
-    m_previousMessage = nullptr;
-    m_injectedScriptManager-&gt;releaseObjectGroup(&quot;console&quot;);
-    if (m_frontendDispatcher &amp;&amp; m_enabled)
-        m_frontendDispatcher-&gt;messagesCleared();
-}
-
-void InspectorConsoleAgent::reset()
-{
-    ErrorString error;
-    clearMessages(&amp;error);
-    m_times.clear();
-    m_counts.clear();
-}
-
-void InspectorConsoleAgent::didCreateFrontendAndBackend(Inspector::InspectorFrontendChannel* frontendChannel, InspectorBackendDispatcher* backendDispatcher)
-{
-    m_frontendDispatcher = std::make_unique&lt;InspectorConsoleFrontendDispatcher&gt;(frontendChannel);
-    m_backendDispatcher = InspectorConsoleBackendDispatcher::create(backendDispatcher, this);
-}
-
-void InspectorConsoleAgent::willDestroyFrontendAndBackend(InspectorDisconnectReason)
-{
-    m_frontendDispatcher = nullptr;
-    m_backendDispatcher.clear();
-
-    String errorString;
-    disable(&amp;errorString);
-}
-
-void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-
-    if (type == ClearMessageType) {
-        ErrorString error;
-        clearMessages(&amp;error);
-    }
-
-    addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, callStack, requestIdentifier)));
-}
-
-void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments, unsigned long requestIdentifier)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-
-    if (type == ClearMessageType) {
-        ErrorString error;
-        clearMessages(&amp;error);
-    }
-
-    addConsoleMessage(adoptPtr(new ConsoleMessage(!isWorkerAgent(), source, type, level, message, arguments, state, requestIdentifier)));
-}
-
-void InspectorConsoleAgent::addMessageToConsole(MessageSource source, MessageType type, MessageLevel level, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* state, unsigned long requestIdentifier)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-
-    if (type == ClearMessageType) {
-        ErrorString error;
-        clearMessages(&amp;error);
-    }
-
-    bool canGenerateCallStack = !isWorkerAgent() &amp;&amp; m_frontendDispatcher;
-    addConsoleMessage(adoptPtr(new ConsoleMessage(canGenerateCallStack, source, type, level, message, scriptID, lineNumber, columnNumber, state, requestIdentifier)));
-}
-
-Vector&lt;unsigned&gt; InspectorConsoleAgent::consoleMessageArgumentCounts()
-{
-    Vector&lt;unsigned&gt; result(m_consoleMessages.size());
-    for (size_t i = 0; i &lt; m_consoleMessages.size(); i++)
-        result[i] = m_consoleMessages[i]-&gt;argumentCount();
-    return result;
-}
-
-void InspectorConsoleAgent::startTiming(const String&amp; title)
-{
-    // Follow Firebug's behavior of requiring a title that is not null or
-    // undefined for timing functions
-    if (title.isNull())
-        return;
-
-    m_times.add(title, monotonicallyIncreasingTime());
-}
-
-void InspectorConsoleAgent::stopTiming(const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt; callStack)
-{
-    // Follow Firebug's behavior of requiring a title that is not null or
-    // undefined for timing functions
-    if (title.isNull())
-        return;
-
-    HashMap&lt;String, double&gt;::iterator it = m_times.find(title);
-    if (it == m_times.end())
-        return;
-
-    double startTime = it-&gt;value;
-    m_times.remove(it);
-
-    double elapsed = monotonicallyIncreasingTime() - startTime;
-    String message = title + String::format(&quot;: %.3fms&quot;, elapsed * 1000);
-    addMessageToConsole(ConsoleAPIMessageSource, TimingMessageType, DebugMessageLevel, message, callStack);
-}
-
-void InspectorConsoleAgent::count(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
-{
-    RefPtr&lt;ScriptCallStack&gt; callStack(createScriptCallStackForConsole(state));
-    const ScriptCallFrame&amp; lastCaller = callStack-&gt;at(0);
-    // Follow Firebug's behavior of counting with null and undefined title in
-    // the same bucket as no argument
-    String title;
-    arguments-&gt;getFirstArgumentAsString(title);
-    String identifier = title + '@' + lastCaller.sourceURL() + ':' + String::number(lastCaller.lineNumber());
-
-    HashMap&lt;String, unsigned&gt;::iterator it = m_counts.find(identifier);
-    int count;
-    if (it == m_counts.end())
-        count = 1;
-    else {
-        count = it-&gt;value + 1;
-        m_counts.remove(it);
-    }
-
-    m_counts.add(identifier, count);
-
-    String message = title + &quot;: &quot; + String::number(count);
-    addMessageToConsole(ConsoleAPIMessageSource, LogMessageType, DebugMessageLevel, message, callStack);
-}
-
-void InspectorConsoleAgent::frameWindowDiscarded(DOMWindow* window)
-{
-    size_t messageCount = m_consoleMessages.size();
-    for (size_t i = 0; i &lt; messageCount; ++i)
-        m_consoleMessages[i]-&gt;windowCleared(window);
-    m_injectedScriptManager-&gt;discardInjectedScriptsFor(window);
-}
-
-void InspectorConsoleAgent::didFinishXHRLoading(unsigned long requestIdentifier, const String&amp; url, const String&amp; sendURL, unsigned sendLineNumber, unsigned sendColumnNumber)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-    if (m_frontendDispatcher &amp;&amp; m_monitoringXHREnabled) {
-        String message = &quot;XHR finished loading: \&quot;&quot; + url + &quot;\&quot;.&quot;;
-        addMessageToConsole(NetworkMessageSource, LogMessageType, DebugMessageLevel, message, sendURL, sendLineNumber, sendColumnNumber, nullptr, requestIdentifier);
-    }
-}
-
-void InspectorConsoleAgent::didReceiveResponse(unsigned long requestIdentifier, const ResourceResponse&amp; response)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-
-    if (response.httpStatusCode() &gt;= 400) {
-        String message = &quot;Failed to load resource: the server responded with a status of &quot; + String::number(response.httpStatusCode()) + &quot; (&quot; + response.httpStatusText() + ')';
-        addMessageToConsole(NetworkMessageSource, LogMessageType, ErrorMessageLevel, message, response.url().string(), 0, 0, nullptr, requestIdentifier);
-    }
-}
-
-void InspectorConsoleAgent::didFailLoading(unsigned long requestIdentifier, const ResourceError&amp; error)
-{
-    if (!m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled())
-        return;
-    if (error.isCancellation()) // Report failures only.
-        return;
-    StringBuilder message;
-    message.appendLiteral(&quot;Failed to load resource&quot;);
-    if (!error.localizedDescription().isEmpty()) {
-        message.appendLiteral(&quot;: &quot;);
-        message.append(error.localizedDescription());
-    }
-    addMessageToConsole(NetworkMessageSource, LogMessageType, ErrorMessageLevel, message.toString(), error.failingURL(), 0, 0, nullptr, requestIdentifier);
-}
-
-void InspectorConsoleAgent::setMonitoringXHREnabled(ErrorString*, bool enabled)
-{
-    m_monitoringXHREnabled = enabled;
-}
-
-static bool isGroupMessage(MessageType type)
-{
-    return type == StartGroupMessageType
-        || type ==  StartGroupCollapsedMessageType
-        || type == EndGroupMessageType;
-}
-
-void InspectorConsoleAgent::addConsoleMessage(PassOwnPtr&lt;ConsoleMessage&gt; consoleMessage)
-{
-    ASSERT(m_instrumentingAgents-&gt;inspectorEnvironment().developerExtrasEnabled());
-    ASSERT_ARG(consoleMessage, consoleMessage);
-
-    if (m_previousMessage &amp;&amp; !isGroupMessage(m_previousMessage-&gt;type()) &amp;&amp; m_previousMessage-&gt;isEqual(consoleMessage.get())) {
-        m_previousMessage-&gt;incrementCount();
-        if (m_frontendDispatcher &amp;&amp; m_enabled)
-            m_previousMessage-&gt;updateRepeatCountInConsole(m_frontendDispatcher.get());
-    } else {
-        m_previousMessage = consoleMessage.get();
-        m_consoleMessages.append(consoleMessage);
-        if (m_frontendDispatcher &amp;&amp; m_enabled)
-            m_previousMessage-&gt;addToFrontend(m_frontendDispatcher.get(), m_injectedScriptManager, true);
-    }
-
-    if (!m_frontendDispatcher &amp;&amp; m_consoleMessages.size() &gt;= maximumConsoleMessages) {
-        m_expiredConsoleMessageCount += expireConsoleMessagesStep;
-        m_consoleMessages.remove(0, expireConsoleMessagesStep);
-    }
-}
-
-class InspectableHeapObject final : public CommandLineAPIHost::InspectableObject {
-public:
-    explicit InspectableHeapObject(int heapObjectId) : m_heapObjectId(heapObjectId) { }
-    virtual Deprecated::ScriptValue get(JSC::ExecState*) override
-    {
-        return ScriptProfiler::objectByHeapObjectId(m_heapObjectId);
-    }
-private:
-    int m_heapObjectId;
-};
-
-void InspectorConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
-{
-    if (CommandLineAPIHost* commandLineAPIHost = m_injectedScriptManager-&gt;commandLineAPIHost())
-        commandLineAPIHost-&gt;addInspectedObject(adoptPtr(new InspectableHeapObject(inspectedHeapObjectId)));
-}
-
-} // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorConsoleAgenth"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/InspectorConsoleAgent.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorConsoleAgent.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,115 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- *     notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- *     notice, this list of conditions and the following disclaimer in the
- *     documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef InspectorConsoleAgent_h
-#define InspectorConsoleAgent_h
-
-#if ENABLE(INSPECTOR)
-
-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
-#include &quot;InspectorWebAgentBase.h&quot;
-#include &quot;InspectorWebBackendDispatchers.h&quot;
-#include &quot;InspectorWebFrontendDispatchers.h&quot;
-#include &quot;ScriptState.h&quot;
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/HashMap.h&gt;
-#include &lt;wtf/Noncopyable.h&gt;
-#include &lt;wtf/Vector.h&gt;
-#include &lt;wtf/text/StringHash.h&gt;
-
-namespace WebCore {
-
-class ConsoleMessage;
-class DOMWindow;
-class InstrumentingAgents;
-class PageInjectedScriptManager;
-class ResourceError;
-class ResourceResponse;
-class ScriptArguments;
-class ScriptCallStack;
-class ScriptProfile;
-
-typedef String ErrorString;
-
-class InspectorConsoleAgent : public InspectorAgentBase, public Inspector::InspectorConsoleBackendDispatcherHandler {
-    WTF_MAKE_NONCOPYABLE(InspectorConsoleAgent);
-public:
-    InspectorConsoleAgent(InstrumentingAgents*, PageInjectedScriptManager*);
-    virtual ~InspectorConsoleAgent();
-
-    virtual void enable(ErrorString*) override;
-    virtual void disable(ErrorString*) override;
-    virtual void clearMessages(ErrorString*) override;
-    bool enabled() const { return m_enabled; }
-    void reset();
-
-    virtual void didCreateFrontendAndBackend(Inspector::InspectorFrontendChannel*, Inspector::InspectorBackendDispatcher*) override;
-    virtual void willDestroyFrontendAndBackend(Inspector::InspectorDisconnectReason) override;
-
-    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;, unsigned long requestIdentifier = 0);
-    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
-
-    // FIXME: Remove once we no longer generate stacks outside of Inspector.
-    void addMessageToConsole(MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
-
-    Vector&lt;unsigned&gt; consoleMessageArgumentCounts();
-
-    void startTiming(const String&amp; title);
-    void stopTiming(const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt;);
-    void count(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-
-    void frameWindowDiscarded(DOMWindow*);
-
-    void didFinishXHRLoading(unsigned long requestIdentifier, const String&amp; url, const String&amp; sendURL, unsigned sendLineNumber, unsigned sendColumnNumber);
-    void didReceiveResponse(unsigned long requestIdentifier, const ResourceResponse&amp;);
-    void didFailLoading(unsigned long requestIdentifier, const ResourceError&amp;);
-    void addProfileFinishedMessageToConsole(PassRefPtr&lt;ScriptProfile&gt;, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL);
-    void addStartProfilingMessageToConsole(const String&amp; title, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL);
-    virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) override;
-    virtual void addInspectedNode(ErrorString*, int nodeId) = 0;
-    virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId) override;
-
-    virtual bool isWorkerAgent() = 0;
-
-protected:
-    void addConsoleMessage(PassOwnPtr&lt;ConsoleMessage&gt;);
-
-    PageInjectedScriptManager* m_injectedScriptManager;
-    std::unique_ptr&lt;Inspector::InspectorConsoleFrontendDispatcher&gt; m_frontendDispatcher;
-    RefPtr&lt;Inspector::InspectorConsoleBackendDispatcher&gt; m_backendDispatcher;
-    ConsoleMessage* m_previousMessage;
-    Vector&lt;OwnPtr&lt;ConsoleMessage&gt;&gt; m_consoleMessages;
-    int m_expiredConsoleMessageCount;
-    HashMap&lt;String, unsigned&gt; m_counts;
-    HashMap&lt;String, double&gt; m_times;
-    bool m_enabled;
-    bool m_monitoringXHREnabled;
-};
-
-} // namespace WebCore
-
-#endif // ENABLE(INSPECTOR)
-
-#endif // !defined(InspectorConsoleAgent_h)
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorConsoleInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorConsoleInstrumentation.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -32,14 +32,14 @@
</span><span class="cx"> #define InspectorConsoleInstrumentation_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><del>-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><ins>+#include &lt;inspector/ScriptArguments.h&gt;
+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
</del><ins>+inline void InspectorInstrumentation::addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments, unsigned long requestIdentifier)
</del><ins>+inline void InspectorInstrumentation::addMessageToConsole(Page* page, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, JSC::ExecState* state, PassRefPtr&lt;Inspector::ScriptArguments&gt; arguments, unsigned long requestIdentifier)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
</span><span class="lines">@@ -91,7 +91,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
</del><ins>+inline void InspectorInstrumentation::addMessageToConsole(WorkerGlobalScope* workerGlobalScope, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForWorkerGlobalScope(workerGlobalScope))
</span><span class="lines">@@ -126,7 +126,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::consoleCount(Page* page, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</del><ins>+inline void InspectorInstrumentation::consoleCount(Page* page, JSC::ExecState* state, PassRefPtr&lt;Inspector::ScriptArguments&gt; arguments)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::stopConsoleTiming(Frame* frame, const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt; stack)
</del><ins>+inline void InspectorInstrumentation::stopConsoleTiming(Frame* frame, const String&amp; title, PassRefPtr&lt;Inspector::ScriptCallStack&gt; stack)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(frame))
</span><span class="lines">@@ -161,7 +161,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::consoleTimeStamp(Frame* frame, PassRefPtr&lt;ScriptArguments&gt; arguments)
</del><ins>+inline void InspectorInstrumentation::consoleTimeStamp(Frame* frame, PassRefPtr&lt;Inspector::ScriptArguments&gt; arguments)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     FAST_RETURN_IF_NO_FRONTENDS(void());
</span><span class="lines">@@ -187,7 +187,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-inline void InspectorInstrumentation::addProfile(Page* page, PassRefPtr&lt;ScriptProfile&gt; profile, PassRefPtr&lt;ScriptCallStack&gt; callStack)
</del><ins>+inline void InspectorInstrumentation::addProfile(Page* page, PassRefPtr&lt;ScriptProfile&gt; profile, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack)
</ins><span class="cx"> {
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx">     if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(page))
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorController.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorController.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorController.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;CommandLineAPIHost.h&quot;
</span><span class="cx"> #include &quot;DOMWrapperWorld.h&quot;
</span><span class="cx"> #include &quot;GraphicsContext.h&quot;
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;InspectorApplicationCacheAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorCSSAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorCanvasAgent.h&quot;
</span><span class="lines">@@ -72,6 +71,7 @@
</span><span class="cx"> #include &quot;PageInjectedScriptManager.h&quot;
</span><span class="cx"> #include &quot;PageRuntimeAgent.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> #include &lt;inspector/InspectorBackendDispatcher.h&gt;
</span><span class="cx"> #include &lt;inspector/agents/InspectorAgent.h&gt;
</span><span class="cx"> #include &lt;runtime/JSLock.h&gt;
</span><span class="lines">@@ -141,8 +141,9 @@
</span><span class="cx">     m_resourceAgent = resourceAgentPtr.get();
</span><span class="cx">     m_agents.append(std::move(resourceAgentPtr));
</span><span class="cx"> 
</span><del>-    auto consoleAgentPtr = std::make_unique&lt;PageConsoleAgent&gt;(m_instrumentingAgents.get(), m_injectedScriptManager.get(), m_domAgent);
-    InspectorConsoleAgent* consoleAgent = consoleAgentPtr.get();
</del><ins>+    auto consoleAgentPtr = std::make_unique&lt;PageConsoleAgent&gt;(m_injectedScriptManager.get(), m_domAgent);
+    WebConsoleAgent* consoleAgent = consoleAgentPtr.get();
+    m_instrumentingAgents-&gt;setWebConsoleAgent(consoleAgentPtr.get());
</ins><span class="cx">     m_agents.append(std::move(consoleAgentPtr));
</span><span class="cx"> 
</span><span class="cx">     auto debuggerAgentPtr = std::make_unique&lt;PageDebuggerAgent&gt;(m_injectedScriptManager.get(), m_instrumentingAgents.get(), pageAgent, m_overlay.get());
</span><span class="lines">@@ -271,7 +272,7 @@
</span><span class="cx">     m_inspectorBackendDispatcher.clear();
</span><span class="cx">     m_inspectorFrontendChannel = nullptr;
</span><span class="cx"> 
</span><del>-    // relese overlay page resources
</del><ins>+    // Release overlay page resources.
</ins><span class="cx">     m_overlay-&gt;freePage();
</span><span class="cx">     InspectorInstrumentation::frontendDeleted();
</span><span class="cx">     InspectorInstrumentation::unregisterInstrumentingAgents(m_instrumentingAgents.get());
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorDOMAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -63,7 +63,6 @@
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;HTMLTemplateElement.h&quot;
</span><span class="cx"> #include &quot;HitTestResult.h&quot;
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;InspectorHistory.h&quot;
</span><span class="cx"> #include &quot;InspectorNodeFinder.h&quot;
</span><span class="cx"> #include &quot;InspectorOverlay.h&quot;
</span><span class="lines">@@ -91,6 +90,7 @@
</span><span class="cx"> #include &quot;XPathResult.h&quot;
</span><span class="cx"> #include &quot;htmlediting.h&quot;
</span><span class="cx"> #include &quot;markup.h&quot;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> #include &lt;inspector/InjectedScript.h&gt;
</span><span class="cx"> #include &lt;inspector/InjectedScriptManager.h&gt;
</span><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorFrontendHosth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorFrontendHost.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorFrontendHost.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorFrontendHost.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #ifndef InspectorFrontendHost_h
</span><span class="cx"> #define InspectorFrontendHost_h
</span><span class="cx"> 
</span><del>-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;ContextMenu.h&quot;
</span><span class="cx"> #include &quot;ContextMenuProvider.h&quot;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorInstrumentationcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -35,8 +35,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSRule.h&quot;
</span><span class="cx"> #include &quot;CSSStyleRule.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;DOMWindow.h&quot;
</span><span class="cx"> #include &quot;DOMWrapperWorld.h&quot;
</span><span class="cx"> #include &quot;Database.h&quot;
</span><span class="lines">@@ -46,7 +44,6 @@
</span><span class="cx"> #include &quot;InspectorApplicationCacheAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorCSSAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorCanvasAgent.h&quot;
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
</del><span class="cx"> #include &quot;InspectorDOMAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorDOMDebuggerAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorDOMStorageAgent.h&quot;
</span><span class="lines">@@ -64,16 +61,18 @@
</span><span class="cx"> #include &quot;PageRuntimeAgent.h&quot;
</span><span class="cx"> #include &quot;RenderObject.h&quot;
</span><span class="cx"> #include &quot;RenderView.h&quot;
</span><del>-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &quot;StyleResolver.h&quot;
</span><span class="cx"> #include &quot;StyleRule.h&quot;
</span><ins>+#include &quot;WebConsoleAgent.h&quot;
</ins><span class="cx"> #include &quot;WorkerGlobalScope.h&quot;
</span><span class="cx"> #include &quot;WorkerRuntimeAgent.h&quot;
</span><span class="cx"> #include &quot;WorkerThread.h&quot;
</span><span class="cx"> #include &quot;XMLHttpRequest.h&quot;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
+#include &lt;inspector/ScriptArguments.h&gt;
+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;inspector/agents/InspectorDebuggerAgent.h&gt;
</span><span class="cx"> #include &lt;wtf/StdLibExtras.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="lines">@@ -183,7 +182,7 @@
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::frameWindowDiscardedImpl(InstrumentingAgents* instrumentingAgents, DOMWindow* window)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;frameWindowDiscarded(window);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -600,7 +599,7 @@
</span><span class="cx">     InstrumentingAgents* instrumentingAgents = cookie.instrumentingAgents();
</span><span class="cx">     if (InspectorResourceAgent* resourceAgent = instrumentingAgents-&gt;inspectorResourceAgent())
</span><span class="cx">         resourceAgent-&gt;didReceiveResponse(identifier, loader, response, resourceLoader);
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;didReceiveResponse(identifier, response); // This should come AFTER resource notification, front-end relies on this.
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -645,7 +644,7 @@
</span><span class="cx">         timelineAgent-&gt;didFinishLoadingResource(identifier, true, 0, loader-&gt;frame());
</span><span class="cx">     if (InspectorResourceAgent* resourceAgent = instrumentingAgents-&gt;inspectorResourceAgent())
</span><span class="cx">         resourceAgent-&gt;didFailLoading(identifier, loader, error);
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;didFailLoading(identifier, error); // This should come AFTER resource notification, front-end relies on this.
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -669,7 +668,7 @@
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::didFinishXHRLoadingImpl(InstrumentingAgents* instrumentingAgents, ThreadableLoaderClient* client, unsigned long identifier, const String&amp; sourceString, const String&amp; url, const String&amp; sendURL, unsigned sendLineNumber, unsigned sendColumnNumber)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;didFinishXHRLoading(identifier, url, sendURL, sendLineNumber, sendColumnNumber);
</span><span class="cx">     if (InspectorResourceAgent* resourceAgent = instrumentingAgents-&gt;inspectorResourceAgent())
</span><span class="cx">         resourceAgent-&gt;didFinishXHRLoading(client, identifier, sourceString);
</span><span class="lines">@@ -752,7 +751,7 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (loader-&gt;frame()-&gt;isMainFrame()) {
</span><del>-        if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+        if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">             consoleAgent-&gt;reset();
</span><span class="cx"> 
</span><span class="cx">         if (InspectorResourceAgent* resourceAgent = instrumentingAgents-&gt;inspectorResourceAgent())
</span><span class="lines">@@ -862,13 +861,13 @@
</span><span class="cx"> // JavaScriptCore InspectorDebuggerAgent should know Console MessageTypes.
</span><span class="cx"> static bool isConsoleAssertMessage(MessageSource source, MessageType type)
</span><span class="cx"> {
</span><del>-    return source == ConsoleAPIMessageSource &amp;&amp; type == AssertMessageType;
</del><ins>+    return source == MessageSource::ConsoleAPI &amp;&amp; type == MessageType::Assert;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // FIXME: Drop this once we no longer generate stacks outside of Inspector.
</span><span class="cx"> void InspectorInstrumentation::addMessageToConsoleImpl(InstrumentingAgents* instrumentingAgents, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack, unsigned long requestIdentifier)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;addMessageToConsole(source, type, level, message, callStack, requestIdentifier);
</span><span class="cx">     // FIXME: This should just pass the message on to the debugger agent. JavaScriptCore InspectorDebuggerAgent should know Console MessageTypes.
</span><span class="cx">     if (InspectorDebuggerAgent* debuggerAgent = instrumentingAgents-&gt;inspectorDebuggerAgent()) {
</span><span class="lines">@@ -879,7 +878,7 @@
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::addMessageToConsoleImpl(InstrumentingAgents* instrumentingAgents, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments, unsigned long requestIdentifier)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;addMessageToConsole(source, type, level, message, state, arguments, requestIdentifier);
</span><span class="cx">     // FIXME: This should just pass the message on to the debugger agent. JavaScriptCore InspectorDebuggerAgent should know Console MessageTypes.
</span><span class="cx">     if (InspectorDebuggerAgent* debuggerAgent = instrumentingAgents-&gt;inspectorDebuggerAgent()) {
</span><span class="lines">@@ -890,13 +889,13 @@
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::addMessageToConsoleImpl(InstrumentingAgents* instrumentingAgents, MessageSource source, MessageType type, MessageLevel level, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* state, unsigned long requestIdentifier)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;addMessageToConsole(source, type, level, message, scriptID, lineNumber, columnNumber, state, requestIdentifier);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::consoleCountImpl(InstrumentingAgents* instrumentingAgents, JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;count(state, arguments);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -904,13 +903,13 @@
</span><span class="cx"> {
</span><span class="cx">     if (InspectorTimelineAgent* timelineAgent = instrumentingAgents-&gt;inspectorTimelineAgent())
</span><span class="cx">         timelineAgent-&gt;time(frame, title);
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;startTiming(title);
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorInstrumentation::stopConsoleTimingImpl(InstrumentingAgents* instrumentingAgents, Frame* frame, const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt; stack)
</span><span class="cx"> {
</span><del>-    if (InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent())
</del><ins>+    if (WebConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent())
</ins><span class="cx">         consoleAgent-&gt;stopTiming(title, stack);
</span><span class="cx">     if (InspectorTimelineAgent* timelineAgent = instrumentingAgents-&gt;inspectorTimelineAgent())
</span><span class="cx">         timelineAgent-&gt;timeEnd(frame, title);
</span><span class="lines">@@ -1072,7 +1071,7 @@
</span><span class="cx"> bool InspectorInstrumentation::consoleAgentEnabled(ScriptExecutionContext* scriptExecutionContext)
</span><span class="cx"> {
</span><span class="cx">     InstrumentingAgents* instrumentingAgents = instrumentingAgentsForContext(scriptExecutionContext);
</span><del>-    InspectorConsoleAgent* consoleAgent = instrumentingAgents ? instrumentingAgents-&gt;inspectorConsoleAgent() : nullptr;
</del><ins>+    InspectorConsoleAgent* consoleAgent = instrumentingAgents ? instrumentingAgents-&gt;webConsoleAgent() : nullptr;
</ins><span class="cx">     return consoleAgent &amp;&amp; consoleAgent-&gt;enabled();
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorInstrumentationh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorInstrumentation.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorInstrumentation.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorInstrumentation.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -32,8 +32,6 @@
</span><span class="cx"> #define InspectorInstrumentation_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CSSSelector.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;Element.h&quot;
</span><span class="cx"> #include &quot;FormData.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="lines">@@ -44,12 +42,18 @@
</span><span class="cx"> #include &quot;ScriptState.h&quot;
</span><span class="cx"> #include &quot;StorageArea.h&quot;
</span><span class="cx"> #include &quot;WebSocketFrame.h&quot;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace Deprecated {
</span><span class="cx"> class ScriptObject;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+namespace Inspector {
+class ScriptArguments;
+class ScriptCallStack;
+}
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class CSSRule;
</span><span class="lines">@@ -77,8 +81,6 @@
</span><span class="cx"> class RenderObject;
</span><span class="cx"> class ResourceRequest;
</span><span class="cx"> class ResourceResponse;
</span><del>-class ScriptArguments;
-class ScriptCallStack;
</del><span class="cx"> class ScriptExecutionContext;
</span><span class="cx"> class ScriptProfile;
</span><span class="cx"> class SecurityOrigin;
</span><span class="lines">@@ -203,18 +205,18 @@
</span><span class="cx">     static void didWriteHTML(const InspectorInstrumentationCookie&amp;, unsigned endLine);
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Remove once we no longer generate stacks outside of Inspector.
</span><del>-    static void addMessageToConsole(Page*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
-    static void addMessageToConsole(Page*, MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;, unsigned long requestIdentifier = 0);
</del><ins>+    static void addMessageToConsole(Page*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
+    static void addMessageToConsole(Page*, MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;, unsigned long requestIdentifier = 0);
</ins><span class="cx">     static void addMessageToConsole(Page*, MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Convert to ScriptArguments to match non-worker context.
</span><del>-    static void addMessageToConsole(WorkerGlobalScope*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
</del><ins>+    static void addMessageToConsole(WorkerGlobalScope*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, unsigned long requestIdentifier = 0);
</ins><span class="cx">     static void addMessageToConsole(WorkerGlobalScope*, MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState* = nullptr, unsigned long requestIdentifier = 0);
</span><span class="cx"> 
</span><del>-    static void consoleCount(Page*, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    static void consoleCount(Page*, JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx">     static void startConsoleTiming(Frame*, const String&amp; title);
</span><del>-    static void stopConsoleTiming(Frame*, const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt;);
-    static void consoleTimeStamp(Frame*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    static void stopConsoleTiming(Frame*, const String&amp; title, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
+    static void consoleTimeStamp(Frame*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx"> 
</span><span class="cx">     static void didRequestAnimationFrame(Document*, int callbackId);
</span><span class="cx">     static void didCancelAnimationFrame(Document*, int callbackId);
</span><span class="lines">@@ -222,7 +224,7 @@
</span><span class="cx">     static void didFireAnimationFrame(const InspectorInstrumentationCookie&amp;);
</span><span class="cx"> 
</span><span class="cx">     static void addStartProfilingMessageToConsole(Page*, const String&amp; title, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL);
</span><del>-    static void addProfile(Page*, PassRefPtr&lt;ScriptProfile&gt;, PassRefPtr&lt;ScriptCallStack&gt;);
</del><ins>+    static void addProfile(Page*, PassRefPtr&lt;ScriptProfile&gt;, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
</ins><span class="cx">     static String getCurrentUserInitiatedProfileName(Page*, bool incrementProfileNumber);
</span><span class="cx">     static bool profilerEnabled(Page*);
</span><span class="cx"> 
</span><span class="lines">@@ -385,16 +387,16 @@
</span><span class="cx">     static InspectorInstrumentationCookie willWriteHTMLImpl(InstrumentingAgents*, unsigned startLine, Frame*);
</span><span class="cx">     static void didWriteHTMLImpl(const InspectorInstrumentationCookie&amp;, unsigned endLine);
</span><span class="cx"> 
</span><del>-    static void addMessageToConsoleImpl(InstrumentingAgents*, MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;, unsigned long requestIdentifier);
</del><ins>+    static void addMessageToConsoleImpl(InstrumentingAgents*, MessageSource, MessageType, MessageLevel, const String&amp; message, JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;, unsigned long requestIdentifier);
</ins><span class="cx">     static void addMessageToConsoleImpl(InstrumentingAgents*, MessageSource, MessageType, MessageLevel, const String&amp; message, const String&amp; scriptID, unsigned lineNumber, unsigned columnNumber, JSC::ExecState*, unsigned long requestIdentifier);
</span><span class="cx"> 
</span><span class="cx">     // FIXME: Remove once we no longer generate stacks outside of Inspector.
</span><del>-    static void addMessageToConsoleImpl(InstrumentingAgents*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;, unsigned long requestIdentifier);
</del><ins>+    static void addMessageToConsoleImpl(InstrumentingAgents*, MessageSource, MessageType, MessageLevel, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, unsigned long requestIdentifier);
</ins><span class="cx"> 
</span><del>-    static void consoleCountImpl(InstrumentingAgents*, JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    static void consoleCountImpl(InstrumentingAgents*, JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx">     static void startConsoleTimingImpl(InstrumentingAgents*, Frame*, const String&amp; title);
</span><del>-    static void stopConsoleTimingImpl(InstrumentingAgents*, Frame*, const String&amp; title, PassRefPtr&lt;ScriptCallStack&gt;);
-    static void consoleTimeStampImpl(InstrumentingAgents*, Frame*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    static void stopConsoleTimingImpl(InstrumentingAgents*, Frame*, const String&amp; title, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
+    static void consoleTimeStampImpl(InstrumentingAgents*, Frame*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx"> 
</span><span class="cx">     static void didRequestAnimationFrameImpl(InstrumentingAgents*, int callbackId, Frame*);
</span><span class="cx">     static void didCancelAnimationFrameImpl(InstrumentingAgents*, int callbackId, Frame*);
</span><span class="lines">@@ -402,7 +404,7 @@
</span><span class="cx">     static void didFireAnimationFrameImpl(const InspectorInstrumentationCookie&amp;);
</span><span class="cx"> 
</span><span class="cx">     static void addStartProfilingMessageToConsoleImpl(InstrumentingAgents*, const String&amp; title, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL);
</span><del>-    static void addProfileImpl(InstrumentingAgents*, RefPtr&lt;ScriptProfile&gt;, PassRefPtr&lt;ScriptCallStack&gt;);
</del><ins>+    static void addProfileImpl(InstrumentingAgents*, RefPtr&lt;ScriptProfile&gt;, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
</ins><span class="cx">     static String getCurrentUserInitiatedProfileNameImpl(InstrumentingAgents*, bool incrementProfileNumber);
</span><span class="cx">     static bool profilerEnabledImpl(InstrumentingAgents*);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorLayerTreeAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;InspectorLayerTreeAgent.h&quot;
</span><span class="cx"> 
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;InspectorDOMAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorWebFrontendDispatchers.h&quot;
</span><span class="cx"> #include &quot;InstrumentingAgents.h&quot;
</span><span class="lines">@@ -44,6 +43,7 @@
</span><span class="cx"> #include &quot;RenderLayerBacking.h&quot;
</span><span class="cx"> #include &quot;RenderLayerCompositor.h&quot;
</span><span class="cx"> #include &quot;RenderView.h&quot;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorPageAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorPageAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorPageAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorPageAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,11 +29,10 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><ins>+#include &quot;InspectorPageAgent.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><del>-#include &quot;InspectorPageAgent.h&quot;
-
</del><span class="cx"> #include &quot;CachedCSSStyleSheet.h&quot;
</span><span class="cx"> #include &quot;CachedFont.h&quot;
</span><span class="cx"> #include &quot;CachedImage.h&quot;
</span><span class="lines">@@ -53,7 +52,6 @@
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;ImageBuffer.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><span class="cx"> #include &quot;InspectorDOMAgent.h&quot;
</span><span class="lines">@@ -73,6 +71,7 @@
</span><span class="cx"> #include &quot;UserGestureIndicator.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><span class="cx"> #include &lt;inspector/ContentSearchUtilities.h&gt;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/ListHashSet.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorProfilerAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorProfilerAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -28,29 +28,27 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><ins>+#include &quot;InspectorProfilerAgent.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><del>-#include &quot;InspectorProfilerAgent.h&quot;
-
</del><span class="cx"> #include &quot;CommandLineAPIHost.h&quot;
</span><span class="cx"> #include &quot;Console.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
-#include &quot;InspectorConsoleAgent.h&quot;
</del><span class="cx"> #include &quot;InspectorWebFrontendDispatchers.h&quot;
</span><span class="cx"> #include &quot;InstrumentingAgents.h&quot;
</span><del>-#include &quot;URL.h&quot;
</del><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;PageInjectedScriptManager.h&quot;
</span><span class="cx"> #include &quot;PageScriptDebugServer.h&quot;
</span><span class="cx"> #include &quot;ScriptHeapSnapshot.h&quot;
</span><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &quot;ScriptProfiler.h&quot;
</span><ins>+#include &quot;URL.h&quot;
</ins><span class="cx"> #include &quot;WorkerScriptDebugServer.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptObject.h&gt;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;inspector/InjectedScript.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><ins>+#include &lt;inspector/agents/InspectorConsoleAgent.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/OwnPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/text/StringConcatenate.h&gt;
</span><span class="lines">@@ -156,14 +154,14 @@
</span><span class="cx">         return;
</span><span class="cx">     RefPtr&lt;ScriptProfile&gt; profile = prpProfile;
</span><span class="cx">     String message = makeString(profile-&gt;title(), '#', String::number(profile-&gt;uid()));
</span><del>-    m_consoleAgent-&gt;addMessageToConsole(ConsoleAPIMessageSource, ProfileEndMessageType, DebugMessageLevel, message, sourceURL, lineNumber, columnNumber);
</del><ins>+    m_consoleAgent-&gt;addMessageToConsole(MessageSource::ConsoleAPI, MessageType::ProfileEnd, MessageLevel::Debug, message, sourceURL, lineNumber, columnNumber);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorProfilerAgent::addStartProfilingMessageToConsole(const String&amp; title, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL)
</span><span class="cx"> {
</span><span class="cx">     if (!m_frontendDispatcher)
</span><span class="cx">         return;
</span><del>-    m_consoleAgent-&gt;addMessageToConsole(ConsoleAPIMessageSource, ProfileMessageType, DebugMessageLevel, title, sourceURL, lineNumber, columnNumber);
</del><ins>+    m_consoleAgent-&gt;addMessageToConsole(MessageSource::ConsoleAPI, MessageType::Profile, MessageLevel::Debug, title, sourceURL, lineNumber, columnNumber);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void InspectorProfilerAgent::collectGarbage(WebCore::ErrorString*)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorProfilerAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorProfilerAgent.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorProfilerAgent.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorProfilerAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -43,12 +43,12 @@
</span><span class="cx"> 
</span><span class="cx"> namespace Inspector {
</span><span class="cx"> class InspectorArray;
</span><ins>+class InspectorConsoleAgent;
</ins><span class="cx"> class InspectorObject;
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-class InspectorConsoleAgent;
</del><span class="cx"> class InstrumentingAgents;
</span><span class="cx"> class Page;
</span><span class="cx"> class PageInjectedScriptManager;
</span><span class="lines">@@ -61,8 +61,8 @@
</span><span class="cx"> class InspectorProfilerAgent : public InspectorAgentBase, public Inspector::InspectorProfilerBackendDispatcherHandler {
</span><span class="cx">     WTF_MAKE_NONCOPYABLE(InspectorProfilerAgent); WTF_MAKE_FAST_ALLOCATED;
</span><span class="cx"> public:
</span><del>-    static std::unique_ptr&lt;InspectorProfilerAgent&gt; create(InstrumentingAgents*, InspectorConsoleAgent*, Page*, PageInjectedScriptManager*);
-    static std::unique_ptr&lt;InspectorProfilerAgent&gt; create(InstrumentingAgents*, InspectorConsoleAgent*, WorkerGlobalScope*, PageInjectedScriptManager*);
</del><ins>+    static std::unique_ptr&lt;InspectorProfilerAgent&gt; create(InstrumentingAgents*, Inspector::InspectorConsoleAgent*, Page*, PageInjectedScriptManager*);
+    static std::unique_ptr&lt;InspectorProfilerAgent&gt; create(InstrumentingAgents*, Inspector::InspectorConsoleAgent*, WorkerGlobalScope*, PageInjectedScriptManager*);
</ins><span class="cx"> 
</span><span class="cx">     virtual ~InspectorProfilerAgent();
</span><span class="cx"> 
</span><span class="lines">@@ -101,7 +101,7 @@
</span><span class="cx">     virtual void getHeapObjectId(ErrorString*, const String&amp; objectId, String* heapSnapshotObjectId) override;
</span><span class="cx"> 
</span><span class="cx"> protected:
</span><del>-    InspectorProfilerAgent(InstrumentingAgents*, InspectorConsoleAgent*, PageInjectedScriptManager*);
</del><ins>+    InspectorProfilerAgent(InstrumentingAgents*, Inspector::InspectorConsoleAgent*, PageInjectedScriptManager*);
</ins><span class="cx">     virtual void startProfiling(const String&amp; title) = 0;
</span><span class="cx">     virtual PassRefPtr&lt;ScriptProfile&gt; stopProfiling(const String&amp; title) = 0;
</span><span class="cx"> 
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx">     PassRefPtr&lt;Inspector::TypeBuilder::Profiler::ProfileHeader&gt; createProfileHeader(const ScriptProfile&amp;);
</span><span class="cx">     PassRefPtr&lt;Inspector::TypeBuilder::Profiler::ProfileHeader&gt; createSnapshotHeader(const ScriptHeapSnapshot&amp;);
</span><span class="cx"> 
</span><del>-    InspectorConsoleAgent* m_consoleAgent;
</del><ins>+    Inspector::InspectorConsoleAgent* m_consoleAgent;
</ins><span class="cx">     PageInjectedScriptManager* m_injectedScriptManager;
</span><span class="cx">     std::unique_ptr&lt;Inspector::InspectorProfilerFrontendDispatcher&gt; m_frontendDispatcher;
</span><span class="cx">     RefPtr&lt;Inspector::InspectorProfilerBackendDispatcher&gt; m_backendDispatcher;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorResourceAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorResourceAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,11 +29,10 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><ins>+#include &quot;InspectorResourceAgent.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><del>-#include &quot;InspectorResourceAgent.h&quot;
-
</del><span class="cx"> #include &quot;CachedRawResource.h&quot;
</span><span class="cx"> #include &quot;CachedResource.h&quot;
</span><span class="cx"> #include &quot;CachedResourceLoader.h&quot;
</span><span class="lines">@@ -44,11 +43,11 @@
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="cx"> #include &quot;HTTPHeaderMap.h&quot;
</span><span class="cx"> #include &quot;IconController.h&quot;
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><span class="cx"> #include &quot;InspectorPageAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorWebFrontendDispatchers.h&quot;
</span><span class="cx"> #include &quot;InstrumentingAgents.h&quot;
</span><ins>+#include &quot;JSMainThreadExecState.h&quot;
</ins><span class="cx"> #include &quot;MemoryCache.h&quot;
</span><span class="cx"> #include &quot;NetworkResourcesData.h&quot;
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="lines">@@ -58,15 +57,16 @@
</span><span class="cx"> #include &quot;ResourceLoader.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><span class="cx"> #include &quot;ResourceResponse.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptableDocumentParser.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &quot;SubresourceLoader.h&quot;
</span><span class="cx"> #include &quot;URL.h&quot;
</span><span class="cx"> #include &quot;WebSocketFrame.h&quot;
</span><span class="cx"> #include &quot;XMLHttpRequest.h&quot;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/HexNumber.h&gt;
</span><span class="cx"> #include &lt;wtf/ListHashSet.h&gt;
</span><span class="lines">@@ -439,7 +439,7 @@
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;Inspector::TypeBuilder::Network::Initiator&gt; InspectorResourceAgent::buildInitiatorObject(Document* document)
</span><span class="cx"> {
</span><del>-    RefPtr&lt;ScriptCallStack&gt; stackTrace = createScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture, true);
</del><ins>+    RefPtr&lt;ScriptCallStack&gt; stackTrace = createScriptCallStack(JSMainThreadExecState::currentState(), ScriptCallStack::maxCallStackSizeToCapture, true);
</ins><span class="cx">     if (stackTrace &amp;&amp; stackTrace-&gt;size() &gt; 0) {
</span><span class="cx">         RefPtr&lt;Inspector::TypeBuilder::Network::Initiator&gt; initiatorObject = Inspector::TypeBuilder::Network::Initiator::create()
</span><span class="cx">             .setType(Inspector::TypeBuilder::Network::Initiator::Type::Script);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInspectorTimelineAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InspectorTimelineAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -37,7 +37,6 @@
</span><span class="cx"> #include &quot;Event.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><del>-#include &quot;IdentifiersFactory.h&quot;
</del><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><span class="cx"> #include &quot;InspectorCounters.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><span class="lines">@@ -53,6 +52,7 @@
</span><span class="cx"> #include &quot;ResourceResponse.h&quot;
</span><span class="cx"> #include &quot;ScriptProfiler.h&quot;
</span><span class="cx"> #include &quot;TimelineRecordFactory.h&quot;
</span><ins>+#include &lt;inspector/IdentifiersFactory.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInstrumentingAgentscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InstrumentingAgents.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InstrumentingAgents.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InstrumentingAgents.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">     , m_inspectorPageAgent(nullptr)
</span><span class="cx">     , m_inspectorCSSAgent(nullptr)
</span><span class="cx">     , m_inspectorLayerTreeAgent(nullptr)
</span><del>-    , m_inspectorConsoleAgent(nullptr)
</del><ins>+    , m_webConsoleAgent(nullptr)
</ins><span class="cx">     , m_inspectorDOMAgent(nullptr)
</span><span class="cx">     , m_inspectorResourceAgent(nullptr)
</span><span class="cx">     , m_pageRuntimeAgent(nullptr)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx">     m_inspectorPageAgent = nullptr;
</span><span class="cx">     m_inspectorCSSAgent = nullptr;
</span><span class="cx">     m_inspectorLayerTreeAgent = nullptr;
</span><del>-    m_inspectorConsoleAgent = nullptr;
</del><ins>+    m_webConsoleAgent = nullptr;
</ins><span class="cx">     m_inspectorDOMAgent = nullptr;
</span><span class="cx">     m_inspectorResourceAgent = nullptr;
</span><span class="cx">     m_pageRuntimeAgent = nullptr;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorInstrumentingAgentsh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/InstrumentingAgents.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/InstrumentingAgents.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/InstrumentingAgents.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -47,7 +47,6 @@
</span><span class="cx"> class InspectorApplicationCacheAgent;
</span><span class="cx"> class InspectorCSSAgent;
</span><span class="cx"> class InspectorCanvasAgent;
</span><del>-class InspectorConsoleAgent;
</del><span class="cx"> class InspectorDOMAgent;
</span><span class="cx"> class InspectorDOMDebuggerAgent;
</span><span class="cx"> class InspectorDOMStorageAgent;
</span><span class="lines">@@ -62,6 +61,7 @@
</span><span class="cx"> class Page;
</span><span class="cx"> class PageDebuggerAgent;
</span><span class="cx"> class PageRuntimeAgent;
</span><ins>+class WebConsoleAgent;
</ins><span class="cx"> class WorkerGlobalScope;
</span><span class="cx"> class WorkerRuntimeAgent;
</span><span class="cx"> 
</span><span class="lines">@@ -87,8 +87,8 @@
</span><span class="cx">     InspectorCSSAgent* inspectorCSSAgent() const { return m_inspectorCSSAgent; }
</span><span class="cx">     void setInspectorCSSAgent(InspectorCSSAgent* agent) { m_inspectorCSSAgent = agent; }
</span><span class="cx"> 
</span><del>-    InspectorConsoleAgent* inspectorConsoleAgent() const { return m_inspectorConsoleAgent; }
-    void setInspectorConsoleAgent(InspectorConsoleAgent* agent) { m_inspectorConsoleAgent = agent; }
</del><ins>+    WebConsoleAgent* webConsoleAgent() const { return m_webConsoleAgent; }
+    void setWebConsoleAgent(WebConsoleAgent* agent) { m_webConsoleAgent = agent; }
</ins><span class="cx"> 
</span><span class="cx">     InspectorDOMAgent* inspectorDOMAgent() const { return m_inspectorDOMAgent; }
</span><span class="cx">     void setInspectorDOMAgent(InspectorDOMAgent* agent) { m_inspectorDOMAgent = agent; }
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx">     InspectorPageAgent* m_inspectorPageAgent;
</span><span class="cx">     InspectorCSSAgent* m_inspectorCSSAgent;
</span><span class="cx">     InspectorLayerTreeAgent* m_inspectorLayerTreeAgent;
</span><del>-    InspectorConsoleAgent* m_inspectorConsoleAgent;
</del><ins>+    WebConsoleAgent* m_webConsoleAgent;
</ins><span class="cx">     InspectorDOMAgent* m_inspectorDOMAgent;
</span><span class="cx">     InspectorResourceAgent* m_inspectorResourceAgent;
</span><span class="cx">     PageRuntimeAgent* m_pageRuntimeAgent;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageConsoleAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageConsoleAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageConsoleAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/PageConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,7 +34,6 @@
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CommandLineAPIHost.h&quot;
</span><del>-#include &quot;DOMWindow.h&quot;
</del><span class="cx"> #include &quot;InspectorDOMAgent.h&quot;
</span><span class="cx"> #include &quot;Node.h&quot;
</span><span class="cx"> #include &quot;PageInjectedScriptManager.h&quot;
</span><span class="lines">@@ -43,21 +42,17 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-PageConsoleAgent::PageConsoleAgent(InstrumentingAgents* instrumentingAgents, PageInjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent)
-    : InspectorConsoleAgent(instrumentingAgents, injectedScriptManager)
</del><ins>+PageConsoleAgent::PageConsoleAgent(PageInjectedScriptManager* injectedScriptManager, InspectorDOMAgent* domAgent)
+    : WebConsoleAgent(injectedScriptManager)
</ins><span class="cx">     , m_inspectorDOMAgent(domAgent)
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-PageConsoleAgent::~PageConsoleAgent()
-{
-    m_inspectorDOMAgent = nullptr;
-}
-
</del><span class="cx"> void PageConsoleAgent::clearMessages(ErrorString* errorString)
</span><span class="cx"> {
</span><span class="cx">     m_inspectorDOMAgent-&gt;releaseDanglingNodes();
</span><del>-    InspectorConsoleAgent::clearMessages(errorString);
</del><ins>+
+    WebConsoleAgent::clearMessages(errorString);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> class InspectableNode final : public CommandLineAPIHost::InspectableObject {
</span><span class="lines">@@ -79,7 +74,7 @@
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    if (CommandLineAPIHost* commandLineAPIHost = m_injectedScriptManager-&gt;commandLineAPIHost())
</del><ins>+    if (CommandLineAPIHost* commandLineAPIHost = static_cast&lt;PageInjectedScriptManager*&gt;(m_injectedScriptManager)-&gt;commandLineAPIHost())
</ins><span class="cx">         commandLineAPIHost-&gt;addInspectedObject(adoptPtr(new InspectableNode(node)));
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageConsoleAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageConsoleAgent.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageConsoleAgent.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/PageConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -31,8 +31,7 @@
</span><span class="cx"> #ifndef PageConsoleAgent_h
</span><span class="cx"> #define PageConsoleAgent_h
</span><span class="cx"> 
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
-#include &lt;wtf/PassOwnPtr.h&gt;
</del><ins>+#include &quot;WebConsoleAgent.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><span class="lines">@@ -40,13 +39,14 @@
</span><span class="cx"> 
</span><span class="cx"> class InspectorDOMAgent;
</span><span class="cx"> 
</span><del>-class PageConsoleAgent : public InspectorConsoleAgent {
</del><ins>+class PageConsoleAgent final : public WebConsoleAgent {
</ins><span class="cx">     WTF_MAKE_NONCOPYABLE(PageConsoleAgent);
</span><ins>+    WTF_MAKE_FAST_ALLOCATED;
</ins><span class="cx"> public:
</span><del>-    PageConsoleAgent(InstrumentingAgents*, PageInjectedScriptManager*, InspectorDOMAgent*);
-    virtual ~PageConsoleAgent();
</del><ins>+    PageConsoleAgent(PageInjectedScriptManager*, InspectorDOMAgent*);
+    virtual ~PageConsoleAgent() { }
</ins><span class="cx"> 
</span><del>-    virtual bool isWorkerAgent() override { return false; }
</del><ins>+    virtual bool isWorkerAgent() const override { return false; }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     virtual void clearMessages(ErrorString*) override;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageDebuggerAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/PageDebuggerAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -43,6 +43,8 @@
</span><span class="cx"> #include &quot;ScriptState.h&quot;
</span><span class="cx"> #include &lt;inspector/InjectedScript.h&gt;
</span><span class="cx"> #include &lt;inspector/InjectedScriptManager.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span><span class="cx"> 
</span><span class="lines">@@ -113,9 +115,9 @@
</span><span class="cx">     PageConsole::unmute();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void PageDebuggerAgent::breakpointActionLog(JSC::ExecState*, const String&amp; message)
</del><ins>+void PageDebuggerAgent::breakpointActionLog(JSC::ExecState* exec, const String&amp; message)
</ins><span class="cx"> {
</span><del>-    m_pageAgent-&gt;page()-&gt;console().addMessage(JSMessageSource, LogMessageLevel, message);
</del><ins>+    m_pageAgent-&gt;page()-&gt;console().addMessage(MessageSource::JS, MessageLevel::Log, message, createScriptCallStack(exec, ScriptCallStack::maxCallStackSizeToCapture, true));
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> InjectedScript PageDebuggerAgent::injectedScriptForEval(ErrorString* errorString, const int* executionContextId)
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageInjectedScriptHosth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageInjectedScriptHost.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageInjectedScriptHost.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/PageInjectedScriptHost.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -32,6 +32,7 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><ins>+// FIXME: Rename to WebInjectedScriptHost.
</ins><span class="cx"> class PageInjectedScriptHost final : public Inspector::InjectedScriptHost {
</span><span class="cx"> public:
</span><span class="cx">     static PassRefPtr&lt;PageInjectedScriptHost&gt; create() { return adoptRef(new PageInjectedScriptHost); }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorPageInjectedScriptManagerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/PageInjectedScriptManager.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/PageInjectedScriptManager.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/PageInjectedScriptManager.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,6 +34,7 @@
</span><span class="cx"> 
</span><span class="cx"> class DOMWindow;
</span><span class="cx"> 
</span><ins>+// FIXME: Rename to WebInjectedScriptManager.
</ins><span class="cx"> class PageInjectedScriptManager final : public Inspector::InjectedScriptManager {
</span><span class="cx"> public:
</span><span class="cx">     PageInjectedScriptManager(Inspector::InspectorEnvironment&amp;, PassRefPtr&lt;Inspector::InjectedScriptHost&gt;);
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptArgumentscpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptArguments.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptArguments.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptArguments.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,101 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;ScriptArguments.h&quot;
-
-#include &lt;bindings/ScriptValue.h&gt;
-
-namespace WebCore {
-
-PassRefPtr&lt;ScriptArguments&gt; ScriptArguments::create(JSC::ExecState* scriptState, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments)
-{
-    return adoptRef(new ScriptArguments(scriptState, arguments));
-}
-
-ScriptArguments::ScriptArguments(JSC::ExecState* scriptState, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments)
-    : m_globalObject(scriptState-&gt;vm(), scriptState-&gt;lexicalGlobalObject())
-{
-    m_arguments.swap(arguments);
-}
-
-ScriptArguments::~ScriptArguments()
-{
-}
-
-const Deprecated::ScriptValue &amp;ScriptArguments::argumentAt(size_t index) const
-{
-    ASSERT(m_arguments.size() &gt; index);
-    return m_arguments[index];
-}
-
-JSC::ExecState* ScriptArguments::globalState() const
-{
-    if (m_globalObject)
-        return const_cast&lt;JSC::JSGlobalObject*&gt;(m_globalObject.get())-&gt;globalExec();
-    return nullptr;
-}
-
-bool ScriptArguments::getFirstArgumentAsString(String&amp; result, bool checkForNullOrUndefined)
-{
-    if (!argumentCount())
-        return false;
-
-    const Deprecated::ScriptValue&amp; value = argumentAt(0);
-    if (checkForNullOrUndefined &amp;&amp; (value.isNull() || value.isUndefined()))
-        return false;
-
-    if (!globalState()) {
-        ASSERT_NOT_REACHED();
-        return false;
-    }
-
-    result = value.toString(globalState());
-    return true;
-}
-
-bool ScriptArguments::isEqual(ScriptArguments* other) const
-{
-    if (!other)
-        return false;
-
-    if (m_arguments.size() != other-&gt;m_arguments.size())
-        return false;
-    if (!globalState() &amp;&amp; m_arguments.size())
-        return false;
-
-    for (size_t i = 0; i &lt; m_arguments.size(); ++i) {
-        if (!m_arguments[i].isEqual(other-&gt;globalState(), other-&gt;m_arguments[i]))
-            return false;
-    }
-    return true;
-}
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptArgumentsh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptArguments.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptArguments.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptArguments.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,74 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ScriptArguments_h
-#define ScriptArguments_h
-
-#include &lt;heap/Strong.h&gt;
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/RefCounted.h&gt;
-#include &lt;wtf/Vector.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-namespace Deprecated {
-class ScriptValue;
-}
-
-namespace JSC {
-class ExecState;
-class JSGlobalObject;
-}
-
-namespace WebCore {
-
-class ScriptArguments : public RefCounted&lt;ScriptArguments&gt; {
-public:
-    static PassRefPtr&lt;ScriptArguments&gt; create(JSC::ExecState*, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments);
-
-    ~ScriptArguments();
-
-    const Deprecated::ScriptValue&amp; argumentAt(size_t) const;
-    size_t argumentCount() const { return m_arguments.size(); }
-
-    JSC::ExecState* globalState() const;
-
-    bool getFirstArgumentAsString(WTF::String&amp; result, bool checkForNullOrUndefined = false);
-    bool isEqual(ScriptArguments*) const;
-
-private:
-    ScriptArguments(JSC::ExecState*, Vector&lt;Deprecated::ScriptValue&gt;&amp; arguments);
-
-    JSC::Strong&lt;JSC::JSGlobalObject&gt; m_globalObject;
-    Vector&lt;Deprecated::ScriptValue&gt; m_arguments;
-};
-
-} // namespace WebCore
-
-#endif // ScriptArguments_h
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptCallFramecpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptCallFrame.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptCallFrame.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptCallFrame.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,74 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;ScriptCallFrame.h&quot;
-
-#include &quot;InspectorWebFrontendDispatchers.h&quot;
-#include &lt;inspector/InspectorValues.h&gt;
-#include &lt;wtf/RefPtr.h&gt;
-
-using namespace Inspector;
-
-namespace WebCore {
-
-ScriptCallFrame::ScriptCallFrame(const String&amp; functionName, const String&amp; scriptName, unsigned lineNumber, unsigned column)
-    : m_functionName(functionName)
-    , m_scriptName(scriptName)
-    , m_lineNumber(lineNumber)
-    , m_column(column)
-{
-}
-
-ScriptCallFrame::~ScriptCallFrame()
-{
-}
-
-bool ScriptCallFrame::isEqual(const ScriptCallFrame&amp; o) const
-{
-    return m_functionName == o.m_functionName
-        &amp;&amp; m_scriptName == o.m_scriptName
-        &amp;&amp; m_lineNumber == o.m_lineNumber
-        &amp;&amp; m_column == o.m_column;
-}
-
-#if ENABLE(INSPECTOR)
-PassRefPtr&lt;Inspector::TypeBuilder::Console::CallFrame&gt; ScriptCallFrame::buildInspectorObject() const
-{
-    return Inspector::TypeBuilder::Console::CallFrame::create()
-        .setFunctionName(m_functionName)
-        .setUrl(m_scriptName)
-        .setLineNumber(m_lineNumber)
-        .setColumnNumber(m_column)
-        .release();
-}
-#endif
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptCallFrameh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptCallFrame.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptCallFrame.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptCallFrame.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-/*
- * Copyright (c) 2010 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ScriptCallFrame_h
-#define ScriptCallFrame_h
-
-#if ENABLE(INSPECTOR)
-#include &quot;InspectorWebTypeBuilders.h&quot;
-#endif
-
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/text/WTFString.h&gt;
-
-namespace Inspector {
-class InspectorObject;
-}
-
-namespace WebCore {
-
-class ScriptCallFrame  {
-public:
-    ScriptCallFrame(const String&amp; functionName, const String&amp; scriptName, unsigned lineNumber, unsigned column);
-    ~ScriptCallFrame();
-
-    const String&amp; functionName() const { return m_functionName; }
-    const String&amp; sourceURL() const { return m_scriptName; }
-    unsigned lineNumber() const { return m_lineNumber; }
-    unsigned columnNumber() const { return m_column; }
-
-    bool isEqual(const ScriptCallFrame&amp;) const;
-
-#if ENABLE(INSPECTOR)
-    PassRefPtr&lt;Inspector::TypeBuilder::Console::CallFrame&gt; buildInspectorObject() const;
-#endif
-
-private:
-    String m_functionName;
-    String m_scriptName;
-    unsigned m_lineNumber;
-    unsigned m_column;
-};
-
-} // namespace WebCore
-
-#endif // ScriptCallFrame_h
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptCallStackcpp"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptCallStack.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptCallStack.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptCallStack.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,93 +0,0 @@
</span><del>-/*
- * Copyright (c) 2008, Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include &quot;config.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-
-#include &quot;InspectorWebTypeBuilders.h&quot;
-#include &lt;inspector/InspectorValues.h&gt;
-
-using namespace Inspector;
-
-namespace WebCore {
-
-PassRefPtr&lt;ScriptCallStack&gt; ScriptCallStack::create(Vector&lt;ScriptCallFrame&gt;&amp; frames)
-{
-    return adoptRef(new ScriptCallStack(frames));
-}
-
-ScriptCallStack::ScriptCallStack(Vector&lt;ScriptCallFrame&gt;&amp; frames)
-{
-    m_frames.swap(frames);
-}
-
-ScriptCallStack::~ScriptCallStack()
-{
-}
-
-const ScriptCallFrame &amp;ScriptCallStack::at(size_t index) const
-{
-    ASSERT(m_frames.size() &gt; index);
-    return m_frames[index];
-}
-
-size_t ScriptCallStack::size() const
-{
-    return m_frames.size();
-}
-
-bool ScriptCallStack::isEqual(ScriptCallStack* o) const
-{
-    if (!o)
-        return false;
-
-    size_t frameCount = o-&gt;m_frames.size();
-    if (frameCount != m_frames.size())
-        return false;
-
-    for (size_t i = 0; i &lt; frameCount; ++i) {
-        if (!m_frames[i].isEqual(o-&gt;m_frames[i]))
-            return false;
-    }
-
-    return true;
-}
-
-#if ENABLE(INSPECTOR)
-PassRefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; ScriptCallStack::buildInspectorArray() const
-{
-    RefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; frames = Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;::create();
-    for (size_t i = 0; i &lt; m_frames.size(); i++)
-        frames-&gt;addItem(m_frames.at(i).buildInspectorObject());
-    return frames;
-}
-#endif
-
-} // namespace WebCore
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorScriptCallStackh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/ScriptCallStack.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/ScriptCallStack.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/ScriptCallStack.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,70 +0,0 @@
</span><del>-/*
- * Copyright (c) 2008, 2010 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * 
- *     * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *     * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *     * Neither the name of Google Inc. nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ScriptCallStack_h
-#define ScriptCallStack_h
-
-#if ENABLE(INSPECTOR)
-#include &quot;InspectorWebTypeBuilders.h&quot;
-#endif
-
-#include &quot;ScriptCallFrame.h&quot;
-#include &lt;wtf/Forward.h&gt;
-#include &lt;wtf/RefCounted.h&gt;
-#include &lt;wtf/Vector.h&gt;
-
-namespace WebCore {
-
-class ScriptCallStack : public RefCounted&lt;ScriptCallStack&gt; {
-public:
-    static const size_t maxCallStackSizeToCapture = 200;
-    
-    static PassRefPtr&lt;ScriptCallStack&gt; create(Vector&lt;ScriptCallFrame&gt;&amp;);
-
-    ~ScriptCallStack();
-
-    const ScriptCallFrame &amp;at(size_t) const;
-    size_t size() const;
-
-    bool isEqual(ScriptCallStack*) const;
-
-#if ENABLE(INSPECTOR)
-    PassRefPtr&lt;Inspector::TypeBuilder::Array&lt;Inspector::TypeBuilder::Console::CallFrame&gt;&gt; buildInspectorArray() const;
-#endif
-
-private:
-    ScriptCallStack(Vector&lt;ScriptCallFrame&gt;&amp;);
-
-    Vector&lt;ScriptCallFrame&gt; m_frames;
-};
-
-} // namespace WebCore
-
-#endif // ScriptCallStack_h
</del></span></pre></div>
<a id="trunkSourceWebCoreinspectorTimelineRecordFactorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/TimelineRecordFactory.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -37,13 +37,14 @@
</span><span class="cx"> #include &quot;Event.h&quot;
</span><span class="cx"> #include &quot;FloatQuad.h&quot;
</span><span class="cx"> #include &quot;IntRect.h&quot;
</span><ins>+#include &quot;JSMainThreadExecState.h&quot;
</ins><span class="cx"> #include &quot;LayoutRect.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><span class="cx"> #include &quot;ResourceResponse.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace Inspector;
</span><span class="lines">@@ -56,7 +57,7 @@
</span><span class="cx">     record-&gt;setNumber(&quot;startTime&quot;, startTime);
</span><span class="cx"> 
</span><span class="cx">     if (maxCallStackDepth) {
</span><del>-        RefPtr&lt;ScriptCallStack&gt; stackTrace = createScriptCallStack(maxCallStackDepth, true);
</del><ins>+        RefPtr&lt;ScriptCallStack&gt; stackTrace = createScriptCallStack(JSMainThreadExecState::currentState(), maxCallStackDepth, true);
</ins><span class="cx">         if (stackTrace &amp;&amp; stackTrace-&gt;size())
</span><span class="cx">             record-&gt;setValue(&quot;stackTrace&quot;, stackTrace-&gt;buildInspectorArray());
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWebConsoleAgentcpp"></a>
<div class="addfile"><h4>Added: trunk/Source/WebCore/inspector/WebConsoleAgent.cpp (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WebConsoleAgent.cpp                                (rev 0)
+++ trunk/Source/WebCore/inspector/WebConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,137 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2011 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+#include &quot;config.h&quot;
+#include &quot;WebConsoleAgent.h&quot;
+
+#if ENABLE(INSPECTOR)
+
+#include &quot;CommandLineAPIHost.h&quot;
+#include &quot;Console.h&quot;
+#include &quot;DOMWindow.h&quot;
+#include &quot;PageInjectedScriptManager.h&quot;
+#include &quot;ResourceError.h&quot;
+#include &quot;ResourceResponse.h&quot;
+#include &quot;ScriptProfiler.h&quot;
+#include &quot;ScriptState.h&quot;
+#include &lt;inspector/ConsoleMessage.h&gt;
+
+using namespace Inspector;
+
+namespace WebCore {
+
+WebConsoleAgent::WebConsoleAgent(PageInjectedScriptManager* injectedScriptManager)
+    : InspectorConsoleAgent(injectedScriptManager)
+    , m_monitoringXHREnabled(false)
+{
+}
+
+void WebConsoleAgent::setMonitoringXHREnabled(ErrorString*, bool enabled)
+{
+    m_monitoringXHREnabled = enabled;
+}
+
+void WebConsoleAgent::frameWindowDiscarded(DOMWindow* window)
+{
+    size_t messageCount = m_consoleMessages.size();
+    for (size_t i = 0; i &lt; messageCount; ++i) {
+        JSC::ExecState* exec = m_consoleMessages[i]-&gt;scriptState();
+        if (!exec)
+            continue;
+        if (domWindowFromExecState(exec) != window)
+            continue;
+        m_consoleMessages[i]-&gt;clear();
+    }
+
+    static_cast&lt;PageInjectedScriptManager*&gt;(m_injectedScriptManager)-&gt;discardInjectedScriptsFor(window);
+}
+
+void WebConsoleAgent::didFinishXHRLoading(unsigned long requestIdentifier, const String&amp; url, const String&amp; sendURL, unsigned sendLineNumber, unsigned sendColumnNumber)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    if (m_frontendDispatcher &amp;&amp; m_monitoringXHREnabled) {
+        String message = &quot;XHR finished loading: \&quot;&quot; + url + &quot;\&quot;.&quot;;
+        addMessageToConsole(MessageSource::Network, MessageType::Log, MessageLevel::Debug, message, sendURL, sendLineNumber, sendColumnNumber, nullptr, requestIdentifier);
+    }
+}
+
+void WebConsoleAgent::didReceiveResponse(unsigned long requestIdentifier, const ResourceResponse&amp; response)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    if (response.httpStatusCode() &gt;= 400) {
+        String message = &quot;Failed to load resource: the server responded with a status of &quot; + String::number(response.httpStatusCode()) + &quot; (&quot; + response.httpStatusText() + ')';
+        addMessageToConsole(MessageSource::Network, MessageType::Log, MessageLevel::Error, message, response.url().string(), 0, 0, nullptr, requestIdentifier);
+    }
+}
+
+void WebConsoleAgent::didFailLoading(unsigned long requestIdentifier, const ResourceError&amp; error)
+{
+    if (!m_injectedScriptManager-&gt;inspectorEnvironment().developerExtrasEnabled())
+        return;
+
+    // Report failures only.
+    if (error.isCancellation())
+        return;
+
+    StringBuilder message;
+    message.appendLiteral(&quot;Failed to load resource&quot;);
+    if (!error.localizedDescription().isEmpty()) {
+        message.appendLiteral(&quot;: &quot;);
+        message.append(error.localizedDescription());
+    }
+
+    addMessageToConsole(MessageSource::Network, MessageType::Log, MessageLevel::Error, message.toString(), error.failingURL(), 0, 0, nullptr, requestIdentifier);
+}
+
+class InspectableHeapObject final : public CommandLineAPIHost::InspectableObject {
+public:
+    explicit InspectableHeapObject(int heapObjectId)
+        : m_heapObjectId(heapObjectId)
+    {
+    }
+
+    virtual Deprecated::ScriptValue get(JSC::ExecState*) override
+    {
+        return ScriptProfiler::objectByHeapObjectId(m_heapObjectId);
+    }
+
+private:
+    int m_heapObjectId;
+};
+
+void WebConsoleAgent::addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId)
+{
+    if (CommandLineAPIHost* commandLineAPIHost = static_cast&lt;PageInjectedScriptManager*&gt;(m_injectedScriptManager)-&gt;commandLineAPIHost())
+        commandLineAPIHost-&gt;addInspectedObject(adoptPtr(new InspectableHeapObject(inspectedHeapObjectId)));
+}
+
+} // namespace WebCore
+
+#endif // ENABLE(INSPECTOR)
</ins></span></pre></div>
<a id="trunkSourceWebCoreinspectorWebConsoleAgenthfromrev163567trunkSourceWebCoreinspectorConsoleAPITypesh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebCore/inspector/WebConsoleAgent.h (from rev 163567, trunk/Source/WebCore/inspector/ConsoleAPITypes.h) (0 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WebConsoleAgent.h                                (rev 0)
+++ trunk/Source/WebCore/inspector/WebConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+/*
+ * Copyright (C) 2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2011 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1.  Redistributions of source code must retain the above copyright
+ *     notice, this list of conditions and the following disclaimer.
+ * 2.  Redistributions in binary form must reproduce the above copyright
+ *     notice, this list of conditions and the following disclaimer in the
+ *     documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef WebConsoleAgent_h
+#define WebConsoleAgent_h
+
+#if ENABLE(INSPECTOR)
+
+#include &lt;inspector/agents/InspectorConsoleAgent.h&gt;
+
+namespace WebCore {
+
+class DOMWindow;
+class PageInjectedScriptManager;
+class ResourceError;
+class ResourceResponse;
+typedef String ErrorString;
+
+class WebConsoleAgent : public Inspector::InspectorConsoleAgent {
+    WTF_MAKE_NONCOPYABLE(WebConsoleAgent);
+    WTF_MAKE_FAST_ALLOCATED;
+public:
+    WebConsoleAgent(PageInjectedScriptManager*);
+    virtual ~WebConsoleAgent() { }
+
+    virtual void setMonitoringXHREnabled(ErrorString*, bool enabled) override final;
+    virtual void addInspectedHeapObject(ErrorString*, int inspectedHeapObjectId) override final;
+
+    void frameWindowDiscarded(DOMWindow*);
+
+    void didFinishXHRLoading(unsigned long requestIdentifier, const String&amp; url, const String&amp; sendURL, unsigned sendLineNumber, unsigned sendColumnNumber);
+    void didReceiveResponse(unsigned long requestIdentifier, const ResourceResponse&amp;);
+    void didFailLoading(unsigned long requestIdentifier, const ResourceError&amp;);
+
+protected:
+    bool m_monitoringXHREnabled;
+};
+
+} // namespace WebCore
+
+#endif // ENABLE(INSPECTOR)
+
+#endif // !defined(WebConsoleAgent_h)
</ins></span></pre></div>
<a id="trunkSourceWebCoreinspectorWorkerConsoleAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WorkerConsoleAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WorkerConsoleAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/WorkerConsoleAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -38,18 +38,14 @@
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-WorkerConsoleAgent::WorkerConsoleAgent(InstrumentingAgents* instrumentingAgents, PageInjectedScriptManager* injectedScriptManager)
-    : InspectorConsoleAgent(instrumentingAgents, injectedScriptManager)
</del><ins>+WorkerConsoleAgent::WorkerConsoleAgent(PageInjectedScriptManager* injectedScriptManager)
+    : WebConsoleAgent(injectedScriptManager)
</ins><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WorkerConsoleAgent::~WorkerConsoleAgent()
-{
-}
-
</del><span class="cx"> void WorkerConsoleAgent::addInspectedNode(ErrorString* error, int)
</span><span class="cx"> {
</span><del>-    *error = &quot;addInspectedNode is not supported for workers&quot;;
</del><ins>+    *error = ASCIILiteral(&quot;addInspectedNode is not supported for workers&quot;);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWorkerConsoleAgenth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WorkerConsoleAgent.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WorkerConsoleAgent.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/WorkerConsoleAgent.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -31,20 +31,20 @@
</span><span class="cx"> #ifndef WorkerConsoleAgent_h
</span><span class="cx"> #define WorkerConsoleAgent_h
</span><span class="cx"> 
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
-#include &lt;wtf/PassOwnPtr.h&gt;
</del><ins>+#include &quot;WebConsoleAgent.h&quot;
</ins><span class="cx"> 
</span><span class="cx"> #if ENABLE(INSPECTOR)
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><del>-class WorkerConsoleAgent : public InspectorConsoleAgent {
</del><ins>+class WorkerConsoleAgent final : public WebConsoleAgent {
</ins><span class="cx">     WTF_MAKE_NONCOPYABLE(WorkerConsoleAgent);
</span><ins>+    WTF_MAKE_FAST_ALLOCATED;
</ins><span class="cx"> public:
</span><del>-    WorkerConsoleAgent(InstrumentingAgents*, PageInjectedScriptManager*);
-    virtual ~WorkerConsoleAgent();
</del><ins>+    WorkerConsoleAgent(PageInjectedScriptManager*);
+    virtual ~WorkerConsoleAgent() { }
</ins><span class="cx"> 
</span><del>-    virtual bool isWorkerAgent() override { return true; }
</del><ins>+    virtual bool isWorkerAgent() const override { return true; }
</ins><span class="cx"> 
</span><span class="cx"> private:
</span><span class="cx">     virtual void addInspectedNode(ErrorString*, int nodeId) override;
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWorkerDebuggerAgentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/WorkerDebuggerAgent.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -129,7 +129,7 @@
</span><span class="cx"> 
</span><span class="cx"> void WorkerDebuggerAgent::breakpointActionLog(JSC::ExecState*, const String&amp; message)
</span><span class="cx"> {
</span><del>-    m_inspectedWorkerGlobalScope-&gt;addConsoleMessage(JSMessageSource, LogMessageLevel, message);
</del><ins>+    m_inspectedWorkerGlobalScope-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Log, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> WorkerScriptDebugServer&amp; WorkerDebuggerAgent::scriptDebugServer()
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorWorkerInspectorControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/inspector/WorkerInspectorController.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/WorkerInspectorController.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/WorkerInspectorController.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;CommandLineAPIHost.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
</del><span class="cx"> #include &quot;InspectorForwarding.h&quot;
</span><span class="cx"> #include &quot;InspectorHeapProfilerAgent.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><span class="lines">@@ -90,7 +89,9 @@
</span><span class="cx">     m_instrumentingAgents-&gt;setWorkerRuntimeAgent(m_runtimeAgent);
</span><span class="cx">     m_agents.append(std::move(runtimeAgent));
</span><span class="cx"> 
</span><del>-    auto consoleAgent = std::make_unique&lt;WorkerConsoleAgent&gt;(m_instrumentingAgents.get(), m_injectedScriptManager.get());
</del><ins>+    auto consoleAgent = std::make_unique&lt;WorkerConsoleAgent&gt;(m_injectedScriptManager.get());
+    m_instrumentingAgents-&gt;setWebConsoleAgent(consoleAgent.get());
+
</ins><span class="cx">     auto debuggerAgent = std::make_unique&lt;WorkerDebuggerAgent&gt;(m_injectedScriptManager.get(), m_instrumentingAgents.get(), &amp;workerGlobalScope);
</span><span class="cx">     m_runtimeAgent-&gt;setScriptDebugServer(&amp;debuggerAgent-&gt;scriptDebugServer());
</span><span class="cx">     m_agents.append(std::move(debuggerAgent));
</span></span></pre></div>
<a id="trunkSourceWebCoreinspectorprotocolConsolejson"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/inspector/protocol/Console.json (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/inspector/protocol/Console.json        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/inspector/protocol/Console.json        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,95 +0,0 @@
</span><del>-{
-    &quot;domain&quot;: &quot;Console&quot;,
-    &quot;description&quot;: &quot;Console domain defines methods and events for interaction with the JavaScript console. Console collects messages created by means of the &lt;a href='http://getfirebug.com/wiki/index.php/Console_API'&gt;JavaScript Console API&lt;/a&gt;. One needs to enable this domain using &lt;code&gt;enable&lt;/code&gt; command in order to start receiving the console messages. Browser collects messages issued while console domain is not enabled as well and reports them using &lt;code&gt;messageAdded&lt;/code&gt; notification upon enabling.&quot;,
-    &quot;types&quot;: [
-        {
-            &quot;id&quot;: &quot;ConsoleMessage&quot;,
-            &quot;type&quot;: &quot;object&quot;,
-            &quot;description&quot;: &quot;Console message.&quot;,
-            &quot;properties&quot;: [
-                { &quot;name&quot;: &quot;source&quot;, &quot;type&quot;: &quot;string&quot;, &quot;enum&quot;: [&quot;xml&quot;, &quot;javascript&quot;, &quot;network&quot;, &quot;console-api&quot;, &quot;storage&quot;, &quot;appcache&quot;, &quot;rendering&quot;, &quot;css&quot;, &quot;security&quot;, &quot;other&quot;], &quot;description&quot;: &quot;Message source.&quot; },
-                { &quot;name&quot;: &quot;level&quot;, &quot;type&quot;: &quot;string&quot;, &quot;enum&quot;: [&quot;log&quot;, &quot;warning&quot;, &quot;error&quot;, &quot;debug&quot;], &quot;description&quot;: &quot;Message severity.&quot; },
-                { &quot;name&quot;: &quot;text&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;Message text.&quot; },
-                { &quot;name&quot;: &quot;type&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;enum&quot;: [&quot;log&quot;, &quot;dir&quot;, &quot;dirxml&quot;, &quot;table&quot;, &quot;trace&quot;, &quot;clear&quot;, &quot;startGroup&quot;, &quot;startGroupCollapsed&quot;, &quot;endGroup&quot;, &quot;assert&quot;, &quot;timing&quot;, &quot;profile&quot;, &quot;profileEnd&quot;], &quot;description&quot;: &quot;Console message type.&quot; },
-                { &quot;name&quot;: &quot;url&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;URL of the message origin.&quot; },
-                { &quot;name&quot;: &quot;line&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Line number in the resource that generated this message.&quot; },
-                { &quot;name&quot;: &quot;column&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Column number on the line in the resource that generated this message.&quot; },
-                { &quot;name&quot;: &quot;repeatCount&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Repeat count for repeated messages.&quot; },
-                { &quot;name&quot;: &quot;parameters&quot;, &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;$ref&quot;: &quot;Runtime.RemoteObject&quot; }, &quot;optional&quot;: true, &quot;description&quot;: &quot;Message parameters in case of the formatted message.&quot; },
-                { &quot;name&quot;: &quot;stackTrace&quot;, &quot;$ref&quot;: &quot;StackTrace&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;JavaScript stack trace for assertions and error messages.&quot; },
-                { &quot;name&quot;: &quot;networkRequestId&quot;, &quot;$ref&quot;: &quot;Network.RequestId&quot;, &quot;optional&quot;: true, &quot;description&quot;: &quot;Identifier of the network request associated with this message.&quot; }
-            ]
-        },
-        {
-            &quot;id&quot;: &quot;CallFrame&quot;,
-            &quot;type&quot;: &quot;object&quot;,
-            &quot;description&quot;: &quot;Stack entry for console errors and assertions.&quot;,
-            &quot;properties&quot;: [
-                { &quot;name&quot;: &quot;functionName&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;JavaScript function name.&quot; },
-                { &quot;name&quot;: &quot;url&quot;, &quot;type&quot;: &quot;string&quot;, &quot;description&quot;: &quot;JavaScript script name or url.&quot; },
-                { &quot;name&quot;: &quot;lineNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;JavaScript script line number.&quot; },
-                { &quot;name&quot;: &quot;columnNumber&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;JavaScript script column number.&quot; }
-            ]
-        },
-        {
-            &quot;id&quot;: &quot;StackTrace&quot;,
-            &quot;type&quot;: &quot;array&quot;,
-            &quot;items&quot;: { &quot;$ref&quot;: &quot;CallFrame&quot; },
-            &quot;description&quot;: &quot;Call frames for assertions or error messages.&quot;
-        }
-    ],
-    &quot;commands&quot;: [
-        {
-            &quot;name&quot;: &quot;enable&quot;,
-            &quot;description&quot;: &quot;Enables console domain, sends the messages collected so far to the client by means of the &lt;code&gt;messageAdded&lt;/code&gt; notification.&quot;
-        },
-        {
-            &quot;name&quot;: &quot;disable&quot;,
-            &quot;description&quot;: &quot;Disables console domain, prevents further console messages from being reported to the client.&quot;
-        },
-        {
-            &quot;name&quot;: &quot;clearMessages&quot;,
-            &quot;description&quot;: &quot;Clears console messages collected in the browser.&quot;
-        },
-        {
-            &quot;name&quot;: &quot;setMonitoringXHREnabled&quot;,
-            &quot;parameters&quot;: [
-                { &quot;name&quot;: &quot;enabled&quot;, &quot;type&quot;: &quot;boolean&quot;, &quot;description&quot;: &quot;Monitoring enabled state.&quot; }
-            ],
-            &quot;description&quot;: &quot;Toggles monitoring of XMLHttpRequest. If &lt;code&gt;true&lt;/code&gt;, console will receive messages upon each XHR issued.&quot;
-        },
-        {
-            &quot;name&quot;: &quot;addInspectedNode&quot;,
-            &quot;parameters&quot;: [
-                { &quot;name&quot;: &quot;nodeId&quot;, &quot;$ref&quot;: &quot;DOM.NodeId&quot;, &quot;description&quot;: &quot;DOM node id to be accessible by means of $x command line API.&quot; }
-            ],
-            &quot;description&quot;: &quot;Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).&quot;
-        },
-        {
-            &quot;name&quot;: &quot;addInspectedHeapObject&quot;,
-            &quot;parameters&quot;: [
-                { &quot;name&quot;: &quot;heapObjectId&quot;, &quot;type&quot;: &quot;integer&quot; }
-            ]
-        }
-    ],
-    &quot;events&quot;: [
-        {
-            &quot;name&quot;: &quot;messageAdded&quot;,
-            &quot;parameters&quot;: [
-                { &quot;name&quot;: &quot;message&quot;, &quot;$ref&quot;: &quot;ConsoleMessage&quot;, &quot;description&quot;: &quot;Console message that has been added.&quot; }
-            ],
-            &quot;description&quot;: &quot;Issued when new console message is added.&quot;
-        },
-        {
-            &quot;name&quot;: &quot;messageRepeatCountUpdated&quot;,
-            &quot;parameters&quot;: [
-                { &quot;name&quot;: &quot;count&quot;, &quot;type&quot;: &quot;integer&quot;, &quot;description&quot;: &quot;New repeat count value.&quot; }
-            ],
-            &quot;description&quot;: &quot;Issued when subsequent message(s) are equal to the previous one(s).&quot;
-        },
-        {
-            &quot;name&quot;: &quot;messagesCleared&quot;,
-            &quot;description&quot;: &quot;Issued when console is cleared. This happens either upon &lt;code&gt;clearMessages&lt;/code&gt; command or after page navigation.&quot;
-        }
-    ]
-}
</del></span></pre></div>
<a id="trunkSourceWebCoreloaderDocumentLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/DocumentLoader.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/DocumentLoader.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/DocumentLoader.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -614,7 +614,7 @@
</span><span class="cx">         if (frameLoader()-&gt;shouldInterruptLoadForXFrameOptions(content, response.url(), identifier)) {
</span><span class="cx">             InspectorInstrumentation::continueAfterXFrameOptionsDenied(m_frame, this, identifier, response);
</span><span class="cx">             String message = &quot;Refused to display '&quot; + response.url().stringCenterEllipsizedToLength() + &quot;' in a frame because it set 'X-Frame-Options' to '&quot; + content + &quot;'.&quot;;
</span><del>-            frame()-&gt;document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message, identifier);
</del><ins>+            frame()-&gt;document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, message, identifier);
</ins><span class="cx">             frame()-&gt;document()-&gt;enforceSandboxFlags(SandboxOrigin);
</span><span class="cx">             if (HTMLFrameOwnerElement* ownerElement = frame()-&gt;ownerElement())
</span><span class="cx">                 ownerElement-&gt;dispatchEvent(Event::create(eventNames().loadEvent, false, false));
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderFrameLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/FrameLoader.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/FrameLoader.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/FrameLoader.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -102,7 +102,6 @@
</span><span class="cx"> #include &quot;SVGViewElement.h&quot;
</span><span class="cx"> #include &quot;SVGViewSpec.h&quot;
</span><span class="cx"> #include &quot;SchemeRegistry.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptSourceCode.h&quot;
</span><span class="cx"> #include &quot;ScrollAnimator.h&quot;
</span><span class="lines">@@ -370,7 +369,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (isDocumentSandboxed(&amp;m_frame, SandboxForms)) {
</span><span class="cx">         // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><del>-        m_frame.document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Blocked form submission to '&quot; + submission-&gt;action().stringCenterEllipsizedToLength() + &quot;' because the form's frame is sandboxed and the 'allow-forms' permission is not set.&quot;);
</del><ins>+        m_frame.document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Blocked form submission to '&quot; + submission-&gt;action().stringCenterEllipsizedToLength() + &quot;' because the form's frame is sandboxed and the 'allow-forms' permission is not set.&quot;);
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -1479,7 +1478,7 @@
</span><span class="cx">     if (!frame)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    frame-&gt;document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Not allowed to load local resource: &quot; + url);
</del><ins>+    frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Not allowed to load local resource: &quot; + url);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> const ResourceRequest&amp; FrameLoader::initialRequest() const
</span><span class="lines">@@ -2842,7 +2841,7 @@
</span><span class="cx">     // If the navigating FrameLoader has already shown a beforeunload confirmation panel for the current navigation attempt,
</span><span class="cx">     // this frame is not allowed to cause another one to be shown.
</span><span class="cx">     if (frameLoaderBeingNavigated-&gt;m_currentNavigationHasShownBeforeUnloadConfirmPanel) {
</span><del>-        document-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Blocked attempt to show multiple beforeunload confirmation dialogs for the same navigation.&quot;);
</del><ins>+        document-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Blocked attempt to show multiple beforeunload confirmation dialogs for the same navigation.&quot;));
</ins><span class="cx">         return true;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -2855,7 +2854,7 @@
</span><span class="cx">             if (!parentDocument)
</span><span class="cx">                 return true;
</span><span class="cx">             if (!m_frame.document() || !m_frame.document()-&gt;securityOrigin()-&gt;canAccess(parentDocument-&gt;securityOrigin())) {
</span><del>-                document-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Blocked attempt to show beforeunload confirmation dialog on behalf of a frame with different security origin. Protocols, domains, and ports must match.&quot;);
</del><ins>+                document-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, ASCIILiteral(&quot;Blocked attempt to show beforeunload confirmation dialog on behalf of a frame with different security origin. Protocols, domains, and ports must match.&quot;));
</ins><span class="cx">                 return true;
</span><span class="cx">             }
</span><span class="cx">             
</span><span class="lines">@@ -3065,10 +3064,10 @@
</span><span class="cx">     case XFrameOptionsAllowAll:
</span><span class="cx">         return false;
</span><span class="cx">     case XFrameOptionsConflict:
</span><del>-        m_frame.document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Multiple 'X-Frame-Options' headers with conflicting values ('&quot; + content + &quot;') encountered when loading '&quot; + url.stringCenterEllipsizedToLength() + &quot;'. Falling back to 'DENY'.&quot;, requestIdentifier);
</del><ins>+        m_frame.document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;Multiple 'X-Frame-Options' headers with conflicting values ('&quot; + content + &quot;') encountered when loading '&quot; + url.stringCenterEllipsizedToLength() + &quot;'. Falling back to 'DENY'.&quot;, requestIdentifier);
</ins><span class="cx">         return true;
</span><span class="cx">     case XFrameOptionsInvalid:
</span><del>-        m_frame.document()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, &quot;Invalid 'X-Frame-Options' header encountered when loading '&quot; + url.stringCenterEllipsizedToLength() + &quot;': '&quot; + content + &quot;' is not a recognized directive. The header will be ignored.&quot;, requestIdentifier);
</del><ins>+        m_frame.document()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, &quot;Invalid 'X-Frame-Options' header encountered when loading '&quot; + url.stringCenterEllipsizedToLength() + &quot;': '&quot; + content + &quot;' is not a recognized directive. The header will be ignored.&quot;, requestIdentifier);
</ins><span class="cx">         return false;
</span><span class="cx">     default:
</span><span class="cx">         ASSERT_NOT_REACHED();
</span><span class="lines">@@ -3441,7 +3440,7 @@
</span><span class="cx">     // Sandboxed frames cannot open new auxiliary browsing contexts.
</span><span class="cx">     if (isDocumentSandboxed(openerFrame, SandboxPopups)) {
</span><span class="cx">         // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><del>-        openerFrame-&gt;document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Blocked opening '&quot; + request.resourceRequest().url().stringCenterEllipsizedToLength() + &quot;' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.&quot;);
</del><ins>+        openerFrame-&gt;document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Blocked opening '&quot; + request.resourceRequest().url().stringCenterEllipsizedToLength() + &quot;' in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set.&quot;);
</ins><span class="cx">         return 0;
</span><span class="cx">     }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderImageLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/ImageLoader.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/ImageLoader.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/ImageLoader.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;HTMLParserIdioms.h&quot;
</span><span class="cx"> #include &quot;RenderImage.h&quot;
</span><span class="cx"> #include &quot;RenderSVGImage.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(VIDEO)
</span><span class="lines">@@ -293,7 +292,7 @@
</span><span class="cx">         errorEventSender().dispatchEventSoon(this);
</span><span class="cx"> 
</span><span class="cx">         DEFINE_STATIC_LOCAL(String, consoleMessage, (ASCIILiteral(&quot;Cross-origin image load denied by Cross-Origin Resource Sharing policy.&quot;)));
</span><del>-        element().document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, consoleMessage);
</del><ins>+        element().document().addConsoleMessage(MessageSource::Security, MessageLevel::Error, consoleMessage);
</ins><span class="cx"> 
</span><span class="cx">         ASSERT(!m_hasPendingLoadEvent);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderMixedContentCheckercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/MixedContentChecker.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/MixedContentChecker.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/MixedContentChecker.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx"> void MixedContentChecker::logWarning(bool allowed, const String&amp; action, const URL&amp; target) const
</span><span class="cx"> {
</span><span class="cx">     String message = makeString((allowed ? &quot;&quot; : &quot;[blocked] &quot;), &quot;The page at &quot;, m_frame.document()-&gt;url().stringCenterEllipsizedToLength(), &quot; &quot;, action, &quot; insecure content from &quot;, target.stringCenterEllipsizedToLength(), &quot;.\n&quot;);
</span><del>-    m_frame.document()-&gt;addConsoleMessage(SecurityMessageSource, WarningMessageLevel, message);
</del><ins>+    m_frame.document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Warning, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderTextTrackLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/TextTrackLoader.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/TextTrackLoader.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/TextTrackLoader.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -36,7 +36,6 @@
</span><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;Logging.h&quot;
</span><span class="cx"> #include &quot;ResourceBuffer.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;TextTrackCue.h&quot;
</span><span class="cx"> #include &quot;WebVTTParser.h&quot;
</span><span class="lines">@@ -118,7 +117,7 @@
</span><span class="cx"> {
</span><span class="cx">     DEFINE_STATIC_LOCAL(String, consoleMessage, (ASCIILiteral(&quot;Cross-origin text track load denied by Cross-Origin Resource Sharing policy.&quot;)));
</span><span class="cx">     Document* document = toDocument(m_scriptExecutionContext);
</span><del>-    document-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, consoleMessage);
</del><ins>+    document-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, consoleMessage);
</ins><span class="cx">     m_state = Failed;
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreloaderappcacheApplicationCacheGroupcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/appcache/ApplicationCacheGroup.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
</span><span class="cx">  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
</span><span class="cx">  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
</span><del>- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</del><ins>+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ins><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="lines">@@ -471,7 +471,7 @@
</span><span class="cx">     if (m_completionType != None)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    frame-&gt;document()-&gt;addConsoleMessage(NetworkMessageSource, DebugMessageLevel, &quot;Application Cache download process was aborted.&quot;);
</del><ins>+    frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Network, MessageLevel::Debug, ASCIILiteral(&quot;Application Cache download process was aborted.&quot;));
</ins><span class="cx">     cacheUpdateFailed();
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="lines">@@ -547,7 +547,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (response.httpStatusCode() / 100 != 2 || response.url() != m_currentHandle-&gt;firstRequest().url()) {
</span><span class="cx">         if ((type &amp; ApplicationCacheResource::Explicit) || (type &amp; ApplicationCacheResource::Fallback)) {
</span><del>-            m_frame-&gt;document()-&gt;addConsoleMessage(AppCacheMessageSource, ErrorMessageLevel, &quot;Application Cache update failed, because &quot; + m_currentHandle-&gt;firstRequest().url().stringCenterEllipsizedToLength() +
</del><ins>+            m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::AppCache, MessageLevel::Error, &quot;Application Cache update failed, because &quot; + m_currentHandle-&gt;firstRequest().url().stringCenterEllipsizedToLength() +
</ins><span class="cx">                 ((response.httpStatusCode() / 100 != 2) ? &quot; could not be fetched.&quot; : &quot; was redirected.&quot;));
</span><span class="cx">             // Note that cacheUpdateFailed() can cause the cache group to be deleted.
</span><span class="cx">             cacheUpdateFailed();
</span><span class="lines">@@ -626,7 +626,7 @@
</span><span class="cx">     // FIXME: Should we break earlier and prevent redownloading on later page loads?
</span><span class="cx">     if (m_originQuotaExceededPreviously &amp;&amp; m_availableSpaceInQuota &lt; m_cacheBeingUpdated-&gt;estimatedSizeInStorage()) {
</span><span class="cx">         m_currentResource = 0;
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(AppCacheMessageSource, ErrorMessageLevel, &quot;Application Cache update failed, because size quota was exceeded.&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::AppCache, MessageLevel::Error, ASCIILiteral(&quot;Application Cache update failed, because size quota was exceeded.&quot;));
</ins><span class="cx">         cacheUpdateFailed();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -661,7 +661,7 @@
</span><span class="cx">     m_pendingEntries.remove(url);
</span><span class="cx"> 
</span><span class="cx">     if ((type &amp; ApplicationCacheResource::Explicit) || (type &amp; ApplicationCacheResource::Fallback)) {
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(AppCacheMessageSource, ErrorMessageLevel, &quot;Application Cache update failed, because &quot; + url.stringCenterEllipsizedToLength() + &quot; could not be fetched.&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::AppCache, MessageLevel::Error, &quot;Application Cache update failed, because &quot; + url.stringCenterEllipsizedToLength() + &quot; could not be fetched.&quot;);
</ins><span class="cx">         // Note that cacheUpdateFailed() can cause the cache group to be deleted.
</span><span class="cx">         cacheUpdateFailed();
</span><span class="cx">     } else {
</span><span class="lines">@@ -690,13 +690,13 @@
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (response.httpStatusCode() / 100 != 2) {
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Application Cache manifest could not be fetched.&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Other, MessageLevel::Error, ASCIILiteral(&quot;Application Cache manifest could not be fetched.&quot;));
</ins><span class="cx">         cacheUpdateFailed();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     if (response.url() != m_manifestHandle-&gt;firstRequest().url()) {
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Application Cache manifest could not be fetched, because a redirection was attempted.&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Other, MessageLevel::Error, ASCIILiteral(&quot;Application Cache manifest could not be fetched, because a redirection was attempted.&quot;));
</ins><span class="cx">         cacheUpdateFailed();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -716,7 +716,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (!isUpgradeAttempt &amp;&amp; !m_manifestResource) {
</span><span class="cx">         // The server returned 304 Not Modified even though we didn't send a conditional request.
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Application Cache manifest could not be fetched because of an unexpected 304 Not Modified server response.&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Other, MessageLevel::Error, ASCIILiteral(&quot;Application Cache manifest could not be fetched because of an unexpected 304 Not Modified server response.&quot;));
</ins><span class="cx">         cacheUpdateFailed();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -742,7 +742,7 @@
</span><span class="cx">     Manifest manifest;
</span><span class="cx">     if (!parseManifest(m_manifestURL, m_manifestResource-&gt;data()-&gt;data(), m_manifestResource-&gt;data()-&gt;size(), manifest)) {
</span><span class="cx">         // At the time of this writing, lack of &quot;CACHE MANIFEST&quot; signature is the only reason for parseManifest to fail.
</span><del>-        m_frame-&gt;document()-&gt;addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?&quot;);
</del><ins>+        m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Other, MessageLevel::Error, ASCIILiteral(&quot;Application Cache manifest could not be parsed. Does it start with CACHE MANIFEST?&quot;));
</ins><span class="cx">         cacheUpdateFailed();
</span><span class="cx">         return;
</span><span class="cx">     }
</span><span class="lines">@@ -929,7 +929,7 @@
</span><span class="cx">                 // We ran out of space for this origin. Fall down to the normal error handling
</span><span class="cx">                 // after recording this state.
</span><span class="cx">                 m_originQuotaExceededPreviously = true;
</span><del>-                m_frame-&gt;document()-&gt;addConsoleMessage(OtherMessageSource, ErrorMessageLevel, &quot;Application Cache update failed, because size quota was exceeded.&quot;);
</del><ins>+                m_frame-&gt;document()-&gt;addConsoleMessage(MessageSource::Other, MessageLevel::Error, ASCIILiteral(&quot;Application Cache update failed, because size quota was exceeded.&quot;));
</ins><span class="cx">             }
</span><span class="cx"> 
</span><span class="cx">             if (failureReason == ApplicationCacheStorage::TotalQuotaReached &amp;&amp; !m_calledReachedMaxAppCacheSize) {
</span></span></pre></div>
<a id="trunkSourceWebCoreloadercacheCachedResourceLoadercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/loader/cache/CachedResourceLoader.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -632,7 +632,7 @@
</span><span class="cx">     else
</span><span class="cx">         message = &quot;Unsafe attempt to load URL &quot; + url.stringCenterEllipsizedToLength() + &quot; from frame with URL &quot; + m_document-&gt;url().stringCenterEllipsizedToLength() + &quot;. Domains, protocols and ports must match.\n&quot;;
</span><span class="cx"> 
</span><del>-    frame()-&gt;document()-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message);
</del><ins>+    frame()-&gt;document()-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void CachedResourceLoader::setAutoLoadImages(bool enable)
</span></span></pre></div>
<a id="trunkSourceWebCorepageChromeClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ChromeClient.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ChromeClient.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/ChromeClient.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -23,8 +23,6 @@
</span><span class="cx"> #define ChromeClient_h
</span><span class="cx"> 
</span><span class="cx"> #include &quot;AXObjectCache.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;Cursor.h&quot;
</span><span class="cx"> #include &quot;FocusDirection.h&quot;
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="lines">@@ -37,6 +35,7 @@
</span><span class="cx"> #include &quot;ScrollingCoordinator.h&quot;
</span><span class="cx"> #include &quot;SearchPopupMenu.h&quot;
</span><span class="cx"> #include &quot;WebCoreKeyboardUIMode.h&quot;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/PassOwnPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/Vector.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorepageConsolecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Console.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Console.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/Console.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -31,8 +31,6 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Chrome.h&quot;
</span><span class="cx"> #include &quot;ChromeClient.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameLoader.h&quot;
</span><span class="lines">@@ -42,18 +40,21 @@
</span><span class="cx"> #include &quot;Page.h&quot;
</span><span class="cx"> #include &quot;PageConsole.h&quot;
</span><span class="cx"> #include &quot;PageGroup.h&quot;
</span><del>-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &quot;ScriptProfiler.h&quot;
</span><span class="cx"> #include &quot;ScriptableDocumentParser.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
+#include &lt;inspector/ScriptArguments.h&gt;
+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;stdio.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><ins>+using namespace Inspector;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> Console::Console(Frame* frame)
</span><span class="lines">@@ -81,13 +82,13 @@
</span><span class="cx"> 
</span><span class="cx">     String message;
</span><span class="cx">     bool gotMessage = arguments-&gt;getFirstArgumentAsString(message);
</span><del>-    InspectorInstrumentation::addMessageToConsole(page, ConsoleAPIMessageSource, type, level, message, state, arguments);
</del><ins>+    InspectorInstrumentation::addMessageToConsole(page, MessageSource::ConsoleAPI, type, level, message, state, arguments);
</ins><span class="cx"> 
</span><span class="cx">     if (page-&gt;settings().privateBrowsingEnabled())
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (gotMessage)
</span><del>-        page-&gt;chrome().client().addMessageToConsole(ConsoleAPIMessageSource, type, level, message, lastCaller.lineNumber(), lastCaller.columnNumber(), lastCaller.sourceURL());
</del><ins>+        page-&gt;chrome().client().addMessageToConsole(MessageSource::ConsoleAPI, type, level, message, lastCaller.lineNumber(), lastCaller.columnNumber(), lastCaller.sourceURL());
</ins><span class="cx"> 
</span><span class="cx">     if (!page-&gt;settings().logsPageMessagesToSystemConsoleEnabled() &amp;&amp; !PageConsole::shouldPrintExceptions())
</span><span class="cx">         return;
</span><span class="lines">@@ -96,7 +97,7 @@
</span><span class="cx"> 
</span><span class="cx">     printf(&quot;: &quot;);
</span><span class="cx"> 
</span><del>-    PageConsole::printMessageSourceAndLevelPrefix(ConsoleAPIMessageSource, level, printTrace);
</del><ins>+    PageConsole::printMessageSourceAndLevelPrefix(MessageSource::ConsoleAPI, level, printTrace);
</ins><span class="cx"> 
</span><span class="cx">     for (size_t i = 0; i &lt; arguments-&gt;argumentCount(); ++i) {
</span><span class="cx">         String argAsString = arguments-&gt;argumentAt(i).toString(arguments-&gt;globalState());
</span><span class="lines">@@ -125,12 +126,12 @@
</span><span class="cx"> 
</span><span class="cx"> void Console::debug(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), LogMessageType, DebugMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Log, MessageLevel::Debug, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::error(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), LogMessageType, ErrorMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Log, MessageLevel::Error, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::info(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="lines">@@ -140,37 +141,37 @@
</span><span class="cx"> 
</span><span class="cx"> void Console::log(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), LogMessageType, LogMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Log, MessageLevel::Log, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::warn(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), LogMessageType, WarningMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Log, MessageLevel::Warning, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::dir(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), DirMessageType, LogMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Dir, MessageLevel::Log, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::dirxml(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), DirXMLMessageType, LogMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::DirXML, MessageLevel::Log, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::table(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), TableMessageType, LogMessageLevel, state, arguments);
</del><ins>+    internalAddMessage(page(), MessageType::Table, MessageLevel::Log, state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::clear(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), ClearMessageType, LogMessageLevel, state, arguments, true);
</del><ins>+    internalAddMessage(page(), MessageType::Clear, MessageLevel::Log, state, arguments, true);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::trace(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    internalAddMessage(page(), TraceMessageType, LogMessageLevel, state, arguments, true, true);
</del><ins>+    internalAddMessage(page(), MessageType::Trace, MessageLevel::Log, state, arguments, true, true);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::assertCondition(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments, bool condition)
</span><span class="lines">@@ -178,7 +179,7 @@
</span><span class="cx">     if (condition)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    internalAddMessage(page(), AssertMessageType, ErrorMessageLevel, state, arguments, true);
</del><ins>+    internalAddMessage(page(), MessageType::Assert, MessageLevel::Error, state, arguments, true);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::count(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="lines">@@ -243,17 +244,17 @@
</span><span class="cx"> 
</span><span class="cx"> void Console::group(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    InspectorInstrumentation::addMessageToConsole(page(), ConsoleAPIMessageSource, StartGroupMessageType, LogMessageLevel, String(), state, arguments);
</del><ins>+    InspectorInstrumentation::addMessageToConsole(page(), MessageSource::ConsoleAPI, MessageType::StartGroup, MessageLevel::Log, String(), state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::groupCollapsed(JSC::ExecState* state, PassRefPtr&lt;ScriptArguments&gt; arguments)
</span><span class="cx"> {
</span><del>-    InspectorInstrumentation::addMessageToConsole(page(), ConsoleAPIMessageSource, StartGroupCollapsedMessageType, LogMessageLevel, String(), state, arguments);
</del><ins>+    InspectorInstrumentation::addMessageToConsole(page(), MessageSource::ConsoleAPI, MessageType::StartGroupCollapsed, MessageLevel::Log, String(), state, arguments);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void Console::groupEnd()
</span><span class="cx"> {
</span><del>-    InspectorInstrumentation::addMessageToConsole(page(), ConsoleAPIMessageSource, EndGroupMessageType, LogMessageLevel, String(), String(), 0, 0);
</del><ins>+    InspectorInstrumentation::addMessageToConsole(page(), MessageSource::ConsoleAPI, MessageType::EndGroup, MessageLevel::Log, String(), String(), 0, 0);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> Page* Console::page() const
</span></span></pre></div>
<a id="trunkSourceWebCorepageConsoleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Console.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Console.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/Console.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -37,11 +37,14 @@
</span><span class="cx"> #include &lt;wtf/PassRefPtr.h&gt;
</span><span class="cx"> #include &lt;wtf/RefCounted.h&gt;
</span><span class="cx"> 
</span><ins>+namespace Inspector {
+class ScriptArguments;
+}
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class Frame;
</span><span class="cx"> class Page;
</span><del>-class ScriptArguments;
</del><span class="cx"> 
</span><span class="cx"> typedef Vector&lt;RefPtr&lt;ScriptProfile&gt;&gt; ProfilesArray;
</span><span class="cx"> 
</span><span class="lines">@@ -50,26 +53,26 @@
</span><span class="cx">     static PassRefPtr&lt;Console&gt; create(Frame* frame) { return adoptRef(new Console(frame)); }
</span><span class="cx">     virtual ~Console();
</span><span class="cx"> 
</span><del>-    void debug(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void error(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void info(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void log(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void clear(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void warn(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void dir(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void dirxml(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void table(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void trace(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void assertCondition(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;, bool condition);
-    void count(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    void debug(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void error(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void info(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void log(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void clear(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void warn(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void dir(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void dirxml(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void table(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void trace(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void assertCondition(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;, bool condition);
+    void count(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx">     const ProfilesArray&amp; profiles() const { return m_profiles; }
</span><span class="cx">     void profile(JSC::ExecState*, const String&amp; = String());
</span><span class="cx">     void profileEnd(JSC::ExecState*, const String&amp; = String());
</span><span class="cx">     void time(const String&amp;);
</span><span class="cx">     void timeEnd(JSC::ExecState*, const String&amp;);
</span><del>-    void timeStamp(PassRefPtr&lt;ScriptArguments&gt;);
-    void group(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
-    void groupCollapsed(JSC::ExecState*, PassRefPtr&lt;ScriptArguments&gt;);
</del><ins>+    void timeStamp(PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void group(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
+    void groupCollapsed(JSC::ExecState*, PassRefPtr&lt;Inspector::ScriptArguments&gt;);
</ins><span class="cx">     void groupEnd();
</span><span class="cx"> 
</span><span class="cx"> private:
</span></span></pre></div>
<a id="trunkSourceWebCorepageConsoleTypesh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebCore/page/ConsoleTypes.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ConsoleTypes.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/ConsoleTypes.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
- * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- * THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ConsoleTypes_h
-#define ConsoleTypes_h
-
-namespace WebCore {
-
-enum MessageSource {
-    XMLMessageSource,
-    JSMessageSource,
-    NetworkMessageSource,
-    ConsoleAPIMessageSource,
-    StorageMessageSource,
-    AppCacheMessageSource,
-    RenderingMessageSource,
-    CSSMessageSource,
-    SecurityMessageSource,
-    OtherMessageSource,
-};
-
-enum MessageLevel {
-    DebugMessageLevel = 4,
-    LogMessageLevel = 1,
-    WarningMessageLevel = 2,
-    ErrorMessageLevel = 3
-};
-
-} // namespace WebCore
-
-#endif // ConsoleTypes_h
</del></span></pre></div>
<a id="trunkSourceWebCorepageContentSecurityPolicycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/ContentSecurityPolicy.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/ContentSecurityPolicy.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/ContentSecurityPolicy.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -35,17 +35,18 @@
</span><span class="cx"> #include &quot;FormDataList.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><del>-#include &quot;URL.h&quot;
</del><ins>+#include &quot;JSMainThreadExecState.h&quot;
</ins><span class="cx"> #include &quot;PingLoader.h&quot;
</span><span class="cx"> #include &quot;RuntimeEnabledFeatures.h&quot;
</span><span class="cx"> #include &quot;SchemeRegistry.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptState.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;SecurityPolicyViolationEvent.h&quot;
</span><span class="cx"> #include &quot;TextEncoding.h&quot;
</span><ins>+#include &quot;URL.h&quot;
</ins><span class="cx"> #include &lt;inspector/InspectorValues.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> #include &lt;wtf/text/TextPosition.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="lines">@@ -1726,7 +1727,7 @@
</span><span class="cx">     init.sourceFile = String();
</span><span class="cx">     init.lineNumber = 0;
</span><span class="cx"> 
</span><del>-    RefPtr&lt;ScriptCallStack&gt; stack = createScriptCallStack(2, false);
</del><ins>+    RefPtr&lt;ScriptCallStack&gt; stack = createScriptCallStack(JSMainThreadExecState::currentState(), 2, false);
</ins><span class="cx">     if (!stack)
</span><span class="cx">         return;
</span><span class="cx"> 
</span><span class="lines">@@ -1788,7 +1789,7 @@
</span><span class="cx">     cspReport-&gt;setString(&quot;original-policy&quot;, header);
</span><span class="cx">     cspReport-&gt;setString(&quot;blocked-uri&quot;, stripURLForUseInReport(document, blockedURL));
</span><span class="cx"> 
</span><del>-    RefPtr&lt;ScriptCallStack&gt; stack = createScriptCallStack(2, false);
</del><ins>+    RefPtr&lt;ScriptCallStack&gt; stack = createScriptCallStack(JSMainThreadExecState::currentState(), 2, false);
</ins><span class="cx">     if (stack) {
</span><span class="cx">         const ScriptCallFrame&amp; callFrame = getFirstNonNativeFrame(stack);
</span><span class="cx"> 
</span><span class="lines">@@ -1899,7 +1900,7 @@
</span><span class="cx"> void ContentSecurityPolicy::logToConsole(const String&amp; message, const String&amp; contextURL, const WTF::OrdinalNumber&amp; contextLine, JSC::ExecState* state) const
</span><span class="cx"> {
</span><span class="cx">     // FIXME: &lt;http://webkit.org/b/114317&gt; ContentSecurityPolicy::logToConsole should include a column number
</span><del>-    m_scriptExecutionContext-&gt;addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message, contextURL, contextLine.oneBasedInt(), 0, state);
</del><ins>+    m_scriptExecutionContext-&gt;addConsoleMessage(MessageSource::Security, MessageLevel::Error, message, contextURL, contextLine.oneBasedInt(), 0, state);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void ContentSecurityPolicy::reportBlockedScriptExecutionToInspector(const String&amp; directiveText) const
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMSecurityPolicycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMSecurityPolicy.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMSecurityPolicy.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/DOMSecurityPolicy.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -30,7 +30,6 @@
</span><span class="cx"> #include &quot;ContextDestructionObserver.h&quot;
</span><span class="cx"> #include &quot;DOMStringList.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &lt;wtf/text/TextPosition.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/DOMWindow.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx">  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
</span><span class="cx">  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
</span><span class="cx">  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
</span><del>- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</del><ins>+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ins><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> #include &quot;HTMLFrameOwnerElement.h&quot;
</span><span class="cx"> #include &quot;History.h&quot;
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><del>-#include &quot;URL.h&quot;
</del><ins>+#include &quot;JSMainThreadExecState.h&quot;
</ins><span class="cx"> #include &quot;Location.h&quot;
</span><span class="cx"> #include &quot;MainFrame.h&quot;
</span><span class="cx"> #include &quot;MediaQueryList.h&quot;
</span><span class="lines">@@ -85,8 +85,6 @@
</span><span class="cx"> #include &quot;RuntimeEnabledFeatures.h&quot;
</span><span class="cx"> #include &quot;ScheduledAction.h&quot;
</span><span class="cx"> #include &quot;Screen.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;SecurityPolicy.h&quot;
</span><span class="lines">@@ -98,10 +96,13 @@
</span><span class="cx"> #include &quot;StyleMedia.h&quot;
</span><span class="cx"> #include &quot;StyleResolver.h&quot;
</span><span class="cx"> #include &quot;SuddenTermination.h&quot;
</span><ins>+#include &quot;URL.h&quot;
</ins><span class="cx"> #include &quot;WebKitPoint.h&quot;
</span><span class="cx"> #include &quot;WindowFeatures.h&quot;
</span><span class="cx"> #include &quot;WindowFocusAllowedIndicator.h&quot;
</span><span class="cx"> #include &lt;algorithm&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;wtf/CurrentTime.h&gt;
</span><span class="cx"> #include &lt;wtf/MainThread.h&gt;
</span><span class="cx"> #include &lt;wtf/MathExtras.h&gt;
</span><span class="lines">@@ -124,6 +125,8 @@
</span><span class="cx"> #include &quot;WKContentObservation.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+using namespace Inspector;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class PostMessageTimer : public TimerBase {
</span><span class="lines">@@ -843,7 +846,7 @@
</span><span class="cx">     // Capture stack trace only when inspector front-end is loaded as it may be time consuming.
</span><span class="cx">     RefPtr&lt;ScriptCallStack&gt; stackTrace;
</span><span class="cx">     if (InspectorInstrumentation::consoleAgentEnabled(sourceDocument))
</span><del>-        stackTrace = createScriptCallStack(ScriptCallStack::maxCallStackSizeToCapture, true);
</del><ins>+        stackTrace = createScriptCallStack(JSMainThreadExecState::currentState(), ScriptCallStack::maxCallStackSizeToCapture, true);
</ins><span class="cx"> 
</span><span class="cx">     // Schedule the message.
</span><span class="cx">     PostMessageTimer* timer = new PostMessageTimer(this, message, sourceOrigin, &amp;source, channels.release(), target.get(), stackTrace.release());
</span><span class="lines">@@ -867,7 +870,7 @@
</span><span class="cx">         if (!intendedTargetOrigin-&gt;isSameSchemeHostPort(document()-&gt;securityOrigin())) {
</span><span class="cx">             String message = &quot;Unable to post message to &quot; + intendedTargetOrigin-&gt;toString() +
</span><span class="cx">                              &quot;. Recipient has origin &quot; + document()-&gt;securityOrigin()-&gt;toString() + &quot;.\n&quot;;
</span><del>-            pageConsole()-&gt;addMessage(SecurityMessageSource, ErrorMessageLevel, message, stackTrace);
</del><ins>+            pageConsole()-&gt;addMessage(MessageSource::Security, MessageLevel::Error, message, stackTrace);
</ins><span class="cx">             return;
</span><span class="cx">         }
</span><span class="cx">     }
</span><span class="lines">@@ -966,7 +969,7 @@
</span><span class="cx">     bool allowScriptsToCloseWindows = m_frame-&gt;settings().allowScriptsToCloseWindows();
</span><span class="cx"> 
</span><span class="cx">     if (!(page-&gt;openedByDOM() || page-&gt;backForward().count() &lt;= 1 || allowScriptsToCloseWindows)) {
</span><del>-        pageConsole()-&gt;addMessage(JSMessageSource, WarningMessageLevel, ASCIILiteral(&quot;Can't close the window since it was not opened by JavaScript&quot;));
</del><ins>+        pageConsole()-&gt;addMessage(MessageSource::JS, MessageLevel::Warning, ASCIILiteral(&quot;Can't close the window since it was not opened by JavaScript&quot;));
</ins><span class="cx">         return;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -1936,7 +1939,7 @@
</span><span class="cx">     if (message.isEmpty())
</span><span class="cx">         return;
</span><span class="cx"> 
</span><del>-    pageConsole()-&gt;addMessage(JSMessageSource, ErrorMessageLevel, message);
</del><ins>+    pageConsole()-&gt;addMessage(MessageSource::JS, MessageLevel::Error, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> String DOMWindow::crossDomainAccessErrorMessage(const DOMWindow&amp; activeWindow)
</span></span></pre></div>
<a id="trunkSourceWebCorepageDOMWindowh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/DOMWindow.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/DOMWindow.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/DOMWindow.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -34,6 +34,10 @@
</span><span class="cx"> #include &quot;Supplementable.h&quot;
</span><span class="cx"> #include &lt;functional&gt;
</span><span class="cx"> 
</span><ins>+namespace Inspector {
+class ScriptCallStack;
+}
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx">     class BarProp;
</span><span class="lines">@@ -65,7 +69,6 @@
</span><span class="cx">     class PostMessageTimer;
</span><span class="cx">     class ScheduledAction;
</span><span class="cx">     class Screen;
</span><del>-    class ScriptCallStack;
</del><span class="cx">     class SecurityOrigin;
</span><span class="cx">     class SerializedScriptValue;
</span><span class="cx">     class Storage;
</span><span class="lines">@@ -239,7 +242,7 @@
</span><span class="cx">         // Needed for Objective-C bindings (see bug 28774).
</span><span class="cx">         void postMessage(PassRefPtr&lt;SerializedScriptValue&gt; message, MessagePort*, const String&amp; targetOrigin, DOMWindow&amp; source, ExceptionCode&amp;);
</span><span class="cx">         void postMessageTimerFired(PassOwnPtr&lt;PostMessageTimer&gt;);
</span><del>-        void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigin, PassRefPtr&lt;Event&gt;, PassRefPtr&lt;ScriptCallStack&gt;);
</del><ins>+        void dispatchMessageEventWithOriginCheck(SecurityOrigin* intendedTargetOrigin, PassRefPtr&lt;Event&gt;, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
</ins><span class="cx"> 
</span><span class="cx">         void scrollBy(int x, int y) const;
</span><span class="cx">         void scrollTo(int x, int y) const;
</span></span></pre></div>
<a id="trunkSourceWebCorepageEventSourcecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/EventSource.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/EventSource.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/EventSource.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -46,7 +46,6 @@
</span><span class="cx"> #include &quot;ResourceError.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><span class="cx"> #include &quot;ResourceResponse.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="lines">@@ -228,7 +227,7 @@
</span><span class="cx">             message.append(charset);
</span><span class="cx">             message.appendLiteral(&quot;\&quot;) that is not UTF-8. Aborting the connection.&quot;);
</span><span class="cx">             // FIXME: We are missing the source line.
</span><del>-            scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, message.toString());
</del><ins>+            scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, message.toString());
</ins><span class="cx">         }
</span><span class="cx">     } else {
</span><span class="cx">         // To keep the signal-to-noise ratio low, we only log 200-response with an invalid MIME type.
</span><span class="lines">@@ -238,7 +237,7 @@
</span><span class="cx">             message.append(response.mimeType());
</span><span class="cx">             message.appendLiteral(&quot;\&quot;) that is not \&quot;text/event-stream\&quot;. Aborting the connection.&quot;);
</span><span class="cx">             // FIXME: We are missing the source line.
</span><del>-            scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, message.toString());
</del><ins>+            scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, message.toString());
</ins><span class="cx">         }
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="lines">@@ -290,7 +289,7 @@
</span><span class="cx"> void EventSource::didFailAccessControlCheck(const ResourceError&amp; error)
</span><span class="cx"> {
</span><span class="cx">     String message = makeString(&quot;EventSource cannot load &quot;, error.failingURL(), &quot;. &quot;, error.localizedDescription());
</span><del>-    scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, message);
</del><ins>+    scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, message);
</ins><span class="cx"> 
</span><span class="cx">     abortConnectionAttempt();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageConsolecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageConsole.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageConsole.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/PageConsole.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -31,24 +31,25 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;Chrome.h&quot;
</span><span class="cx"> #include &quot;ChromeClient.h&quot;
</span><del>-#include &quot;ConsoleAPITypes.h&quot;
-#include &quot;ConsoleTypes.h&quot;
</del><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;InspectorConsoleInstrumentation.h&quot;
</span><span class="cx"> #include &quot;InspectorController.h&quot;
</span><span class="cx"> #include &quot;JSMainThreadExecState.h&quot;
</span><span class="cx"> #include &quot;Page.h&quot;
</span><del>-#include &quot;ScriptArguments.h&quot;
-#include &quot;ScriptCallStack.h&quot;
-#include &quot;ScriptCallStackFactory.h&quot;
</del><span class="cx"> #include &quot;ScriptableDocumentParser.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
+#include &lt;inspector/ScriptArguments.h&gt;
+#include &lt;inspector/ScriptCallStack.h&gt;
+#include &lt;inspector/ScriptCallStackFactory.h&gt;
</ins><span class="cx"> #include &lt;stdio.h&gt;
</span><span class="cx"> #include &lt;wtf/text/CString.h&gt;
</span><span class="cx"> #include &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> 
</span><ins>+using namespace Inspector;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> namespace {
</span><span class="lines">@@ -80,34 +81,34 @@
</span><span class="cx"> {
</span><span class="cx">     const char* sourceString;
</span><span class="cx">     switch (source) {
</span><del>-    case XMLMessageSource:
</del><ins>+    case MessageSource::XML:
</ins><span class="cx">         sourceString = &quot;XML&quot;;
</span><span class="cx">         break;
</span><del>-    case JSMessageSource:
</del><ins>+    case MessageSource::JS:
</ins><span class="cx">         sourceString = &quot;JS&quot;;
</span><span class="cx">         break;
</span><del>-    case NetworkMessageSource:
</del><ins>+    case MessageSource::Network:
</ins><span class="cx">         sourceString = &quot;NETWORK&quot;;
</span><span class="cx">         break;
</span><del>-    case ConsoleAPIMessageSource:
</del><ins>+    case MessageSource::ConsoleAPI:
</ins><span class="cx">         sourceString = &quot;CONSOLE&quot;;
</span><span class="cx">         break;
</span><del>-    case StorageMessageSource:
</del><ins>+    case MessageSource::Storage:
</ins><span class="cx">         sourceString = &quot;STORAGE&quot;;
</span><span class="cx">         break;
</span><del>-    case AppCacheMessageSource:
</del><ins>+    case MessageSource::AppCache:
</ins><span class="cx">         sourceString = &quot;APPCACHE&quot;;
</span><span class="cx">         break;
</span><del>-    case RenderingMessageSource:
</del><ins>+    case MessageSource::Rendering:
</ins><span class="cx">         sourceString = &quot;RENDERING&quot;;
</span><span class="cx">         break;
</span><del>-    case CSSMessageSource:
</del><ins>+    case MessageSource::CSS:
</ins><span class="cx">         sourceString = &quot;CSS&quot;;
</span><span class="cx">         break;
</span><del>-    case SecurityMessageSource:
</del><ins>+    case MessageSource::Security:
</ins><span class="cx">         sourceString = &quot;SECURITY&quot;;
</span><span class="cx">         break;
</span><del>-    case OtherMessageSource:
</del><ins>+    case MessageSource::Other:
</ins><span class="cx">         sourceString = &quot;OTHER&quot;;
</span><span class="cx">         break;
</span><span class="cx">     default:
</span><span class="lines">@@ -118,16 +119,16 @@
</span><span class="cx"> 
</span><span class="cx">     const char* levelString;
</span><span class="cx">     switch (level) {
</span><del>-    case DebugMessageLevel:
</del><ins>+    case MessageLevel::Debug:
</ins><span class="cx">         levelString = &quot;DEBUG&quot;;
</span><span class="cx">         break;
</span><del>-    case LogMessageLevel:
</del><ins>+    case MessageLevel::Log:
</ins><span class="cx">         levelString = &quot;LOG&quot;;
</span><span class="cx">         break;
</span><del>-    case WarningMessageLevel:
</del><ins>+    case MessageLevel::Warning:
</ins><span class="cx">         levelString = &quot;WARN&quot;;
</span><span class="cx">         break;
</span><del>-    case ErrorMessageLevel:
</del><ins>+    case MessageLevel::Error:
</ins><span class="cx">         levelString = &quot;ERROR&quot;;
</span><span class="cx">         break;
</span><span class="cx">     default:
</span><span class="lines">@@ -147,6 +148,7 @@
</span><span class="cx">     String url;
</span><span class="cx">     if (document)
</span><span class="cx">         url = document-&gt;url().string();
</span><ins>+
</ins><span class="cx">     // FIXME: The below code attempts to determine line numbers for parser generated errors, but this is not the only reason why we can get here.
</span><span class="cx">     // For example, if we are still parsing and get a WebSocket network error, it will be erroneously attributed to a line where parsing was paused.
</span><span class="cx">     // Also, we should determine line numbers for script generated messages (e.g. calling getImageData on a canvas).
</span><span class="lines">@@ -162,7 +164,7 @@
</span><span class="cx">             column = position.m_column.oneBasedInt();
</span><span class="cx">         }
</span><span class="cx">     }
</span><del>-    addMessage(source, level, message, url, line, column, 0, 0, requestIdentifier);
</del><ins>+    addMessage(source, level, message, url, line, column, 0, JSMainThreadExecState::currentState(), requestIdentifier);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void PageConsole::addMessage(MessageSource source, MessageLevel level, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt; callStack)
</span><span class="lines">@@ -172,15 +174,15 @@
</span><span class="cx"> 
</span><span class="cx"> void PageConsole::addMessage(MessageSource source, MessageLevel level, const String&amp; message, const String&amp; url, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt; callStack, JSC::ExecState* state, unsigned long requestIdentifier)
</span><span class="cx"> {
</span><del>-    if (muteCount &amp;&amp; source != ConsoleAPIMessageSource)
</del><ins>+    if (muteCount &amp;&amp; source != MessageSource::ConsoleAPI)
</ins><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (callStack)
</span><del>-        InspectorInstrumentation::addMessageToConsole(&amp;m_page, source, LogMessageType, level, message, callStack, requestIdentifier);
</del><ins>+        InspectorInstrumentation::addMessageToConsole(&amp;m_page, source, MessageType::Log, level, message, callStack, requestIdentifier);
</ins><span class="cx">     else
</span><del>-        InspectorInstrumentation::addMessageToConsole(&amp;m_page, source, LogMessageType, level, message, url, lineNumber, columnNumber, state, requestIdentifier);
</del><ins>+        InspectorInstrumentation::addMessageToConsole(&amp;m_page, source, MessageType::Log, level, message, url, lineNumber, columnNumber, state, requestIdentifier);
</ins><span class="cx"> 
</span><del>-    if (source == CSSMessageSource)
</del><ins>+    if (source == MessageSource::CSS)
</ins><span class="cx">         return;
</span><span class="cx"> 
</span><span class="cx">     if (m_page.settings().privateBrowsingEnabled())
</span></span></pre></div>
<a id="trunkSourceWebCorepagePageConsoleh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PageConsole.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PageConsole.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/PageConsole.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -29,8 +29,8 @@
</span><span class="cx"> #ifndef PageConsole_h
</span><span class="cx"> #define PageConsole_h
</span><span class="cx"> 
</span><del>-#include &quot;ConsoleTypes.h&quot;
-#include &quot;ScriptCallStack.h&quot;
</del><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> #include &lt;wtf/PassOwnPtr.h&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -51,8 +51,8 @@
</span><span class="cx">     static void printSourceURLAndPosition(const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber = 0);
</span><span class="cx">     static void printMessageSourceAndLevelPrefix(MessageSource, MessageLevel, bool showAsTrace = false);
</span><span class="cx"> 
</span><del>-    void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt; = 0, JSC::ExecState* = 0, unsigned long requestIdentifier = 0);
-    void addMessage(MessageSource, MessageLevel, const String&amp; message, PassRefPtr&lt;ScriptCallStack&gt;);
</del><ins>+    void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt; = 0, JSC::ExecState* = 0, unsigned long requestIdentifier = 0);
+    void addMessage(MessageSource, MessageLevel, const String&amp; message, PassRefPtr&lt;Inspector::ScriptCallStack&gt;);
</ins><span class="cx">     void addMessage(MessageSource, MessageLevel, const String&amp; message, unsigned long requestIdentifier = 0, Document* = 0);
</span><span class="cx"> 
</span><span class="cx">     static void mute();
</span></span></pre></div>
<a id="trunkSourceWebCorepagePointerLockControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/PointerLockController.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/PointerLockController.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/page/PointerLockController.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -56,7 +56,7 @@
</span><span class="cx"> 
</span><span class="cx">     if (target-&gt;document().isSandboxed(SandboxPointerLock)) {
</span><span class="cx">         // FIXME: This message should be moved off the console once a solution to https://bugs.webkit.org/show_bug.cgi?id=103274 exists.
</span><del>-        target-&gt;document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Blocked pointer lock on an element because the element's frame is sandboxed and the 'allow-pointer-lock' permission is not set.&quot;);
</del><ins>+        target-&gt;document().addConsoleMessage(MessageSource::Security, MessageLevel::Error, ASCIILiteral(&quot;Blocked pointer lock on an element because the element's frame is sandboxed and the 'allow-pointer-lock' permission is not set.&quot;));
</ins><span class="cx">         enqueueEvent(eventNames().webkitpointerlockerrorEvent, target);
</span><span class="cx">         return;
</span><span class="cx">     }
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformCrossThreadCopierh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/CrossThreadCopier.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/CrossThreadCopier.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/platform/CrossThreadCopier.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -66,8 +66,8 @@
</span><span class="cx">             typedef T Type;
</span><span class="cx">         };
</span><span class="cx"> 
</span><del>-        template&lt;typename T&gt; struct IsConvertibleToInteger {
-            static const bool value = std::is_integral&lt;T&gt;::value || std::is_convertible&lt;T, long double&gt;::value;
</del><ins>+        template&lt;typename T&gt; struct IsEnumOrConvertibleToInteger {
+            static const bool value = std::is_integral&lt;T&gt;::value || std::is_enum&lt;T&gt;::value || std::is_convertible&lt;T, long double&gt;::value;
</ins><span class="cx">         };
</span><span class="cx"> 
</span><span class="cx">         template&lt;typename T&gt; struct IsThreadSafeRefCountedPointer {
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">         }
</span><span class="cx">     };
</span><span class="cx"> 
</span><del>-    template&lt;bool isConvertibleToInteger, bool isThreadSafeRefCounted, typename T&gt; struct CrossThreadCopierBase;
</del><ins>+    template&lt;bool isEnumOrConvertibleToInteger, bool isThreadSafeRefCounted, typename T&gt; struct CrossThreadCopierBase;
</ins><span class="cx"> 
</span><span class="cx">     // Integers get passed through without any changes.
</span><span class="cx">     template&lt;typename T&gt; struct CrossThreadCopierBase&lt;true, false, T&gt; : public CrossThreadCopierPassThrough&lt;T&gt; {
</span><span class="lines">@@ -199,7 +199,7 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     template&lt;typename T&gt;
</span><del>-    struct CrossThreadCopier : public CrossThreadCopierBase&lt;CrossThreadCopierBaseHelper::IsConvertibleToInteger&lt;T&gt;::value, CrossThreadCopierBaseHelper::IsThreadSafeRefCountedPointer&lt;T&gt;::value, T&gt; {
</del><ins>+    struct CrossThreadCopier : public CrossThreadCopierBase&lt;CrossThreadCopierBaseHelper::IsEnumOrConvertibleToInteger&lt;T&gt;::value, CrossThreadCopierBaseHelper::IsThreadSafeRefCountedPointer&lt;T&gt;::value, T&gt; {
</ins><span class="cx">     };
</span><span class="cx"> 
</span><span class="cx">     template&lt;typename T&gt; struct AllowCrossThreadAccessWrapper {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingshapesShapeInfocpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/shapes/ShapeInfo.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/shapes/ShapeInfo.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/rendering/shapes/ShapeInfo.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> 
</span><span class="cx">     const URL&amp; url = cachedImage.url();
</span><span class="cx">     String urlString = url.isNull() ? &quot;''&quot; : url.stringCenterEllipsizedToLength();
</span><del>-    document.addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, &quot;Unsafe attempt to load URL &quot; + urlString + &quot;.&quot;);
</del><ins>+    document.addConsoleMessage(MessageSource::Security, MessageLevel::Error, &quot;Unsafe attempt to load URL &quot; + urlString + &quot;.&quot;);
</ins><span class="cx"> 
</span><span class="cx">     return false;
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkSourceWebCoresvgSVGDocumentExtensionscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/svg/SVGDocumentExtensions.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/svg/SVGDocumentExtensions.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/svg/SVGDocumentExtensions.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -131,17 +131,17 @@
</span><span class="cx"> static void reportMessage(Document* document, MessageLevel level, const String&amp; message)
</span><span class="cx"> {
</span><span class="cx">     if (document-&gt;frame())
</span><del>-        document-&gt;addConsoleMessage(RenderingMessageSource, level, message);
</del><ins>+        document-&gt;addConsoleMessage(MessageSource::Rendering, level, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGDocumentExtensions::reportWarning(const String&amp; message)
</span><span class="cx"> {
</span><del>-    reportMessage(m_document, WarningMessageLevel, &quot;Warning: &quot; + message);
</del><ins>+    reportMessage(m_document, MessageLevel::Warning, &quot;Warning: &quot; + message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGDocumentExtensions::reportError(const String&amp; message)
</span><span class="cx"> {
</span><del>-    reportMessage(m_document, ErrorMessageLevel, &quot;Error: &quot; + message);
</del><ins>+    reportMessage(m_document, MessageLevel::Error, &quot;Error: &quot; + message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> void SVGDocumentExtensions::addPendingResource(const AtomicString&amp; id, Element* element)
</span></span></pre></div>
<a id="trunkSourceWebCoretestingInternalscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/testing/Internals.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/testing/Internals.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/testing/Internals.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -57,7 +57,6 @@
</span><span class="cx"> #include &quot;HistoryController.h&quot;
</span><span class="cx"> #include &quot;HistoryItem.h&quot;
</span><span class="cx"> #include &quot;InspectorClient.h&quot;
</span><del>-#include &quot;InspectorConsoleAgent.h&quot;
</del><span class="cx"> #include &quot;InspectorController.h&quot;
</span><span class="cx"> #include &quot;InspectorCounters.h&quot;
</span><span class="cx"> #include &quot;InspectorForwarding.h&quot;
</span><span class="lines">@@ -65,8 +64,8 @@
</span><span class="cx"> #include &quot;InspectorInstrumentation.h&quot;
</span><span class="cx"> #include &quot;InspectorOverlay.h&quot;
</span><span class="cx"> #include &quot;InstrumentingAgents.h&quot;
</span><ins>+#include &quot;IntRect.h&quot;
</ins><span class="cx"> #include &quot;InternalSettings.h&quot;
</span><del>-#include &quot;IntRect.h&quot;
</del><span class="cx"> #include &quot;Language.h&quot;
</span><span class="cx"> #include &quot;MainFrame.h&quot;
</span><span class="cx"> #include &quot;MallocStatistics.h&quot;
</span><span class="lines">@@ -95,6 +94,7 @@
</span><span class="cx"> #include &quot;TreeScope.h&quot;
</span><span class="cx"> #include &quot;TypeConversions.h&quot;
</span><span class="cx"> #include &quot;ViewportArguments.h&quot;
</span><ins>+#include &quot;WebConsoleAgent.h&quot;
</ins><span class="cx"> #include &quot;WorkerThread.h&quot;
</span><span class="cx"> #include &lt;bytecode/CodeBlock.h&gt;
</span><span class="cx"> #include &lt;inspector/InspectorAgentBase.h&gt;
</span><span class="lines">@@ -1427,9 +1427,11 @@
</span><span class="cx">     InstrumentingAgents* instrumentingAgents = instrumentationForPage(document-&gt;page());
</span><span class="cx">     if (!instrumentingAgents)
</span><span class="cx">         return Vector&lt;String&gt;();
</span><del>-    InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;inspectorConsoleAgent();
</del><ins>+
+    InspectorConsoleAgent* consoleAgent = instrumentingAgents-&gt;webConsoleAgent();
</ins><span class="cx">     if (!consoleAgent)
</span><span class="cx">         return Vector&lt;String&gt;();
</span><ins>+
</ins><span class="cx">     Vector&lt;unsigned&gt; counts = consoleAgent-&gt;consoleMessageArgumentCounts();
</span><span class="cx">     Vector&lt;String&gt; result(counts.size());
</span><span class="cx">     for (size_t i = 0; i &lt; counts.size(); i++)
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersDefaultSharedWorkerRepositorycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/DefaultSharedWorkerRepository.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -44,7 +44,6 @@
</span><span class="cx"> #include &quot;NotImplemented.h&quot;
</span><span class="cx"> #include &quot;PageGroup.h&quot;
</span><span class="cx"> #include &quot;PlatformStrategies.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;SecurityOriginHash.h&quot;
</span><span class="cx"> #include &quot;SharedWorker.h&quot;
</span><span class="lines">@@ -56,6 +55,7 @@
</span><span class="cx"> #include &quot;WorkerReportingProxy.h&quot;
</span><span class="cx"> #include &quot;WorkerScriptLoader.h&quot;
</span><span class="cx"> #include &quot;WorkerScriptLoaderClient.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;mutex&gt;
</span><span class="cx"> #include &lt;wtf/HashSet.h&gt;
</span><span class="cx"> #include &lt;wtf/Threading.h&gt;
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersSharedWorkerGlobalScopecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/SharedWorkerGlobalScope.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/SharedWorkerGlobalScope.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/SharedWorkerGlobalScope.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -38,9 +38,9 @@
</span><span class="cx"> #include &quot;EventNames.h&quot;
</span><span class="cx"> #include &quot;MessageEvent.h&quot;
</span><span class="cx"> #include &quot;NotImplemented.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><span class="cx"> #include &quot;SharedWorkerThread.h&quot;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="lines">@@ -80,10 +80,10 @@
</span><span class="cx">     return static_cast&lt;SharedWorkerThread*&gt;(Base::thread());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void SharedWorkerGlobalScope::logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt; callStack)
</del><ins>+void SharedWorkerGlobalScope::logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt; callStack)
</ins><span class="cx"> {
</span><span class="cx">     WorkerGlobalScope::logExceptionToConsole(errorMessage, sourceURL, lineNumber, columnNumber, callStack);
</span><del>-    addMessageToWorkerConsole(JSMessageSource, ErrorMessageLevel, errorMessage, sourceURL, lineNumber, columnNumber, callStack);
</del><ins>+    addMessageToWorkerConsole(MessageSource::JS, MessageLevel::Error, errorMessage, sourceURL, lineNumber, columnNumber, callStack);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> } // namespace WebCore
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersSharedWorkerGlobalScopeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/SharedWorkerGlobalScope.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/SharedWorkerGlobalScope.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/SharedWorkerGlobalScope.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> 
</span><span class="cx">     private:
</span><span class="cx">         SharedWorkerGlobalScope(const String&amp; name, const URL&amp;, const String&amp; userAgent, std::unique_ptr&lt;GroupSettings&gt;, SharedWorkerThread*);
</span><del>-        virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt;) override;
</del><ins>+        virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;) override;
</ins><span class="cx"> 
</span><span class="cx">         String m_name;
</span><span class="cx">     };
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerGlobalScopecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerGlobalScope.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerGlobalScope.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/WorkerGlobalScope.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -21,12 +21,11 @@
</span><span class="cx">  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
</span><span class="cx">  * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
</span><span class="cx">  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
</span><del>- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
</del><ins>+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
</ins><span class="cx">  *
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><del>-
</del><span class="cx"> #include &quot;WorkerGlobalScope.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ActiveDOMObject.h&quot;
</span><span class="lines">@@ -39,13 +38,12 @@
</span><span class="cx"> #include &quot;EventException.h&quot;
</span><span class="cx"> #include &quot;ExceptionCode.h&quot;
</span><span class="cx"> #include &quot;InspectorConsoleInstrumentation.h&quot;
</span><del>-#include &quot;URL.h&quot;
</del><span class="cx"> #include &quot;MessagePort.h&quot;
</span><span class="cx"> #include &quot;NotImplemented.h&quot;
</span><span class="cx"> #include &quot;ScheduledAction.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptSourceCode.h&quot;
</span><span class="cx"> #include &quot;SecurityOrigin.h&quot;
</span><ins>+#include &quot;URL.h&quot;
</ins><span class="cx"> #include &quot;WorkerInspectorController.h&quot;
</span><span class="cx"> #include &quot;WorkerLocation.h&quot;
</span><span class="cx"> #include &quot;WorkerNavigator.h&quot;
</span><span class="lines">@@ -55,12 +53,15 @@
</span><span class="cx"> #include &quot;WorkerThreadableLoader.h&quot;
</span><span class="cx"> #include &quot;XMLHttpRequestException.h&quot;
</span><span class="cx"> #include &lt;bindings/ScriptValue.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/RefPtr.h&gt;
</span><span class="cx"> 
</span><span class="cx"> #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
</span><span class="cx"> #include &quot;NotificationCenter.h&quot;
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><ins>+using namespace Inspector;
+
</ins><span class="cx"> namespace WebCore {
</span><span class="cx"> 
</span><span class="cx"> class CloseWorkerGlobalScopeTask : public ScriptExecutionContext::Task {
</span><span class="lines">@@ -275,9 +276,9 @@
</span><span class="cx"> {
</span><span class="cx">     ASSERT(isContextThread());
</span><span class="cx">     if (callStack)
</span><del>-        InspectorInstrumentation::addMessageToConsole(this, source, LogMessageType, level, message, callStack, requestIdentifier);
</del><ins>+        InspectorInstrumentation::addMessageToConsole(this, source, MessageType::Log, level, message, callStack, requestIdentifier);
</ins><span class="cx">     else
</span><del>-        InspectorInstrumentation::addMessageToConsole(this, source, LogMessageType, level, message, sourceURL, lineNumber, columnNumber, state, requestIdentifier);
</del><ins>+        InspectorInstrumentation::addMessageToConsole(this, source, MessageType::Log, level, message, sourceURL, lineNumber, columnNumber, state, requestIdentifier);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> bool WorkerGlobalScope::isContextThread() const
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerGlobalScopeh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerGlobalScope.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerGlobalScope.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/WorkerGlobalScope.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -139,8 +139,8 @@
</span><span class="cx">         WorkerGlobalScope(const URL&amp;, const String&amp; userAgent, std::unique_ptr&lt;GroupSettings&gt;, WorkerThread*, PassRefPtr&lt;SecurityOrigin&gt; topOrigin);
</span><span class="cx">         void applyContentSecurityPolicyFromString(const String&amp; contentSecurityPolicy, ContentSecurityPolicy::HeaderType);
</span><span class="cx"> 
</span><del>-        virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;ScriptCallStack&gt;) override;
-        void addMessageToWorkerConsole(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0);
</del><ins>+        virtual void logExceptionToConsole(const String&amp; errorMessage, const String&amp; sourceURL, int lineNumber, int columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;) override;
+        void addMessageToWorkerConsole(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0);
</ins><span class="cx"> 
</span><span class="cx">     private:
</span><span class="cx">         virtual void refScriptExecutionContext() override { ref(); }
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx">         virtual void refEventTarget() override final { ref(); }
</span><span class="cx">         virtual void derefEventTarget() override final { deref(); }
</span><span class="cx"> 
</span><del>-        virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) override;
</del><ins>+        virtual void addMessage(MessageSource, MessageLevel, const String&amp; message, const String&amp; sourceURL, unsigned lineNumber, unsigned columnNumber, PassRefPtr&lt;Inspector::ScriptCallStack&gt;, JSC::ExecState* = 0, unsigned long requestIdentifier = 0) override;
</ins><span class="cx"> 
</span><span class="cx">         virtual EventTarget* errorEventTarget() override;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerMessagingProxycpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/WorkerMessagingProxy.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -26,14 +26,13 @@
</span><span class="cx">  */
</span><span class="cx"> 
</span><span class="cx"> #include &quot;config.h&quot;
</span><del>-
</del><span class="cx"> #include &quot;WorkerMessagingProxy.h&quot;
</span><span class="cx"> 
</span><span class="cx"> #include &quot;ContentSecurityPolicy.h&quot;
</span><span class="cx"> #include &quot;CrossThreadTask.h&quot;
</span><ins>+#include &quot;DOMWindow.h&quot;
</ins><span class="cx"> #include &quot;DedicatedWorkerGlobalScope.h&quot;
</span><span class="cx"> #include &quot;DedicatedWorkerThread.h&quot;
</span><del>-#include &quot;DOMWindow.h&quot;
</del><span class="cx"> #include &quot;Document.h&quot;
</span><span class="cx"> #include &quot;ErrorEvent.h&quot;
</span><span class="cx"> #include &quot;Event.h&quot;
</span><span class="lines">@@ -43,12 +42,13 @@
</span><span class="cx"> #include &quot;MessageEvent.h&quot;
</span><span class="cx"> #include &quot;NotImplemented.h&quot;
</span><span class="cx"> #include &quot;PageGroup.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptExecutionContext.h&quot;
</span><span class="cx"> #include &quot;Worker.h&quot;
</span><span class="cx"> #include &quot;WorkerDebuggerAgent.h&quot;
</span><span class="cx"> #include &quot;WorkerInspectorController.h&quot;
</span><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;inspector/InspectorAgentBase.h&gt;
</span><ins>+#include &lt;inspector/ScriptCallStack.h&gt;
</ins><span class="cx"> #include &lt;wtf/MainThread.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCoreworkersWorkerReportingProxyh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/workers/WorkerReportingProxy.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/workers/WorkerReportingProxy.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/workers/WorkerReportingProxy.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> #ifndef WorkerReportingProxy_h
</span><span class="cx"> #define WorkerReportingProxy_h
</span><span class="cx"> 
</span><del>-#include &quot;ConsoleTypes.h&quot;
</del><ins>+#include &lt;inspector/ConsoleTypes.h&gt;
</ins><span class="cx"> #include &lt;wtf/Forward.h&gt;
</span><span class="cx"> 
</span><span class="cx"> namespace WebCore {
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXMLHttpRequestcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XMLHttpRequest.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XMLHttpRequest.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/xml/XMLHttpRequest.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -43,7 +43,6 @@
</span><span class="cx"> #include &quot;ParsedContentType.h&quot;
</span><span class="cx"> #include &quot;ResourceError.h&quot;
</span><span class="cx"> #include &quot;ResourceRequest.h&quot;
</span><del>-#include &quot;ScriptCallStack.h&quot;
</del><span class="cx"> #include &quot;ScriptController.h&quot;
</span><span class="cx"> #include &quot;ScriptProfile.h&quot;
</span><span class="cx"> #include &quot;Settings.h&quot;
</span><span class="lines">@@ -160,7 +159,7 @@
</span><span class="cx">         return;
</span><span class="cx">     // FIXME: It's not good to report the bad usage without indicating what source line it came from.
</span><span class="cx">     // We should pass additional parameters so we can tell the console where the mistake occurred.
</span><del>-    context-&gt;addConsoleMessage(JSMessageSource, ErrorMessageLevel, message);
</del><ins>+    context-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Error, message);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> PassRefPtr&lt;XMLHttpRequest&gt; XMLHttpRequest::create(ScriptExecutionContext&amp; context)
</span><span class="lines">@@ -709,7 +708,7 @@
</span><span class="cx"> void XMLHttpRequest::send(ArrayBuffer* body, ExceptionCode&amp; ec)
</span><span class="cx"> {
</span><span class="cx">     String consoleMessage(&quot;ArrayBuffer is deprecated in XMLHttpRequest.send(). Use ArrayBufferView instead.&quot;);
</span><del>-    scriptExecutionContext()-&gt;addConsoleMessage(JSMessageSource, WarningMessageLevel, consoleMessage);
</del><ins>+    scriptExecutionContext()-&gt;addConsoleMessage(MessageSource::JS, MessageLevel::Warning, consoleMessage);
</ins><span class="cx"> 
</span><span class="cx">     HistogramSupport::histogramEnumeration(&quot;WebCore.XHR.send.ArrayBufferOrView&quot;, XMLHttpRequestSendArrayBuffer, XMLHttpRequestSendArrayBufferOrViewMax);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorexmlXSLTProcessorLibxsltcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebCore/xml/XSLTProcessorLibxslt.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -86,20 +86,20 @@
</span><span class="cx">     MessageLevel level;
</span><span class="cx">     switch (error-&gt;level) {
</span><span class="cx">     case XML_ERR_NONE:
</span><del>-        level = DebugMessageLevel;
</del><ins>+        level = MessageLevel::Debug;
</ins><span class="cx">         break;
</span><span class="cx">     case XML_ERR_WARNING:
</span><del>-        level = WarningMessageLevel;
</del><ins>+        level = MessageLevel::Warning;
</ins><span class="cx">         break;
</span><span class="cx">     case XML_ERR_ERROR:
</span><span class="cx">     case XML_ERR_FATAL:
</span><span class="cx">     default:
</span><del>-        level = ErrorMessageLevel;
</del><ins>+        level = MessageLevel::Error;
</ins><span class="cx">         break;
</span><span class="cx">     }
</span><span class="cx"> 
</span><span class="cx">     // xmlError-&gt;int2 is the column number of the error or 0 if N/A.
</span><del>-    console-&gt;addMessage(XMLMessageSource, level, error-&gt;message, error-&gt;file, error-&gt;line, error-&gt;int2);
</del><ins>+    console-&gt;addMessage(MessageSource::XML, level, error-&gt;message, error-&gt;file, error-&gt;line, error-&gt;int2);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> // FIXME: There seems to be no way to control the ctxt pointer for loading here, thus we have globals.
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebInspectorUI/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * UserInterface/InspectorJSBackendCommands.js:
+        * UserInterface/InspectorWebBackendCommands.js:
+        ConsoleAgent moved to JavaScript section.
+
</ins><span class="cx"> 2014-02-06  Andreas Kling  &lt;akling@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove display:run-in support.
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceInspectorJSBackendCommandsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/InspectorJSBackendCommands.js (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/InspectorJSBackendCommands.js        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebInspectorUI/UserInterface/InspectorJSBackendCommands.js        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -6,6 +6,21 @@
</span><span class="cx"> // found in the LICENSE file.
</span><span class="cx"> 
</span><span class="cx"> 
</span><ins>+// Console.
+InspectorBackend.registerConsoleDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, &quot;Console&quot;);
+InspectorBackend.registerEnum(&quot;Console.ConsoleMessageSource&quot;, {XML: &quot;xml&quot;, Javascript: &quot;javascript&quot;, Network: &quot;network&quot;, ConsoleAPI: &quot;console-api&quot;, Storage: &quot;storage&quot;, Appcache: &quot;appcache&quot;, Rendering: &quot;rendering&quot;, CSS: &quot;css&quot;, Security: &quot;security&quot;, Other: &quot;other&quot;});
+InspectorBackend.registerEnum(&quot;Console.ConsoleMessageLevel&quot;, {Log: &quot;log&quot;, Warning: &quot;warning&quot;, Error: &quot;error&quot;, Debug: &quot;debug&quot;});
+InspectorBackend.registerEnum(&quot;Console.ConsoleMessageType&quot;, {Log: &quot;log&quot;, Dir: &quot;dir&quot;, DirXML: &quot;dirxml&quot;, Table: &quot;table&quot;, Trace: &quot;trace&quot;, Clear: &quot;clear&quot;, StartGroup: &quot;startGroup&quot;, StartGroupCollapsed: &quot;startGroupCollapsed&quot;, EndGroup: &quot;endGroup&quot;, Assert: &quot;assert&quot;, Timing: &quot;timing&quot;, Profile: &quot;profile&quot;, ProfileEnd: &quot;profileEnd&quot;});
+InspectorBackend.registerEvent(&quot;Console.messageAdded&quot;, [&quot;message&quot;]);
+InspectorBackend.registerEvent(&quot;Console.messageRepeatCountUpdated&quot;, [&quot;count&quot;]);
+InspectorBackend.registerEvent(&quot;Console.messagesCleared&quot;, []);
+InspectorBackend.registerCommand(&quot;Console.enable&quot;, [], []);
+InspectorBackend.registerCommand(&quot;Console.disable&quot;, [], []);
+InspectorBackend.registerCommand(&quot;Console.clearMessages&quot;, [], []);
+InspectorBackend.registerCommand(&quot;Console.setMonitoringXHREnabled&quot;, [{&quot;name&quot;: &quot;enabled&quot;, &quot;type&quot;: &quot;boolean&quot;, &quot;optional&quot;: false}], []);
+InspectorBackend.registerCommand(&quot;Console.addInspectedNode&quot;, [{&quot;name&quot;: &quot;nodeId&quot;, &quot;type&quot;: &quot;number&quot;, &quot;optional&quot;: false}], []);
+InspectorBackend.registerCommand(&quot;Console.addInspectedHeapObject&quot;, [{&quot;name&quot;: &quot;heapObjectId&quot;, &quot;type&quot;: &quot;number&quot;, &quot;optional&quot;: false}], []);
+
</ins><span class="cx"> // Debugger.
</span><span class="cx"> InspectorBackend.registerDebuggerDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, &quot;Debugger&quot;);
</span><span class="cx"> InspectorBackend.registerEnum(&quot;Debugger.BreakpointActionType&quot;, {Log: &quot;log&quot;, Evaluate: &quot;evaluate&quot;, Sound: &quot;sound&quot;, Probe: &quot;probe&quot;});
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIUserInterfaceInspectorWebBackendCommandsjs"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/UserInterface/InspectorWebBackendCommands.js (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/UserInterface/InspectorWebBackendCommands.js        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebInspectorUI/UserInterface/InspectorWebBackendCommands.js        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -63,21 +63,6 @@
</span><span class="cx"> InspectorBackend.registerCommand(&quot;Canvas.getResourceInfo&quot;, [{&quot;name&quot;: &quot;resourceId&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: false}], [&quot;resourceInfo&quot;]);
</span><span class="cx"> InspectorBackend.registerCommand(&quot;Canvas.getResourceState&quot;, [{&quot;name&quot;: &quot;traceLogId&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: false}, {&quot;name&quot;: &quot;resourceId&quot;, &quot;type&quot;: &quot;string&quot;, &quot;optional&quot;: false}], [&quot;resourceState&quot;]);
</span><span class="cx"> 
</span><del>-// Console.
-InspectorBackend.registerConsoleDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, &quot;Console&quot;);
-InspectorBackend.registerEnum(&quot;Console.ConsoleMessageSource&quot;, {XML: &quot;xml&quot;, Javascript: &quot;javascript&quot;, Network: &quot;network&quot;, ConsoleAPI: &quot;console-api&quot;, Storage: &quot;storage&quot;, Appcache: &quot;appcache&quot;, Rendering: &quot;rendering&quot;, CSS: &quot;css&quot;, Security: &quot;security&quot;, Other: &quot;other&quot;});
-InspectorBackend.registerEnum(&quot;Console.ConsoleMessageLevel&quot;, {Log: &quot;log&quot;, Warning: &quot;warning&quot;, Error: &quot;error&quot;, Debug: &quot;debug&quot;});
-InspectorBackend.registerEnum(&quot;Console.ConsoleMessageType&quot;, {Log: &quot;log&quot;, Dir: &quot;dir&quot;, DirXML: &quot;dirxml&quot;, Table: &quot;table&quot;, Trace: &quot;trace&quot;, Clear: &quot;clear&quot;, StartGroup: &quot;startGroup&quot;, StartGroupCollapsed: &quot;startGroupCollapsed&quot;, EndGroup: &quot;endGroup&quot;, Assert: &quot;assert&quot;, Timing: &quot;timing&quot;, Profile: &quot;profile&quot;, ProfileEnd: &quot;profileEnd&quot;});
-InspectorBackend.registerEvent(&quot;Console.messageAdded&quot;, [&quot;message&quot;]);
-InspectorBackend.registerEvent(&quot;Console.messageRepeatCountUpdated&quot;, [&quot;count&quot;]);
-InspectorBackend.registerEvent(&quot;Console.messagesCleared&quot;, []);
-InspectorBackend.registerCommand(&quot;Console.enable&quot;, [], []);
-InspectorBackend.registerCommand(&quot;Console.disable&quot;, [], []);
-InspectorBackend.registerCommand(&quot;Console.clearMessages&quot;, [], []);
-InspectorBackend.registerCommand(&quot;Console.setMonitoringXHREnabled&quot;, [{&quot;name&quot;: &quot;enabled&quot;, &quot;type&quot;: &quot;boolean&quot;, &quot;optional&quot;: false}], []);
-InspectorBackend.registerCommand(&quot;Console.addInspectedNode&quot;, [{&quot;name&quot;: &quot;nodeId&quot;, &quot;type&quot;: &quot;number&quot;, &quot;optional&quot;: false}], []);
-InspectorBackend.registerCommand(&quot;Console.addInspectedHeapObject&quot;, [{&quot;name&quot;: &quot;heapObjectId&quot;, &quot;type&quot;: &quot;number&quot;, &quot;optional&quot;: false}], []);
-
</del><span class="cx"> // DOM.
</span><span class="cx"> InspectorBackend.registerDOMDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, &quot;DOM&quot;);
</span><span class="cx"> InspectorBackend.registerEvent(&quot;DOM.documentUpdated&quot;, []);
</span></span></pre></div>
<a id="trunkSourceWebKitgtkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/gtk/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/gtk/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,13 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * WebCoreSupport/ChromeClientGtk.cpp:
+        (WebKit::ChromeClient::addMessageToConsole):
+
</ins><span class="cx"> 2014-02-05  Csaba Osztrogonác  &lt;ossy@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove ENABLE(SVG) guards
</span></span></pre></div>
<a id="trunkSourceWebKitgtkWebCoreSupportChromeClientGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -362,7 +362,7 @@
</span><span class="cx">     return runJavaScriptConfirm(frame, message);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void ChromeClient::addMessageToConsole(WebCore::MessageSource source, WebCore::MessageLevel level, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceId)
</del><ins>+void ChromeClient::addMessageToConsole(Inspector::MessageSource source, Inspector::MessageLevel level, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceId)
</ins><span class="cx"> {
</span><span class="cx">     gboolean retval;
</span><span class="cx">     g_signal_emit_by_name(m_webView, &quot;console-message&quot;, message.utf8().data(), lineNumber, sourceId.utf8().data(), &amp;retval);
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/mac/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * WebCoreSupport/WebChromeClient.h:
+        * WebCoreSupport/WebChromeClient.mm:
+        (stringForMessageSource):
+        (stringForMessageLevel):
+        (WebChromeClient::addMessageToConsole):
+
</ins><span class="cx"> 2014-02-05  Gavin Barraclough  &lt;barraclough@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Change Page, FocusController to use ViewState
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebChromeClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -7,13 +7,13 @@
</span><span class="cx">  * are met:
</span><span class="cx">  *
</span><span class="cx">  * 1.  Redistributions of source code must retain the above copyright
</span><del>- *     notice, this list of conditions and the following disclaimer. 
</del><ins>+ *     notice, this list of conditions and the following disclaimer.
</ins><span class="cx">  * 2.  Redistributions in binary form must reproduce the above copyright
</span><span class="cx">  *     notice, this list of conditions and the following disclaimer in the
</span><del>- *     documentation and/or other materials provided with the distribution. 
</del><ins>+ *     documentation and/or other materials provided with the distribution.
</ins><span class="cx">  * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
</span><span class="cx">  *     its contributors may be used to endorse or promote products derived
</span><del>- *     from this software without specific prior written permission. 
</del><ins>+ *     from this software without specific prior written permission.
</ins><span class="cx">  *
</span><span class="cx">  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
</span><span class="cx">  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
</span><span class="lines">@@ -35,9 +35,6 @@
</span><span class="cx"> #import &lt;wtf/Platform.h&gt;
</span><span class="cx"> #import &lt;wtf/text/WTFString.h&gt;
</span><span class="cx"> #import &lt;WebCore/Chrome.h&gt;
</span><del>-
-using WebCore::MessageLevel;
-using WebCore::MessageSource;
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> @class WebView;
</span><span class="lines">@@ -82,7 +79,7 @@
</span><span class="cx">     
</span><span class="cx">     virtual void setResizable(bool) override;
</span><span class="cx">     
</span><del>-    virtual void addMessageToConsole(WebCore::MessageSource, WebCore::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceURL) override;
</del><ins>+    virtual void addMessageToConsole(Inspector::MessageSource, Inspector::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceURL) override;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool canRunBeforeUnloadConfirmPanel() override;
</span><span class="cx">     virtual bool runBeforeUnloadConfirmPanel(const WTF::String&amp; message, WebCore::Frame*) override;
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebCoreSupportWebChromeClientmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/mac/WebCoreSupport/WebChromeClient.mm        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -7,13 +7,13 @@
</span><span class="cx">  * are met:
</span><span class="cx">  *
</span><span class="cx">  * 1.  Redistributions of source code must retain the above copyright
</span><del>- *     notice, this list of conditions and the following disclaimer. 
</del><ins>+ *     notice, this list of conditions and the following disclaimer.
</ins><span class="cx">  * 2.  Redistributions in binary form must reproduce the above copyright
</span><span class="cx">  *     notice, this list of conditions and the following disclaimer in the
</span><del>- *     documentation and/or other materials provided with the distribution. 
</del><ins>+ *     documentation and/or other materials provided with the distribution.
</ins><span class="cx">  * 3.  Neither the name of Apple Computer, Inc. (&quot;Apple&quot;) nor the names of
</span><span class="cx">  *     its contributors may be used to endorse or promote products derived
</span><del>- *     from this software without specific prior written permission. 
</del><ins>+ *     from this software without specific prior written permission.
</ins><span class="cx">  *
</span><span class="cx">  * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; AND ANY
</span><span class="cx">  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
</span><span class="lines">@@ -370,25 +370,25 @@
</span><span class="cx"> inline static NSString *stringForMessageSource(MessageSource source)
</span><span class="cx"> {
</span><span class="cx">     switch (source) {
</span><del>-    case XMLMessageSource:
</del><ins>+    case MessageSource::XML:
</ins><span class="cx">         return WebConsoleMessageXMLMessageSource;
</span><del>-    case JSMessageSource:
</del><ins>+    case MessageSource::JS:
</ins><span class="cx">         return WebConsoleMessageJSMessageSource;
</span><del>-    case NetworkMessageSource:
</del><ins>+    case MessageSource::Network:
</ins><span class="cx">         return WebConsoleMessageNetworkMessageSource;
</span><del>-    case ConsoleAPIMessageSource:
</del><ins>+    case MessageSource::ConsoleAPI:
</ins><span class="cx">         return WebConsoleMessageConsoleAPIMessageSource;
</span><del>-    case StorageMessageSource:
</del><ins>+    case MessageSource::Storage:
</ins><span class="cx">         return WebConsoleMessageStorageMessageSource;
</span><del>-    case AppCacheMessageSource:
</del><ins>+    case MessageSource::AppCache:
</ins><span class="cx">         return WebConsoleMessageAppCacheMessageSource;
</span><del>-    case RenderingMessageSource:
</del><ins>+    case MessageSource::Rendering:
</ins><span class="cx">         return WebConsoleMessageRenderingMessageSource;
</span><del>-    case CSSMessageSource:
</del><ins>+    case MessageSource::CSS:
</ins><span class="cx">         return WebConsoleMessageCSSMessageSource;
</span><del>-    case SecurityMessageSource:
</del><ins>+    case MessageSource::Security:
</ins><span class="cx">         return WebConsoleMessageSecurityMessageSource;
</span><del>-    case OtherMessageSource:
</del><ins>+    case MessageSource::Other:
</ins><span class="cx">         return WebConsoleMessageOtherMessageSource;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="lines">@@ -398,20 +398,20 @@
</span><span class="cx"> inline static NSString *stringForMessageLevel(MessageLevel level)
</span><span class="cx"> {
</span><span class="cx">     switch (level) {
</span><del>-    case DebugMessageLevel:
</del><ins>+    case MessageLevel::Debug:
</ins><span class="cx">         return WebConsoleMessageDebugMessageLevel;
</span><del>-    case LogMessageLevel:
</del><ins>+    case MessageLevel::Log:
</ins><span class="cx">         return WebConsoleMessageLogMessageLevel;
</span><del>-    case WarningMessageLevel:
</del><ins>+    case MessageLevel::Warning:
</ins><span class="cx">         return WebConsoleMessageWarningMessageLevel;
</span><del>-    case ErrorMessageLevel:
</del><ins>+    case MessageLevel::Error:
</ins><span class="cx">         return WebConsoleMessageErrorMessageLevel;
</span><span class="cx">     }
</span><span class="cx">     ASSERT_NOT_REACHED();
</span><span class="cx">     return @&quot;&quot;;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-void WebChromeClient::addMessageToConsole(MessageSource source, MessageLevel level, const String&amp; message, unsigned int lineNumber, unsigned columnNumber, const String&amp; sourceURL)
</del><ins>+void WebChromeClient::addMessageToConsole(MessageSource source, MessageLevel level, const String&amp; message, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceURL)
</ins><span class="cx"> {
</span><span class="cx"> #if !PLATFORM(IOS)
</span><span class="cx">     id delegate = [m_webView UIDelegate];
</span><span class="lines">@@ -432,7 +432,7 @@
</span><span class="cx">         respondsToNewSelector = YES;
</span><span class="cx">     else {
</span><span class="cx">         // The old selector only takes JSMessageSource messages.
</span><del>-        if (source != JSMessageSource)
</del><ins>+        if (source != MessageSource::JS)
</ins><span class="cx">             return;
</span><span class="cx">         selector = @selector(webView:addMessageToConsole:);
</span><span class="cx">         if (![delegate respondsToSelector:selector])
</span></span></pre></div>
<a id="trunkSourceWebKitwinChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/win/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * WebCoreSupport/WebChromeClient.h:
+
</ins><span class="cx"> 2014-02-06  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] Correct IME Regression after r141479
</span></span></pre></div>
<a id="trunkSourceWebKitwinWebCoreSupportWebChromeClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/win/WebCoreSupport/WebChromeClient.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -77,7 +77,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void setResizable(bool);
</span><span class="cx"> 
</span><del>-    virtual void addMessageToConsole(WebCore::MessageSource, WebCore::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; url);
</del><ins>+    virtual void addMessageToConsole(Inspector::MessageSource, Inspector::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; url);
</ins><span class="cx"> 
</span><span class="cx">     virtual bool canRunBeforeUnloadConfirmPanel();
</span><span class="cx">     virtual bool runBeforeUnloadConfirmPanel(const WTF::String&amp; message, WebCore::Frame* frame);
</span></span></pre></div>
<a id="trunkSourceWebKitwinceChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/wince/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/wince/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/wince/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * WebCoreSupport/ChromeClientWinCE.h:
+
</ins><span class="cx"> 2014-01-30  Andrei Bucur  &lt;abucur@adobe.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove the ACCELERATED_COMPOSITING flag
</span></span></pre></div>
<a id="trunkSourceWebKitwinceWebCoreSupportChromeClientWinCEh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit/wince/WebCoreSupport/ChromeClientWinCE.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -75,7 +75,7 @@
</span><span class="cx"> 
</span><span class="cx">     virtual void setResizable(bool) override;
</span><span class="cx"> 
</span><del>-    virtual void addMessageToConsole(WebCore::MessageSource, WebCore::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceID) override;
</del><ins>+    virtual void addMessageToConsole(Inspector::MessageSource, Inspector::MessageLevel, const WTF::String&amp; message, unsigned lineNumber, unsigned columnNumber, const WTF::String&amp; sourceID) override;
</ins><span class="cx"> 
</span><span class="cx">     virtual bool canRunBeforeUnloadConfirmPanel() override;
</span><span class="cx">     virtual bool runBeforeUnloadConfirmPanel(const WTF::String&amp; message, WebCore::Frame*) override;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit2/ChangeLog        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2014-02-06  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
+
+        Web Inspector: Add Console support to JSContext Inspection
+        https://bugs.webkit.org/show_bug.cgi?id=127941
+
+        Reviewed by Geoffrey Garen.
+
+        * WebProcess/WebCoreSupport/WebChromeClient.h:
+
</ins><span class="cx"> 2014-02-06  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Add preferences property to WKWebViewConfiguration
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebCoreSupportWebChromeClienth"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h (163567 => 163568)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h        2014-02-06 23:29:43 UTC (rev 163567)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebChromeClient.h        2014-02-06 23:45:53 UTC (rev 163568)
</span><span class="lines">@@ -90,7 +90,7 @@
</span><span class="cx">     
</span><span class="cx">     virtual void setResizable(bool) override;
</span><span class="cx">     
</span><del>-    virtual void addMessageToConsole(WebCore::MessageSource, WebCore::MessageLevel, const String&amp; message, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceID) override;
</del><ins>+    virtual void addMessageToConsole(Inspector::MessageSource, Inspector::MessageLevel, const String&amp; message, unsigned lineNumber, unsigned columnNumber, const String&amp; sourceID) override;
</ins><span class="cx">     
</span><span class="cx">     virtual bool canRunBeforeUnloadConfirmPanel() override;
</span><span class="cx">     virtual bool runBeforeUnloadConfirmPanel(const String&amp; message, WebCore::Frame*) override;
</span></span></pre>
</div>
</div>

</body>
</html>