1. 29 Feb, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: enable Profiles panel for workers · f58fc046
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79908
      
      Introduced worker profiler agent. Enabled script profiling for
      workers.
      
      Reviewed by Pavel Feldman.
      
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::startForPage):
      (WebCore):
      (WebCore::ScriptProfiler::startForWorkerContext):
      (WebCore::ScriptProfiler::stopForPage):
      (WebCore::ScriptProfiler::stopForWorkerContext):
      * bindings/js/ScriptProfiler.h:
      (WebCore):
      (ScriptProfiler):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::startForPage):
      (WebCore):
      (WebCore::ScriptProfiler::startForWorkerContext):
      (WebCore::ScriptProfiler::stopForPage):
      (WebCore::ScriptProfiler::stopForWorkerContext):
      * bindings/v8/ScriptProfiler.h:
      (WebCore):
      (ScriptProfiler):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore):
      (PageProfilerAgent):
      (WebCore::PageProfilerAgent::PageProfilerAgent):
      (WebCore::PageProfilerAgent::~PageProfilerAgent):
      (WebCore::PageProfilerAgent::startProfiling):
      (WebCore::PageProfilerAgent::stopProfiling):
      (WebCore::InspectorProfilerAgent::create):
      (WorkerProfilerAgent):
      (WebCore::WorkerProfilerAgent::WorkerProfilerAgent):
      (WebCore::WorkerProfilerAgent::~WorkerProfilerAgent):
      (WebCore::WorkerProfilerAgent::startProfiling):
      (WebCore::WorkerProfilerAgent::stopProfiling):
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      (WebCore::InspectorProfilerAgent::start):
      (WebCore::InspectorProfilerAgent::stop):
      * inspector/InspectorProfilerAgent.h:
      (WebCore):
      (InspectorProfilerAgent):
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      (WebCore::WorkerInspectorController::connectFrontend):
      (WebCore::WorkerInspectorController::disconnectFrontend):
      (WebCore::WorkerInspectorController::restoreInspectorStateFromCookie):
      * inspector/WorkerInspectorController.h:
      (WebCore):
      (WorkerInspectorController):
      * inspector/front-end/ProfilesPanel.js:
      * inspector/front-end/inspector.js:
      (WebInspector._createPanels):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f58fc046
  2. 16 Feb, 2012 1 commit
    • loislo@chromium.org's avatar
      Web Inspector: [heap snapshot] It could be useful to have access to the... · f59b0306
      loislo@chromium.org authored
      Web Inspector: [heap snapshot] It could be useful to have access to the selected heap object from the console.
      https://bugs.webkit.org/show_bug.cgi?id=78496
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
             * bindings/js/JSInjectedScriptHostCustom.cpp:
      (WebCore::JSInjectedScriptHost::inspectedObject):
      * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
      (WebCore::V8InjectedScriptHost::inspectedObjectCallback):
      * inspector/InjectedScriptHost.cpp:
      (WebCore::InjectedScriptHost::InjectedScriptHost):
      (WebCore::InjectedScriptHost::InspectableObject::get):
      (WebCore):
      (WebCore::InjectedScriptHost::addInspectedObject):
      (WebCore::InjectedScriptHost::clearInspectedObjects):
      (WebCore::InjectedScriptHost::inspectedObject):
      * inspector/InjectedScriptHost.h:
      (InspectableObject):
      (WebCore::InjectedScriptHost::InspectableObject::~InspectableObject):
      (InjectedScriptHost):
      * inspector/InjectedScriptHost.idl:
      * inspector/InjectedScriptSource.js:
      (.):
      * inspector/Inspector.json:
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::domContentLoadedEventFired):
      * inspector/InspectorConsoleAgent.cpp:
      (InspectableHeapObject):
      (WebCore::InspectableHeapObject::InspectableHeapObject):
      (WebCore::InspectableHeapObject::get):
      (WebCore):
      (WebCore::InspectorConsoleAgent::addInspectedHeapObject):
      * inspector/InspectorConsoleAgent.h:
      (InspectorConsoleAgent):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::resetState):
      * inspector/PageConsoleAgent.cpp:
      (InspectableNode):
      (WebCore::InspectableNode::InspectableNode):
      (WebCore::InspectableNode::get):
      (WebCore):
      (WebCore::PageConsoleAgent::addInspectedNode):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.DetailedHeapshotView.prototype._selectionChanged):
      (WebInspector.DetailedHeapshotView.prototype._inspectedObjectChanged):
      
      LayoutTests:
      
      * inspector/protocol/console-agent-expected.txt:
      * inspector/protocol/console-agent.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f59b0306
  3. 08 Feb, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: inspected object wrapper should be released by InjectedScript when popover closes · a1270f83
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77972
      
      When object popover is shown the object under cursor is resolved and its
      wrapper is put into 'popover' object wrapper group. The group is discarded
      when the popover closes.
      
      Reviewed by Pavel Feldman.
      
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      * bindings/js/ScriptProfiler.h:
      (WebCore):
      (ScriptProfiler):
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      (WebCore):
      * bindings/v8/ScriptProfiler.h:
      (WebCore):
      (ScriptProfiler):
      * inspector/Inspector.json:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      (InspectorProfilerAgent):
      * inspector/front-end/DetailedHeapshotGridNodes.js:
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.DetailedHeapshotView.prototype._resolveObjectForPopover):
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame):
      (WebInspector.JavaScriptSourceFrame.prototype._resolveObjectForPopover):
      (WebInspector.JavaScriptSourceFrame.prototype._onHidePopover):
      * inspector/front-end/ObjectPopoverHelper.js:
      (WebInspector.ObjectPopoverHelper):
      (WebInspector.ObjectPopoverHelper.prototype._showObjectPopover):
      (WebInspector.ObjectPopoverHelper.prototype._onHideObjectPopover):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a1270f83
  4. 06 Feb, 2012 1 commit
    • yurys@chromium.org's avatar
      Web Inspector: CodeGeneratorInspector.py: switch domain agents to formal... · c22f745a
      yurys@chromium.org authored
      Web Inspector: CodeGeneratorInspector.py: switch domain agents to formal interfaces in BackendDispatcher
      https://bugs.webkit.org/show_bug.cgi?id=77444
      
      Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-02-05
      Reviewed by Yury Semikhatsky.
      
      All agent code is switched to formal interfaces. Actual agent class
      names and includes are dropped from InspectorBackendDispatcher.h.
      
      * inspector/CodeGeneratorInspector.py:
      (DomainNameFixes.get_fixed_data):
      (Generator.go):
      * inspector/InspectorAgent.h:
      * inspector/InspectorApplicationCacheAgent.h:
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
      * inspector/InspectorCSSAgent.h:
      (InspectorCSSAgent):
      * inspector/InspectorConsoleAgent.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::highlightNode):
      * inspector/InspectorDOMAgent.h:
      (InspectorDOMAgent):
      * inspector/InspectorDOMDebuggerAgent.h:
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpoint):
      (WebCore::InspectorDebuggerAgent::continueToLocation):
      * inspector/InspectorDebuggerAgent.h:
      (InspectorDebuggerAgent):
      * inspector/InspectorFileSystemAgent.h:
      * inspector/InspectorIndexedDBAgent.h:
      * inspector/InspectorMemoryAgent.h:
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfile):
      (WebCore::InspectorProfilerAgent::removeProfile):
      * inspector/InspectorProfilerAgent.h:
      (InspectorProfilerAgent):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::setExtraHTTPHeaders):
      * inspector/InspectorResourceAgent.h:
      (InspectorResourceAgent):
      * inspector/InspectorRuntimeAgent.h:
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::start):
      * inspector/InspectorTimelineAgent.h:
      (InspectorTimelineAgent):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::sendMessageToWorker):
      * inspector/InspectorWorkerAgent.h:
      (InspectorWorkerAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c22f745a
  5. 13 Jan, 2012 1 commit
  6. 12 Jan, 2012 1 commit
    • vsevik@chromium.org's avatar
      Make default console messages line numbers consistent. · 0c3bdd92
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=74075
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Added default values for Console::addMessage sourceURL, lineNumber and
      callStack parameters, moved lineNumber after sourceURL.
      Made virtual method ScriptExecutionContext::addMessage private
      Added default values to ScriptExecutionContext::AddConsoleMessage sourceURL, lineNumber and
      callStack parameters, moved lineNumber after sourceURL.
      Reorder ScriptExecutionContext::logExceptionToConsole parameters, move lineNumber after sourceURL.
      Reordered sourceURL and lineNumber parameters in inspector methods.
      Made all calls to Console::addMessage() pass 0 as lineNumber by default (i.e. when line number is unknown / irrelevant).
      Unset line numbers are not printed to console in QT now.
      
      * bindings/js/JSCustomXPathNSResolver.cpp:
      (WebCore::JSCustomXPathNSResolver::lookupNamespaceURI):
      * bindings/v8/custom/V8CustomXPathNSResolver.cpp:
      (WebCore::V8CustomXPathNSResolver::lookupNamespaceURI):
      * dom/Document.cpp:
      (WebCore::Document::logExceptionToConsole):
      (WebCore::Document::addMessage):
      * dom/Document.h:
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::AddConsoleMessageTask::performTask):
      (WebCore::ScriptExecutionContext::reportException):
      (WebCore::ScriptExecutionContext::addConsoleMessage):
      * dom/ScriptExecutionContext.h:
      * dom/UIEvent.cpp:
      (WebCore::UIEvent::warnDeprecatedLayerXYUsage):
      * dom/ViewportArguments.cpp:
      (WebCore::reportViewportWarning):
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::validateInteractively):
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::printWarningToConsole):
      * inspector/ConsoleMessage.cpp:
      (WebCore::ConsoleMessage::ConsoleMessage):
      * inspector/ConsoleMessage.h:
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::enable):
      (WebCore::InspectorConsoleAgent::addMessageToConsole):
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
      * inspector/InspectorConsoleAgent.h:
      * inspector/InspectorConsoleInstrumentation.h:
      (WebCore::InspectorInstrumentation::addMessageToConsole):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::addMessageToConsoleImpl):
      * inspector/InspectorInstrumentation.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
      (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::checkIfDisplayInsecureContent):
      (WebCore::FrameLoader::checkIfRunInsecureContent):
      (WebCore::FrameLoader::reportLocalLoadFailed):
      (WebCore::FrameLoader::shouldAllowNavigation):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (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/Console.cpp:
      (WebCore::Console::addMessage):
      (WebCore::Console::groupEnd):
      * page/Console.h:
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::postMessageTimerFired):
      (WebCore::DOMWindow::printErrorMessage):
      * storage/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::logErrorMessage):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::reportMessage):
      * websockets/WebSocket.cpp:
      (WebCore::WebSocket::connect):
      * websockets/WebSocketChannel.cpp:
      (WebCore::WebSocketChannel::fail):
      (WebCore::WebSocketChannel::didFailSocketStream):
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::postConsoleMessageTask):
      (WebCore::SharedWorkerProxy::postConsoleMessageToWorkerObject):
      * workers/SharedWorkerContext.cpp:
      (WebCore::SharedWorkerContext::logExceptionToConsole):
      * workers/SharedWorkerContext.h:
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::logExceptionToConsole):
      (WebCore::WorkerContext::addMessage):
      (WebCore::WorkerContext::addMessageToWorkerConsole):
      * workers/WorkerContext.h:
      * workers/WorkerMessagingProxy.cpp:
      (WebCore::postConsoleMessageTask):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::XSLTProcessor::parseErrorFunc):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTMessageHandler::handleMessage):
      
      Source/WebKit/chromium:
      
      Unset line numbers are not printed to console now.
      
      * src/WebFrameImpl.cpp:
      (WebKit::WebFrameImpl::addMessageToConsole):
      
      Source/WebKit/qt:
      
      Unset line numbers are not printed to console now.
      
      * Api/qwebpage.cpp:
      (QWebPage::javaScriptConsoleMessage):
      
      Tools:
      
      Unset line numbers are not printed to console now.
      Added Source/WebCore/inspector to efl DumpRenderTree include path.
      
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::didAddMessageToConsole):
      * DumpRenderTree/efl/CMakeLists.txt:
      * DumpRenderTree/efl/DumpRenderTreeView.cpp:
      (onConsoleMessage):
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (webViewConsoleMessage):
      * DumpRenderTree/mac/UIDelegate.mm:
      (-[UIDelegate webView:addMessageToConsole:withSource:]):
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebCore::WebPage::javaScriptConsoleMessage):
      * DumpRenderTree/win/UIDelegate.cpp:
      (UIDelegate::webViewAddMessageToConsole):
      * DumpRenderTree/wx/DumpRenderTreeWx.cpp:
      (LayoutWebViewEventHandler::OnConsoleMessageEvent):
      
      LayoutTests:
      
      Removed unset line numbers in console messages from test expectations.
      
      * fast/canvas/svg-taint-expected.txt:
      * fast/dom/Window/window-xy-properties-expected.txt:
      * fast/events/init-events-expected.txt:
      * fast/events/mouse-relative-position-expected.txt:
      * fast/events/mouseclick-target-and-positioning-expected.txt:
      * fast/events/simulated-click-coords-expected.txt:
      * fast/forms/interactive-validation-prevented-expected.txt:
      * fast/workers/storage/open-database-creation-callback-sync-expected.txt:
      * fast/workers/storage/open-database-set-empty-version-sync-expected.txt:
      * fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt:
      * fast/xmlhttprequest/xmlhttprequest-responsetype-before-open-sync-request-expected.txt:
      * fast/xmlhttprequest/xmlhttprequest-responsetype-sync-request-expected.txt:
      * fast/xpath/nsresolver-bad-object-expected.txt:
      * http/tests/appcache/local-content-expected.txt:
      * http/tests/canvas/philip/tests/security.drawImage.canvas-expected.txt:
      * http/tests/canvas/philip/tests/security.drawImage.image-expected.txt:
      * http/tests/canvas/philip/tests/security.pattern.canvas.fillStyle-expected.txt:
      * http/tests/canvas/philip/tests/security.pattern.canvas.strokeStyle-expected.txt:
      * http/tests/canvas/philip/tests/security.pattern.cross-expected.txt:
      * http/tests/canvas/philip/tests/security.pattern.image.fillStyle-expected.txt:
      * http/tests/canvas/philip/tests/security.pattern.image.strokeStyle-expected.txt:
      * http/tests/eventsource/eventsource-bad-mime-type-expected.txt:
      * http/tests/eventsource/eventsource-content-type-charset-expected.txt:
      * http/tests/history/cross-origin-replace-history-object-expected.txt:
      * http/tests/inspector/console-xhr-logging-expected.txt:
      * http/tests/inspector/network-preflight-options-expected.txt:
      * http/tests/inspector/network/x-frame-options-deny-expected.txt:
      * http/tests/misc/bubble-drag-events-expected.txt:
      * http/tests/misc/drag-over-iframe-invalid-source-crash-expected.txt:
      * http/tests/misc/iframe-invalid-source-crash-expected.txt:
      * http/tests/misc/image-blocked-src-change-expected.txt:
      * http/tests/misc/image-blocked-src-no-change-expected.txt:
      * http/tests/misc/unloadable-script-expected.txt:
      * http/tests/plugins/cross-frame-object-access-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny-expected.txt:
      * http/tests/security/XFrameOptions/x-frame-options-parent-same-origin-deny-expected.txt:
      * http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
      * http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
      * http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
      * http/tests/security/canvas-remote-read-data-url-svg-image-expected.txt:
      * http/tests/security/canvas-remote-read-redirect-to-remote-image-expected.txt:
      * http/tests/security/canvas-remote-read-remote-image-blocked-no-crossorigin-expected.txt:
      * http/tests/security/canvas-remote-read-remote-image-blocked-then-allowed-expected.txt:
      * http/tests/security/canvas-remote-read-remote-image-expected.txt:
      * http/tests/security/canvas-remote-read-remote-image-redirect-expected.txt:
      * http/tests/security/canvas-remote-read-svg-image-expected.txt:
      * http/tests/security/contentSecurityPolicy/block-mixed-content-hides-warning-expected.txt:
      * http/tests/security/contentSecurityPolicy/connect-src-eventsource-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/connect-src-websocket-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/default-src-inline-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/directive-parsing-01-expected.txt:
      * http/tests/security/contentSecurityPolicy/directive-parsing-02-expected.txt:
      * http/tests/security/contentSecurityPolicy/directive-parsing-03-expected.txt:
      * http/tests/security/contentSecurityPolicy/eval-scripts-setInterval-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/eval-scripts-setTimeout-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/frame-src-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/image-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/inline-script-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/inline-script-blocked-goofy-expected.txt:
      * http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt:
      * http/tests/security/contentSecurityPolicy/inline-style-attribute-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/inline-style-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/javascript-url-allowed-expected.txt:
      * http/tests/security/contentSecurityPolicy/javascript-url-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/object-src-no-url-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/object-src-none-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/report-only-expected.txt:
      * http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt:
      * http/tests/security/contentSecurityPolicy/report-uri-expected.txt:
      * http/tests/security/contentSecurityPolicy/report-uri-from-child-frame-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-loads-with-img-src-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-in-iframe-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-none-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-none-inline-event-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-redirect-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-self-blocked-01-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-self-blocked-02-expected.txt:
      * http/tests/security/contentSecurityPolicy/script-src-self-blocked-03-expected.txt:
      * http/tests/security/contentSecurityPolicy/source-list-parsing-expected.txt:
      * http/tests/security/contentSecurityPolicy/style-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/worker-connect-src-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/worker-script-src-expected.txt:
      * http/tests/security/contentSecurityPolicy/xsl-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/xsl-img-blocked-expected.txt:
      * http/tests/security/contentSecurityPolicy/xsl-unaffected-by-style-src-1-expected.txt:
      * http/tests/security/cross-frame-access-call-expected.txt:
      * http/tests/security/cross-frame-access-callback-explicit-domain-DENY-expected.txt:
      * http/tests/security/cross-frame-access-child-explicit-domain-expected.txt:
      * http/tests/security/cross-frame-access-custom-expected.txt:
      * http/tests/security/cross-frame-access-delete-expected.txt:
      * http/tests/security/cross-frame-access-enumeration-expected.txt:
      * http/tests/security/cross-frame-access-first-time-expected.txt:
      * http/tests/security/cross-frame-access-get-custom-property-cached-expected.txt:
      * http/tests/security/cross-frame-access-get-expected.txt:
      * http/tests/security/cross-frame-access-history-get-expected.txt:
      * http/tests/security/cross-frame-access-history-put-expected.txt:
      * http/tests/security/cross-frame-access-location-get-expected.txt:
      * http/tests/security/cross-frame-access-location-put-expected.txt:
      * http/tests/security/cross-frame-access-name-getter-expected.txt:
      * http/tests/security/cross-frame-access-object-getPrototypeOf-expected.txt:
      * http/tests/security/cross-frame-access-object-prototype-expected.txt:
      * http/tests/security/cross-frame-access-parent-explicit-domain-expected.txt:
      * http/tests/security/cross-frame-access-port-expected.txt:
      * http/tests/security/cross-frame-access-protocol-expected.txt:
      * http/tests/security/cross-frame-access-protocol-explicit-domain-expected.txt:
      * http/tests/security/cross-frame-access-selection-expected.txt:
      * http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:
      * http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
      * http/tests/security/filesystem-iframe-from-remote-expected.txt:
      * http/tests/security/frame-loading-via-document-write-expected.txt:
      * http/tests/security/frameNavigation/not-opener-expected.txt:
      * http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt:
      * http/tests/security/frameNavigation/xss-DENIED-targeted-link-navigation-expected.txt:
      * http/tests/security/img-with-failed-cors-check-fails-to-load-expected.txt:
      * http/tests/security/isolatedWorld/cross-origin-xhr-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
      * http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
      * http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/javascriptURL/xss-DENIED-from-javascript-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-subframe-expected.txt:
      * http/tests/security/javascriptURL/xss-DENIED-to-javascript-url-in-foreign-domain-window-open-expected.txt:
      * http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt:
      * http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt:
      * http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt:
      * http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt:
      * http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt:
      * http/tests/security/listener/xss-window-onclick-shortcut-expected.txt:
      * http/tests/security/local-CSS-from-remote-expected.txt:
      * http/tests/security/local-JavaScript-from-remote-expected.txt:
      * http/tests/security/local-iFrame-from-remote-expected.txt:
      * http/tests/security/local-image-from-remote-expected.txt:
      * http/tests/security/local-video-poster-from-remote-expected.txt:
      * http/tests/security/local-video-source-from-remote-expected.txt:
      * http/tests/security/local-video-src-from-remote-expected.txt:
      * http/tests/security/mixedContent/insecure-css-in-iframe-expected.txt:
      * http/tests/security/mixedContent/insecure-css-in-main-frame-expected.txt:
      * http/tests/security/mixedContent/insecure-iframe-in-main-frame-expected.txt:
      * http/tests/security/mixedContent/insecure-image-in-main-frame-expected.txt:
      * http/tests/security/mixedContent/insecure-script-in-iframe-expected.txt:
      * http/tests/security/mixedContent/redirect-http-to-https-iframe-in-main-frame-expected.txt:
      * http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe-expected.txt:
      * http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
      * http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe-expected.txt:
      * http/tests/security/postMessage/invalid-origin-throws-exception-expected.txt:
      * http/tests/security/postMessage/target-origin-expected.txt:
      * http/tests/security/redirect-BLOCKED-to-localURL-expected.txt:
      * http/tests/security/sandboxed-iframe-modify-self-expected.txt:
      * http/tests/security/sandboxed-iframe-origin-add-expected.txt:
      * http/tests/security/sandboxed-iframe-origin-remove-expected.txt:
      * http/tests/security/text-track-crossorigin-expected.txt:
      * http/tests/security/view-source-no-javascript-url-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-hash-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-host-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-hostname-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-nonstandardProperty-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-pathname-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-protocol-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-reload-expected.txt:
      * http/tests/security/xss-DENIED-assign-location-search-expected.txt:
      * http/tests/security/xss-DENIED-document-baseURI-javascript-expected.txt:
      * http/tests/security/xss-DENIED-document-baseURI-javascript-with-spaces-expected.txt:
      * http/tests/security/xss-DENIED-frame-name-expected.txt:
      * http/tests/security/xss-DENIED-getSVGDocument-iframe-expected.txt:
      * http/tests/security/xss-DENIED-getSVGDocument-object-expected.txt:
      * http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto-expected.txt:
      * http/tests/security/xss-DENIED-iframe-src-alias-expected.txt:
      * http/tests/security/xss-DENIED-invalid-domain-change-expected.txt:
      * http/tests/security/xss-DENIED-javascript-with-spaces-expected.txt:
      * http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt:
      * http/tests/security/xss-DENIED-sandboxed-iframe-expected.txt:
      * http/tests/security/xss-DENIED-synchronous-form-expected.txt:
      * http/tests/security/xss-DENIED-synchronous-frame-load-in-javascript-url-expected.txt:
      * http/tests/security/xss-DENIED-window-open-javascript-url-expected.txt:
      * http/tests/security/xss-DENIED-window-open-javascript-url-with-spaces-expected.txt:
      * http/tests/security/xss-DENIED-window-open-parent-expected.txt:
      * http/tests/security/xss-DENIED-xml-external-entity-expected.txt:
      * http/tests/security/xss-DENIED-xsl-document-expected.txt:
      * http/tests/security/xss-DENIED-xsl-document-securityOrigin-expected.txt:
      * http/tests/security/xss-DENIED-xsl-external-entity-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-inline-event-null-char-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location-javascript-URL-expected.txt:
      * http/tests/security/xssAuditor/anchor-url-dom-write-location2-expected.txt:
      * http/tests/security/xssAuditor/base-href-control-char-expected.txt:
      * http/tests/security/xssAuditor/base-href-expected.txt:
      * http/tests/security/xssAuditor/base-href-null-char-expected.txt:
      * http/tests/security/xssAuditor/base-href-scheme-relative-expected.txt:
      * http/tests/security/xssAuditor/cookie-injection-expected.txt:
      * http/tests/security/xssAuditor/dom-write-URL-expected.txt:
      * http/tests/security/xssAuditor/dom-write-location-expected.txt:
      * http/tests/security/xssAuditor/dom-write-location-inline-event-expected.txt:
      * http/tests/security/xssAuditor/dom-write-location-javascript-URL-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-code-attribute-2-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-code-attribute-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-control-char-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-javascript-url-expected.txt:
      * http/tests/security/xssAuditor/embed-tag-null-char-expected.txt:
      * http/tests/security/xssAuditor/form-action-expected.txt:
      * http/tests/security/xssAuditor/full-block-base-href-expected.txt:
      * http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt:
      * http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt:
      * http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt:
      * http/tests/security/xssAuditor/full-block-javascript-link-expected.txt:
      * http/tests/security/xssAuditor/full-block-link-onclick-expected.txt:
      * http/tests/security/xssAuditor/full-block-object-tag-expected.txt:
      * http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt:
      * http/tests/security/xssAuditor/full-block-script-tag-expected.txt:
      * http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt:
      * http/tests/security/xssAuditor/get-from-iframe-expected.txt:
      * http/tests/security/xssAuditor/iframe-injection-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-more-encoding-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode2-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-twice-url-encode3-expected.txt:
      * http/tests/security/xssAuditor/iframe-javascript-url-url-encoded-expected.txt:
      * http/tests/security/xssAuditor/img-onerror-accented-char-expected.txt:
      * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-default-encoding-expected.txt:
      * http/tests/security/xssAuditor/img-onerror-non-ASCII-char-expected.txt:
      * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-default-encoding-expected.txt:
      * http/tests/security/xssAuditor/img-onerror-non-ASCII-char2-expected.txt:
      * http/tests/security/xssAuditor/inline-event-HTML-entities-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-HTML-entities-control-char-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-HTML-entities-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-HTML-entities-named-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-ampersand-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-control-char-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-null-char-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-one-plus-one-expected.txt:
      * http/tests/security/xssAuditor/javascript-link-url-encoded-expected.txt:
      * http/tests/security/xssAuditor/link-onclick-ampersand-expected.txt:
      * http/tests/security/xssAuditor/link-onclick-control-char-expected.txt:
      * http/tests/security/xssAuditor/link-onclick-entities-expected.txt:
      * http/tests/security/xssAuditor/link-onclick-expected.txt:
      * http/tests/security/xssAuditor/link-onclick-null-char-expected.txt:
      * http/tests/security/xssAuditor/link-opens-new-window-expected.txt:
      * http/tests/security/xssAuditor/malformed-HTML-expected.txt:
      * http/tests/security/xssAuditor/malformed-xss-protection-header-expected.txt:
      * http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url-expected.txt:
      * http/tests/security/xssAuditor/meta-tag-http-refresh-x-frame-options-expected.txt:
      * http/tests/security/xssAuditor/object-embed-tag-control-char-expected.txt:
      * http/tests/security/xssAuditor/object-embed-tag-expected.txt:
      * http/tests/security/xssAuditor/object-embed-tag-null-char-expected.txt:
      * http/tests/security/xssAuditor/object-tag-expected.txt:
      * http/tests/security/xssAuditor/object-tag-javascript-url-expected.txt:
      * http/tests/security/xssAuditor/open-attribute-body-expected.txt:
      * http/tests/security/xssAuditor/open-event-handler-iframe-expected.txt:
      * http/tests/security/xssAuditor/post-from-iframe-expected.txt:
      * http/tests/security/xssAuditor/property-escape-comment-expected.txt:
      * http/tests/security/xssAuditor/property-escape-entity-expected.txt:
      * http/tests/security/xssAuditor/property-escape-expected.txt:
      * http/tests/security/xssAuditor/property-escape-long-expected.txt:
      * http/tests/security/xssAuditor/property-escape-quote-expected.txt:
      * http/tests/security/xssAuditor/script-tag-addslashes-backslash-expected.txt:
      * http/tests/security/xssAuditor/script-tag-addslashes-double-quote-expected.txt:
      * http/tests/security/xssAuditor/script-tag-addslashes-null-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-addslashes-single-quote-expected.txt:
      * http/tests/security/xssAuditor/script-tag-control-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-convoluted-expected.txt:
      * http/tests/security/xssAuditor/script-tag-entities-expected.txt:
      * http/tests/security/xssAuditor/script-tag-expected.txt:
      * http/tests/security/xssAuditor/script-tag-null-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-open-redirect-expected.txt:
      * http/tests/security/xssAuditor/script-tag-post-control-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-post-expected.txt:
      * http/tests/security/xssAuditor/script-tag-post-null-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-redirect-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode-surrogate-pair-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode2-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode3-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode4-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-16bit-unicode5-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-callbacks-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-fancy-unicode-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-invalid-closing-tag-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-invalid-url-encoding-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-control-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-data-url-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-double-quote-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-entities-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-no-quote-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-null-char-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-relative-scheme-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-same-host-with-query-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-source-unterminated-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-three-times-url-encoded-16bit-unicode-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-trailing-comment-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-trailing-comment2-expected.txt:
      * http/tests/security/xssAuditor/script-tag-with-trailing-comment3-expected.txt:
      * http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt:
      * http/tests/security/xssAuditor/xss-filter-bypass-long-string-expected.txt:
      * http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt:
      * http/tests/security/xssAuditor/xss-protection-parsing-01-expected.txt:
      * http/tests/websocket/tests/hixie76/bad-handshake-crash-expected.txt:
      * http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
      * http/tests/websocket/tests/hixie76/bad-sub-protocol-empty-expected.txt:
      * http/tests/websocket/tests/hixie76/bad-sub-protocol-non-ascii-expected.txt:
      * http/tests/websocket/tests/hixie76/close-before-open-expected.txt:
      * http/tests/websocket/tests/hixie76/frame-length-overflow-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-error-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-cross-origin-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-maxlength-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-no-connection-header-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-no-cr-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-no-upgrade-header-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-prepended-null-expected.txt:
      * http/tests/websocket/tests/hixie76/handshake-fail-by-sub-protocol-mismatch-expected.txt:
      * http/tests/websocket/tests/hixie76/long-invalid-header-expected.txt:
      * http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
      * http/tests/websocket/tests/hixie76/url-with-query-for-no-query-expected.txt:
      * http/tests/websocket/tests/hixie76/websocket-event-target-expected.txt:
      * http/tests/websocket/tests/hybi/bad-handshake-crash-expected.txt:
      * http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt:
      * http/tests/websocket/tests/hybi/bad-sub-protocol-empty-expected.txt:
      * http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt:
      * http/tests/websocket/tests/hybi/broken-utf8-expected.txt:
      * http/tests/websocket/tests/hybi/close-before-open-expected.txt:
      * http/tests/websocket/tests/hybi/close-code-and-reason-expected.txt:
      * http/tests/websocket/tests/hybi/close-expected.txt:
      * http/tests/websocket/tests/hybi/fragmented-control-frame-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-error-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-extensions-header-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-maxlength-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-no-accept-header-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-no-cr-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-prepended-null-expected.txt:
      * http/tests/websocket/tests/hybi/handshake-fail-by-wrong-accept-header-expected.txt:
      * http/tests/websocket/tests/hybi/interleaved-fragments-expected.txt:
      * http/tests/websocket/tests/hybi/invalid-continuation-expected.txt:
      * http/tests/websocket/tests/hybi/invalid-subprotocol-characters-expected.txt:
      * http/tests/websocket/tests/hybi/invalid-subprotocols-expected.txt:
      * http/tests/websocket/tests/hybi/long-control-frame-expected.txt:
      * http/tests/websocket/tests/hybi/long-invalid-header-expected.txt:
      * http/tests/websocket/tests/hybi/reserved-bits-expected.txt:
      * http/tests/websocket/tests/hybi/reserved-opcodes-expected.txt:
      * http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt:
      * http/tests/websocket/tests/hybi/too-long-payload-expected.txt:
      * http/tests/websocket/tests/hybi/url-parsing-expected.txt:
      * http/tests/websocket/tests/hybi/websocket-event-target-expected.txt:
      * http/tests/websocket/tests/hybi/workers/close-code-and-reason-expected.txt:
      * http/tests/websocket/tests/hybi/workers/close-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-get-fail-non-simple-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-post-fail-non-simple-content-type-expected.txt:
      * http/tests/xmlhttprequest/access-control-basic-whitelist-response-headers-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-async-header-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-async-method-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-async-not-supported-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-sync-header-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-sync-method-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-preflight-sync-not-supported-expected.txt:
      * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt:
      * http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-without-wildcard-expected.txt:
      * http/tests/xmlhttprequest/cross-origin-no-authorization-expected.txt:
      * http/tests/xmlhttprequest/cross-origin-no-credential-prompt-expected.txt:
      * http/tests/xmlhttprequest/cross-site-denied-response-expected.txt:
      * http/tests/xmlhttprequest/cross-site-denied-response-sync-2-expected.txt:
      * http/tests/xmlhttprequest/cross-site-denied-response-sync-expected.txt:
      * http/tests/xmlhttprequest/get-dangerous-headers-expected.txt:
      * http/tests/xmlhttprequest/getResponseHeader-expected.txt:
      * http/tests/xmlhttprequest/onerror-event-expected.txt:
      * http/tests/xmlhttprequest/origin-whitelisting-https-expected.txt:
      * http/tests/xmlhttprequest/origin-whitelisting-ip-addresses-with-subdomains-expected.txt:
      * http/tests/xmlhttprequest/origin-whitelisting-removal-expected.txt:
      * http/tests/xmlhttprequest/set-dangerous-headers-expected.txt:
      * http/tests/xmlhttprequest/simple-cross-origin-denied-events-expected.txt:
      * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-expected.txt:
      * http/tests/xmlhttprequest/simple-cross-origin-denied-events-post-sync-expected.txt:
      * http/tests/xmlhttprequest/simple-cross-origin-denied-events-sync-expected.txt:
      * http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt:
      * http/tests/xmlhttprequest/workers/access-control-basic-get-fail-non-simple-expected.txt:
      * http/tests/xmlhttprequest/xmlhttprequest-sync-no-progress-events-expected.txt:
      * jquery/event-expected.txt:
      * media/csp-blocks-video-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
      * platform/chromium-linux/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
      * platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
      * platform/chromium-linux/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
      * platform/chromium-linux/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
      * platform/chromium-mac/fast/history/timed-refresh-in-cached-frame-expected.txt:
      * platform/chromium-mac/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/chromium-mac/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/chromium-mac/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
      * platform/chromium-mac/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
      * platform/chromium-win/fast/history/timed-refresh-in-cached-frame-expected.txt:
      * platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-no-file-access-expected.txt:
      * platform/chromium-win/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt:
      * platform/chromium-win/http/tests/security/cross-origin-xsl-redirect-BLOCKED-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
      * platform/chromium-win/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
      * platform/chromium-win/http/tests/websocket/tests/hixie76/bad-sub-protocol-control-chars-expected.txt:
      * platform/chromium-win/http/tests/websocket/tests/hixie76/url-parsing-expected.txt:
      * platform/chromium-win/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
      * platform/chromium-win/websocket/tests/bad-sub-protocol-expected.txt:
      * platform/chromium-win/websocket/tests/bad-sub-protocol-non-ascii-expected.txt:
      * platform/chromium-win/websocket/tests/url-parsing-expected.txt:
      * platform/chromium/fast/dom/Geolocation/notimer-after-unload-expected.txt:
      * platform/chromium/fast/events/onbeforeunload-focused-iframe-expected.txt:
      * platform/chromium/fast/events/onunload-clears-onbeforeunload-expected.txt:
      * platform/chromium/fast/events/onunload-expected.txt:
      * platform/chromium/fast/events/onunload-not-on-body-expected.txt:
      * platform/chromium/fast/events/onunload-window-property-expected.txt:
      * platform/chromium/fast/events/pageshow-pagehide-on-back-uncached-expected.txt:
      * platform/chromium/fast/history/timed-refresh-in-cached-frame-expected.txt:
      * platform/chromium/fast/loader/frames-with-unload-handlers-in-page-cache-expected.txt:
      * platform/chromium/fast/loader/page-dismissal-modal-dialogs-expected.txt:
      * platform/chromium/fast/loader/recursive-before-unload-crash-expected.txt:
      * platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:
      * platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
      * platform/chromium/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
      * platform/chromium/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
      * platform/chromium/http/tests/security/contentSecurityPolicy/media-src-blocked-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-document-direct-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-enumeration-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-history-get-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-history-put-expected.txt:
      * platform/chromium/http/tests/security/cross-frame-access-location-put-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-subframe-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-in-foreign-domain-window-open-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-2-level-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-data-url-to-data-url-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-from-javascript-url-window-open-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-from-data-url-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe-location-change-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-2-level-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-sub-frame-uppercase-expected.txt:
      * platform/chromium/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
      * platform/chromium/http/tests/security/frameNavigation/xss-DENIED-plugin-navigation-expected.txt:
      * platform/chromium/http/tests/security/inactive-document-with-empty-security-origin-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-getAttribute-value-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-htmldom-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttribute-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNS-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNode-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-src-setAttributeNodeNS-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-getAttribute-value-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-htmldom-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttribute-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNS-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNode-expected.txt:
      * platform/chromium/http/tests/security/javascriptURL/javascriptURL-execution-context-iframe-src-setAttributeNodeNS-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-addEventListener-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-JSTargetNode-onclick-shortcut-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-addEventListener-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-XMLHttpRequest-shortcut-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-window-onclick-addEventListener-expected.txt:
      * platform/chromium/http/tests/security/listener/xss-window-onclick-shortcut-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-allowed-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-iframe-in-main-frame-blocked-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-allowed-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-image-in-main-frame-blocked-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-allowed-expected.txt:
      * platform/chromium/http/tests/security/mixedContent/insecure-script-in-main-frame-blocked-expected.txt:
      * platform/chromium/http/tests/security/redirect-BLOCKED-to-localURL-expected.txt:
      * platform/chromium/http/tests/security/window-named-proto-expected.txt:
      * platform/chromium/http/tests/security/xss-DENIED-assign-location-href-javascript-expected.txt:
      * platform/chromium/http/tests/security/xss-DENIED-frame-name-expected.txt:
      * platform/chromium/http/tests/websocket/tests/hybi/bad-sub-protocol-control-chars-expected.txt:
      * platform/chromium/http/tests/websocket/tests/hybi/url-parsing-expected.txt:
      * platform/chromium/media/csp-blocks-video-expected.txt:
      * platform/chromium/plugins/document-open-expected.txt:
      * platform/mac-leopard/http/tests/inspector/console-websocket-error-expected.txt:
      * platform/mac/http/tests/inspector/console-websocket-error-expected.txt:
      * platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
      * platform/qt/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
      * platform/qt/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
      * platform/qt/http/tests/websocket/tests/hixie76/bad-sub-protocol-non-ascii-expected.txt:
      * platform/qt/http/tests/websocket/tests/hybi/bad-sub-protocol-non-ascii-expected.txt:
      * plugins/document-open-expected.txt:
      * plugins/get-user-agent-with-null-npp-from-npp-new-expected.txt:
      * plugins/geturlnotify-during-document-teardown-expected.txt:
      * plugins/netscape-plugin-map-data-to-src-expected.txt:
      * plugins/netscape-plugin-setwindow-size-2-expected.txt:
      * plugins/netscape-plugin-setwindow-size-expected.txt:
      * plugins/no-mime-with-valid-extension-expected.txt:
      * plugins/open-and-close-window-with-plugin-expected.txt:
      * plugins/pass-different-npp-struct-expected.txt:
      * plugins/window-open-expected.txt:
      * storage/open-database-creation-callback-expected.txt:
      * storage/open-database-set-empty-version-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104803 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c3bdd92
  7. 20 Dec, 2011 3 commits
    • loislo@chromium.org's avatar
      Web Inspector: CodeGenerator should not use pointers for out params of RefPtr type. · f37187ea
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69366
      
      Patch by Peter Rybin <peter.rybin@gmail.com> on 2011-12-20
      Reviewed by Pavel Feldman.
      
      Generator fixed and all usages are changed manually.
      
      * inspector/CodeGeneratorInspector.py:
      (RawTypes.BaseType):
      (RawTypes.BaseType.get_output_argument_prefix):
      (RawTypes.Object.get_output_argument_prefix):
      (RawTypes.Array.get_output_argument_prefix):
      (RawTypes):
      (Generator.process_command):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
      (WebCore::InspectorApplicationCacheAgent::getApplicationCacheForFrame):
      * inspector/InspectorApplicationCacheAgent.h:
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::clearFrontend):
      (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
      (WebCore::InspectorCSSAgent::getInlineStylesForNode):
      (WebCore::InspectorCSSAgent::getComputedStyleForNode):
      (WebCore::InspectorCSSAgent::getAllStyleSheets):
      (WebCore::InspectorCSSAgent::getStyleSheet):
      (WebCore::InspectorCSSAgent::setPropertyText):
      (WebCore::InspectorCSSAgent::toggleProperty):
      (WebCore::InspectorCSSAgent::setRuleSelector):
      (WebCore::InspectorCSSAgent::addRule):
      (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
      (WebCore::InspectorCSSAgent::stopSelectorProfiler):
      (WebCore::InspectorCSSAgent::stopSelectorProfilerImpl):
      * inspector/InspectorCSSAgent.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::getDocument):
      (WebCore::InspectorDOMAgent::querySelectorAll):
      (WebCore::InspectorDOMAgent::getEventListenersForNode):
      (WebCore::InspectorDOMAgent::getSearchResults):
      (WebCore::InspectorDOMAgent::resolveNode):
      (WebCore::InspectorDOMAgent::getAttributes):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::setBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::setScriptSource):
      (WebCore::InspectorDebuggerAgent::getFunctionLocation):
      (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::getDOMNodeCount):
      * inspector/InspectorMemoryAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::getCookies):
      (WebCore::InspectorPageAgent::getResourceTree):
      (WebCore::InspectorPageAgent::searchInResource):
      (WebCore::InspectorPageAgent::searchInResources):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore::InspectorProfilerAgent::getProfile):
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorRuntimeAgent.cpp:
      (WebCore::InspectorRuntimeAgent::evaluate):
      (WebCore::InspectorRuntimeAgent::callFunctionOn):
      (WebCore::InspectorRuntimeAgent::getProperties):
      * inspector/InspectorRuntimeAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f37187ea
    • loislo@chromium.org's avatar
      Unreviewed, rolling out r103322. · 0d0f0279
      loislo@chromium.org authored
      http://trac.webkit.org/changeset/103322
      https://bugs.webkit.org/show_bug.cgi?id=74927
      
      seven inspector's tests are crashing on qt (Requested by
      loislo on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-12-20
      
      * inspector/CodeGeneratorInspector.py:
      (RawTypes.BaseType.is_event_param_check_optional):
      (RawTypes.Object.is_event_param_check_optional):
      (RawTypes.Array.is_event_param_check_optional):
      (RawTypes):
      (Generator.process_command):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
      (WebCore::InspectorApplicationCacheAgent::getApplicationCacheForFrame):
      * inspector/InspectorApplicationCacheAgent.h:
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::clearFrontend):
      (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
      (WebCore::InspectorCSSAgent::getInlineStylesForNode):
      (WebCore::InspectorCSSAgent::getComputedStyleForNode):
      (WebCore::InspectorCSSAgent::getAllStyleSheets):
      (WebCore::InspectorCSSAgent::getStyleSheet):
      (WebCore::InspectorCSSAgent::setPropertyText):
      (WebCore::InspectorCSSAgent::toggleProperty):
      (WebCore::InspectorCSSAgent::setRuleSelector):
      (WebCore::InspectorCSSAgent::addRule):
      (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
      (WebCore::InspectorCSSAgent::stopSelectorProfiler):
      * inspector/InspectorCSSAgent.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::getDocument):
      (WebCore::InspectorDOMAgent::querySelectorAll):
      (WebCore::InspectorDOMAgent::getEventListenersForNode):
      (WebCore::InspectorDOMAgent::getSearchResults):
      (WebCore::InspectorDOMAgent::resolveNode):
      (WebCore::InspectorDOMAgent::getAttributes):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::setBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::setScriptSource):
      (WebCore::InspectorDebuggerAgent::getFunctionLocation):
      (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::getDOMNodeCount):
      * inspector/InspectorMemoryAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::getCookies):
      (WebCore::InspectorPageAgent::getResourceTree):
      (WebCore::InspectorPageAgent::searchInResource):
      (WebCore::InspectorPageAgent::searchInResources):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore::InspectorProfilerAgent::getProfile):
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorRuntimeAgent.cpp:
      (WebCore::InspectorRuntimeAgent::evaluate):
      (WebCore::InspectorRuntimeAgent::callFunctionOn):
      (WebCore::InspectorRuntimeAgent::getProperties):
      * inspector/InspectorRuntimeAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d0f0279
    • loislo@chromium.org's avatar
      Web Inspector: CodeGenerator should not use pointers for out params of RefPtr type. · 066acf71
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=69366
      
      Patch by Peter Rybin <peter.rybin@gmail.com> on 2011-12-20
      Reviewed by Pavel Feldman.
      
      Generator fixed and all usages are changed manually.
      
      * inspector/CodeGeneratorInspector.py:
      (RawTypes.BaseType.is_event_param_check_optional):
      (RawTypes.BaseType):
      (RawTypes.BaseType.get_output_argument_prefix):
      (RawTypes.Object.get_output_argument_prefix):
      (RawTypes.Array.get_output_argument_prefix):
      (RawTypes):
      (Generator.process_command):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
      (WebCore::InspectorApplicationCacheAgent::getApplicationCacheForFrame):
      * inspector/InspectorApplicationCacheAgent.h:
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::clearFrontend):
      (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
      (WebCore::InspectorCSSAgent::getInlineStylesForNode):
      (WebCore::InspectorCSSAgent::getComputedStyleForNode):
      (WebCore::InspectorCSSAgent::getAllStyleSheets):
      (WebCore::InspectorCSSAgent::getStyleSheet):
      (WebCore::InspectorCSSAgent::setPropertyText):
      (WebCore::InspectorCSSAgent::toggleProperty):
      (WebCore::InspectorCSSAgent::setRuleSelector):
      (WebCore::InspectorCSSAgent::addRule):
      (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
      (WebCore::InspectorCSSAgent::stopSelectorProfiler):
      (WebCore::InspectorCSSAgent::stopSelectorProfilerImpl):
      * inspector/InspectorCSSAgent.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::getDocument):
      (WebCore::InspectorDOMAgent::querySelectorAll):
      (WebCore::InspectorDOMAgent::getEventListenersForNode):
      (WebCore::InspectorDOMAgent::getSearchResults):
      (WebCore::InspectorDOMAgent::resolveNode):
      (WebCore::InspectorDOMAgent::getAttributes):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::setBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::setScriptSource):
      (WebCore::InspectorDebuggerAgent::getFunctionLocation):
      (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore::InspectorMemoryAgent::getDOMNodeCount):
      * inspector/InspectorMemoryAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::getCookies):
      (WebCore::InspectorPageAgent::getResourceTree):
      (WebCore::InspectorPageAgent::searchInResource):
      (WebCore::InspectorPageAgent::searchInResources):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore::InspectorProfilerAgent::getProfile):
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorRuntimeAgent.cpp:
      (WebCore::InspectorRuntimeAgent::evaluate):
      (WebCore::InspectorRuntimeAgent::callFunctionOn):
      (WebCore::InspectorRuntimeAgent::getProperties):
      * inspector/InspectorRuntimeAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@103322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      066acf71
  8. 01 Dec, 2011 1 commit
    • pfeldman@chromium.org's avatar
      Web Inspector: query backend for capabilities explicitly. · f988d468
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73442
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      This change removes the hardcoded Capabilities values in favor of
      explicit query commands issued against the backend. I'll remove the
      Meta agent in a subsequent change.
      
      * bindings/js/ScriptDebugServer.h:
      (WebCore::ScriptDebugServer::causesRecompilation):
      (WebCore::ScriptDebugServer::supportsNativeBreakpoints):
      * bindings/js/ScriptProfiler.h:
      (WebCore::ScriptProfiler::causesRecompilation):
      (WebCore::ScriptProfiler::isSampling):
      (WebCore::ScriptProfiler::hasHeapProfiler):
      * bindings/v8/ScriptDebugServer.h:
      (WebCore::ScriptDebugServer::causesRecompilation):
      (WebCore::ScriptDebugServer::supportsNativeBreakpoints):
      * bindings/v8/ScriptProfiler.h:
      (WebCore::ScriptProfiler::causesRecompilation):
      (WebCore::ScriptProfiler::isSampling):
      (WebCore::ScriptProfiler::hasHeapProfiler):
      * inspector/Inspector.json:
      * inspector/InspectorClient.h:
      (WebCore::InspectorClient::canClearBrowserCache):
      (WebCore::InspectorClient::canClearBrowserCookies):
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      (WebCore::InspectorController::connectFrontend):
      (WebCore::InspectorController::show):
      * inspector/InspectorController.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::causesRecompilation):
      (WebCore::InspectorDebuggerAgent::canSetScriptSource):
      (WebCore::InspectorDebuggerAgent::supportsNativeBreakpoints):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorFrontendClientLocal.cpp:
      (WebCore::InspectorFrontendClientLocal::frontendLoaded):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::causesRecompilation):
      (WebCore::InspectorProfilerAgent::isSampling):
      (WebCore::InspectorProfilerAgent::hasHeapProfiler):
      (WebCore::InspectorProfilerAgent::disable):
      (WebCore::InspectorProfilerAgent::enable):
      (WebCore::InspectorProfilerAgent::setFrontend):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::canClearBrowserCache):
      (WebCore::InspectorResourceAgent::canClearBrowserCookies):
      * inspector/InspectorResourceAgent.h:
      * inspector/front-end/DebuggerModel.js:
      (WebInspector.DebuggerModel):
      (WebInspector.DebuggerModel.prototype.enableDebugger):
      (WebInspector.DebuggerModel.prototype.canSetScriptSource):
      * inspector/front-end/NetworkItemView.js:
      (WebInspector.NetworkItemView):
      * inspector/front-end/NetworkPanel.js:
      (WebInspector.NetworkLogView.onCanClearBrowserCache):
      (WebInspector.NetworkLogView.onCanClearBrowserCookies):
      (WebInspector.NetworkLogView):
      (WebInspector.NetworkLogView.prototype._contextMenu):
      * inspector/front-end/ProfilesPanel.js:
      (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
      * inspector/front-end/ScriptsPanel.js:
      * inspector/front-end/Settings.js:
      * inspector/front-end/SettingsScreen.js:
      (WebInspector.SettingsScreen):
      * inspector/front-end/inspector.js:
      (WebInspector.get inspectedPageDomain):
      (WebInspector._initializeCapability):
      (WebInspector.doLoadedDone):
      
      Source/WebKit/chromium:
      
      * src/InspectorClientImpl.cpp:
      (WebKit::InspectorClientImpl::canClearBrowserCache):
      (WebKit::InspectorClientImpl::canClearBrowserCookies):
      * src/InspectorClientImpl.h:
      * src/js/DevTools.js:
      
      LayoutTests:
      
      * inspector/profiler/detailed-heapshots-test.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f988d468
  9. 29 Nov, 2011 2 commits
    • pfeldman@chromium.org's avatar
      Web Inspector: introduce generic capabilities concept, migrate debugger domain... · 2f44edbf
      pfeldman@chromium.org authored
      Web Inspector: introduce generic capabilities concept, migrate debugger domain to generic capabilities.
      https://bugs.webkit.org/show_bug.cgi?id=73311
      
      This step is necessary for getting rid of the 'capability' aspect in the Preferences. As a result,
      single front-end will be applicable to multiple backend configurations.
      
      Reviewed by Yury Semikhatsky.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * inspector/Inspector.json:
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::InspectorAgent):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
      * inspector/InspectorBaseAgent.cpp:
      (WebCore::InspectorBaseAgentInterface::InspectorBaseAgentInterface):
      (WebCore::InspectorBaseAgentInterface::~InspectorBaseAgentInterface):
      * inspector/InspectorBaseAgent.h:
      (WebCore::InspectorBaseAgentInterface::getCapabilities):
      (WebCore::InspectorBaseAgentInterface::name):
      (WebCore::InspectorBaseAgent::InspectorBaseAgent):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::InspectorCSSAgent):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorController.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::InspectorDOMAgent):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
      (WebCore::InspectorDebuggerAgent::getCapabilities):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorFileSystemAgent.cpp:
      (WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
      * inspector/InspectorMetaAgent.cpp: Added.
      (WebCore::InspectorMetaAgent::~InspectorMetaAgent):
      (WebCore::InspectorMetaAgent::getCapabilities):
      (WebCore::InspectorMetaAgent::InspectorMetaAgent):
      * inspector/InspectorMetaAgent.h: Added.
      (WebCore::InspectorMetaAgent::create):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::InspectorPageAgent):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::InspectorResourceAgent):
      * inspector/InspectorRuntimeAgent.cpp:
      (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
      * inspector/InspectorValues.h:
      (WebCore::InspectorArray::begin):
      (WebCore::InspectorArray::end):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
      * inspector/front-end/DebuggerModel.js:
      (WebInspector.DebuggerModel.prototype.enableDebugger):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f44edbf
    • pfeldman@chromium.org's avatar
      Web Inspector: put inspector agents into a vector in the InspectorController. · fb83df24
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73225
      
      Inspector controller should maintain agents in the vector, while accessing
      them using the same base agent interface. We should not manually call
      base agent methods on their concrete instances.
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/CodeGeneratorInspector.py:
      (DomainNameFixes.get_fixed_data.Res):
      (DomainNameFixes):
      (Generator.go):
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::InspectorAgent):
      (WebCore::PostWorkerNotificationToFrontendTask::performTask):
      * inspector/InspectorAgent.h:
      (WebCore::InspectorAgent::create):
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
      * inspector/InspectorApplicationCacheAgent.h:
      (WebCore::InspectorApplicationCacheAgent::create):
      * inspector/InspectorBaseAgent.cpp:
      * inspector/InspectorBaseAgent.h:
      (WebCore::InspectorBaseAgentInterface::InspectorBaseAgentInterface):
      (WebCore::InspectorBaseAgentInterface::~InspectorBaseAgentInterface):
      (WebCore::InspectorBaseAgentInterface::setFrontend):
      (WebCore::InspectorBaseAgentInterface::clearFrontend):
      (WebCore::InspectorBaseAgentInterface::restore):
      (WebCore::InspectorBaseAgentInterface::inspectedPageDestroyed):
      (WebCore::InspectorBaseAgent::~InspectorBaseAgent):
      (WebCore::InspectorBaseAgent::registerDispatcher):
      (WebCore::InspectorBaseAgent::InspectorBaseAgent):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::InspectorCSSAgent):
      * inspector/InspectorCSSAgent.h:
      (WebCore::InspectorCSSAgent::create):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
      * inspector/InspectorConsoleAgent.h:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      (WebCore::InspectorController::inspectedPageDestroyed):
      (WebCore::InspectorController::connectFrontend):
      (WebCore::InspectorController::disconnectFrontend):
      (WebCore::InspectorController::restoreInspectorStateFromCookie):
      * inspector/InspectorController.h:
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::InspectorDOMAgent):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent):
      * inspector/InspectorDOMDebuggerAgent.h:
      (WebCore::InspectorDOMDebuggerAgent::inspectedPageDestroyed):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
      * inspector/InspectorDebuggerAgent.h:
      (WebCore::InspectorDebuggerAgent::inspectedPageDestroyed):
      * inspector/InspectorFileSystemAgent.cpp:
      (WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
      * inspector/InspectorFileSystemAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::InspectorPageAgent):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::InspectorResourceAgent):
      * inspector/InspectorResourceAgent.h:
      (WebCore::InspectorResourceAgent::create):
      * inspector/InspectorRuntimeAgent.cpp:
      (WebCore::InspectorRuntimeAgent::InspectorRuntimeAgent):
      * inspector/InspectorRuntimeAgent.h:
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
      * inspector/InspectorTimelineAgent.h:
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
      * inspector/InspectorWorkerAgent.h:
      * inspector/PageConsoleAgent.h:
      (WebCore::PageConsoleAgent::create):
      * inspector/PageRuntimeAgent.h:
      (WebCore::PageRuntimeAgent::create):
      * inspector/WorkerConsoleAgent.h:
      (WebCore::WorkerConsoleAgent::create):
      * inspector/WorkerInspectorController.cpp:
      (WebCore::WorkerInspectorController::WorkerInspectorController):
      (WebCore::WorkerInspectorController::connectFrontend):
      * inspector/WorkerRuntimeAgent.h:
      (WebCore::WorkerRuntimeAgent::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb83df24
  10. 28 Nov, 2011 1 commit
    • pfeldman@chromium.org's avatar
      Web Inspector: introduce InspectorBaseAgent. · ccc8cd93
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73203
      
      Now that inspector controller does not depend on concrete inspector agent
      classes, we can collect agent instances using abstract type.
      
      Reviewed by Yury Semikhatsky.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::InspectorAgent):
      * inspector/InspectorAgent.h:
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
      * inspector/InspectorApplicationCacheAgent.h:
      * inspector/InspectorBaseAgent.cpp: Copied from Source/WebCore/inspector/InspectorFileSystemAgent.h.
      (WebCore::InspectorBaseAgent::InspectorBaseAgent):
      (WebCore::InspectorBaseAgent::~InspectorBaseAgent):
      * inspector/InspectorBaseAgent.h: Copied from Source/WebCore/inspector/InspectorFileSystemAgent.h.
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::InspectorCSSAgent):
      * inspector/InspectorCSSAgent.h:
      (WebCore::InspectorCSSAgent::setFrontend):
      (WebCore::InspectorCSSAgent::restore):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
      (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
      (WebCore::InspectorConsoleAgent::enable):
      (WebCore::InspectorConsoleAgent::disable):
      (WebCore::InspectorConsoleAgent::clearMessages):
      (WebCore::InspectorConsoleAgent::restore):
      (WebCore::InspectorConsoleAgent::clearFrontend):
      (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
      (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
      (WebCore::InspectorConsoleAgent::addConsoleMessage):
      * inspector/InspectorConsoleAgent.h:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::InspectorDOMAgent):
      (WebCore::InspectorDOMAgent::clearFrontend):
      (WebCore::InspectorDOMAgent::setDocument):
      (WebCore::InspectorDOMAgent::getDocument):
      (WebCore::InspectorDOMAgent::mainFrameDOMContentLoaded):
      * inspector/InspectorDOMAgent.h:
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
      (WebCore::InspectorDOMStorageAgent::restore):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::disable):
      * inspector/InspectorDOMStorageAgent.h:
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::disable):
      (WebCore::InspectorDatabaseAgent::restore):
      * inspector/InspectorDatabaseAgent.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
      (WebCore::InspectorDebuggerAgent::disable):
      (WebCore::InspectorDebuggerAgent::enabled):
      (WebCore::InspectorDebuggerAgent::enable):
      (WebCore::InspectorDebuggerAgent::clearFrontend):
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorFileSystemAgent.cpp:
      (WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
      * inspector/InspectorFileSystemAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::InspectorPageAgent):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      (WebCore::InspectorProfilerAgent::enable):
      (WebCore::InspectorProfilerAgent::disable):
      (WebCore::InspectorProfilerAgent::restore):
      (WebCore::InspectorProfilerAgent::restoreEnablement):
      (WebCore::InspectorProfilerAgent::start):
      (WebCore::InspectorProfilerAgent::stop):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::InspectorResourceAgent):
      * inspector/InspectorResourceAgent.h:
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::InspectorTimelineAgent):
      * inspector/InspectorTimelineAgent.h:
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::InspectorWorkerAgent):
      (WebCore::InspectorWorkerAgent::restore):
      (WebCore::InspectorWorkerAgent::clearFrontend):
      (WebCore::InspectorWorkerAgent::setWorkerInspectionEnabled):
      (WebCore::InspectorWorkerAgent::setAutoconnectToWorkers):
      (WebCore::InspectorWorkerAgent::shouldPauseDedicatedWorkerOnStart):
      (WebCore::InspectorWorkerAgent::didStartWorkerContext):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannel):
      * inspector/InspectorWorkerAgent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccc8cd93
  11. 22 Nov, 2011 1 commit
    • pfeldman@chromium.org's avatar
      Web Inspector: strip unused InspectorController methods. · 6a1f9523
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72886
      
      Source/WebCore:
      
      This is a follow up to the https://bugs.webkit.org/show_bug.cgi?id=63009.
      I am now able to remove following InspectorController methods:
      ::startUserInitiatedProfiling,
      ::isRecordingUserInitiatedProfile,
      ::stopUserInitiatedProfiling,
      ::showAndEnableDebugger,
      ::debuggerEnabled,
      ::disableDebugger,
      ::startTimelineProfiler,
      ::stopTimelineProfiler,
      ::timelineProfilerEnabled,
      ::showConsole.
      
      Reviewed by Yury Semikhatsky.
      
      * WebCore.exp.in:
      * WebCore.order:
      * inspector/Inspector.json:
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::setFrontend):
      * inspector/InspectorAgent.h:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      (WebCore::InspectorController::connectFrontend):
      * inspector/InspectorController.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::enable):
      (WebCore::InspectorDebuggerAgent::disable):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didCommitLoadImpl):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::resetState):
      (WebCore::InspectorProfilerAgent::clearFrontend):
      (WebCore::InspectorProfilerAgent::restore):
      (WebCore::InspectorProfilerAgent::start):
      (WebCore::InspectorProfilerAgent::stop):
      * inspector/InspectorProfilerAgent.h:
      * inspector/InspectorTimelineAgent.cpp:
      (WebCore::InspectorTimelineAgent::start):
      (WebCore::InspectorTimelineAgent::stop):
      * inspector/InspectorTimelineAgent.h:
      * inspector/front-end/DebuggerModel.js:
      (WebInspector.DebuggerModel.prototype.enableDebugger):
      (WebInspector.DebuggerModel.prototype.disableDebugger):
      * inspector/front-end/TimelineManager.js:
      (WebInspector.TimelineManager.prototype.start):
      (WebInspector.TimelineManager.prototype.stop):
      (WebInspector.TimelineManager.prototype._started):
      (WebInspector.TimelineManager.prototype._stopped):
      * inspector/front-end/inspector.js:
      
      Source/WebKit/gtk:
      
      Reviewed by Yury Semikhatsky.
      
      * webkit/webkitwebinspector.cpp:
      (webkit_web_inspector_set_property):
      (webkit_web_inspector_get_property):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a1f9523
  12. 17 Oct, 2011 1 commit
    • mnaganov@chromium.org's avatar
      Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile. · 90b24e89
      mnaganov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=61179
      
      This is exteremely helpful when dealing with DOM wrappers, as
      their properties are mostly implemented with getters and thus not
      stored in heap snapshots.
      
      Reviewed by Pavel Feldman.
      
      * English.lproj/localizedStrings.js:
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      * bindings/js/ScriptProfiler.h:
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      * bindings/v8/ScriptProfiler.h:
      * inspector/Inspector.json:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::create):
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      * inspector/front-end/DetailedHeapshotGridNodes.js:
      (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent):
      (WebInspector.HeapSnapshotGenericObjectNode):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.DetailedHeapshotView.prototype._showObjectPopover):
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshotNode.prototype.get canBeQueried):
      (WebInspector.HeapSnapshotNode.prototype.get flags):
      (WebInspector.HeapSnapshotNode.prototype.get isDOMWindow):
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype._flagsOfNode):
      (WebInspector.HeapSnapshot.prototype._calculateFlags):
      (WebInspector.HeapSnapshot.prototype.updateStaticData):
      (WebInspector.HeapSnapshotNodesProvider.prototype._serialize):
      * inspector/front-end/HeapSnapshotProxy.js:
      (WebInspector.HeapSnapshotProxy.prototype.get nodeFlags):
      * inspector/front-end/RemoteObject.js:
      (WebInspector.RemoteObject.fromError):
      * inspector/front-end/heapProfiler.css:
      (.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight):
      
      * inspector/profiler/heap-snapshot-expected.txt:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM):
      (initialize_HeapSnapshotTest):
      * inspector/profiler/heap-snapshot.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90b24e89
  13. 13 Oct, 2011 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r97362. · 33998592
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/97362
      https://bugs.webkit.org/show_bug.cgi?id=70039
      
      Relies on V8 APIs that have been reverted upstream. (Requested
      by dglazkov on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-10-13
      
      Source/WebCore:
      
      * English.lproj/localizedStrings.js:
      * bindings/js/ScriptProfiler.cpp:
      * bindings/js/ScriptProfiler.h:
      * bindings/v8/ScriptProfiler.cpp:
      * bindings/v8/ScriptProfiler.h:
      * inspector/Inspector.json:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::create):
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      * inspector/InspectorProfilerAgent.h:
      * inspector/front-end/DetailedHeapshotGridNodes.js:
      (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.hoverMessage):
      (WebInspector.HeapSnapshotGenericObjectNode):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.hoverMessage):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.DetailedHeapshotView.prototype._showStringContentPopover):
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype.updateStaticData):
      (WebInspector.HeapSnapshotNodesProvider.prototype._serialize):
      * inspector/front-end/HeapSnapshotProxy.js:
      * inspector/front-end/RemoteObject.js:
      * inspector/front-end/heapProfiler.css:
      
      LayoutTests:
      
      * inspector/profiler/heap-snapshot-expected.txt:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest):
      * inspector/profiler/heap-snapshot.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33998592
    • mnaganov@chromium.org's avatar
      Web Inspector: [Chromium] Add an ability to look up and explore an object from a heap profile. · 32d0638d
      mnaganov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=61179
      
      This is exteremely helpful when dealing with DOM wrappers, as
      their properties are mostly implemented with getters and thus not
      stored in heap snapshots.
      
      Reviewed by Pavel Feldman.
      
      * English.lproj/localizedStrings.js:
      * bindings/js/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      * bindings/js/ScriptProfiler.h:
      * bindings/v8/ScriptProfiler.cpp:
      (WebCore::ScriptProfiler::objectByHeapObjectId):
      * bindings/v8/ScriptProfiler.h:
      * inspector/Inspector.json:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::InspectorController):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::create):
      (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
      (WebCore::InspectorProfilerAgent::getObjectByHeapObjectId):
      * inspector/InspectorProfilerAgent.h:
      * inspector/front-end/DetailedHeapshotGridNodes.js:
      (WebInspector.HeapSnapshotGridNode.prototype.hasHoverMessage.false.queryObjectContent):
      (WebInspector.HeapSnapshotGenericObjectNode):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent.else.formatResult):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.queryObjectContent):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.shortenWindowURL):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.DetailedHeapshotView.prototype._showObjectPopover):
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshotNode.prototype.get canBeQueried):
      (WebInspector.HeapSnapshotNode.prototype.get flags):
      (WebInspector.HeapSnapshotNode.prototype.get isDOMWindow):
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype._flagsOfNode):
      (WebInspector.HeapSnapshot.prototype._calculateFlags):
      (WebInspector.HeapSnapshot.prototype.updateStaticData):
      (WebInspector.HeapSnapshotNodesProvider.prototype._serialize):
      * inspector/front-end/HeapSnapshotProxy.js:
      (WebInspector.HeapSnapshotProxy.prototype.get nodeFlags):
      * inspector/front-end/RemoteObject.js:
      (WebInspector.RemoteObject.fromError):
      * inspector/front-end/heapProfiler.css:
      (.detailed-heapshot-view tr:not(.selected) td.object-column span.highlight):
      
      * inspector/profiler/heap-snapshot-expected.txt:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockWithDOM):
      (initialize_HeapSnapshotTest):
      * inspector/profiler/heap-snapshot.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@97362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32d0638d
  14. 21 Jun, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-06-21 Mikhail Naganov <mnaganov@chromium.org> · aa5ba81b
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
              https://bugs.webkit.org/show_bug.cgi?id=63049
      
              * inspector/profiler/detailed-heapshots-test.js:
      
      2011-06-21  Mikhail Naganov  <mnaganov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Remove old (aggregating) heap profiler.
              https://bugs.webkit.org/show_bug.cgi?id=63049
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * inspector/Inspector.json:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.DetailedHeapshotView.prototype.get profile):
              (WebInspector.DetailedHeapshotView.prototype.get baseProfile):
              (WebInspector.DetailedHeapshotView.prototype._profiles):
              (WebInspector.DetailedHeapshotProfileType):
              (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
              * inspector/front-end/HeapSnapshotView.js: Removed.
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype.loadHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype._addHeapSnapshotChunk):
              (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot.parsed):
              (WebInspector.ProfilesPanel.prototype._finishHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype.takeHeapSnapshot):
              (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
              (WebInspector.ProfilesPanel.prototype._enableDetailedHeapProfiles):
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/heapProfiler.css:
              * inspector/front-end/inspector.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa5ba81b
  15. 20 May, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-05-20 Mikhail Naganov <mnaganov@chromium.org> · 4cf1ba6d
      mnaganov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: [Chromium] Use bottom-up CPU profile tree built in VM,
              instead of building it on Inspector's side.
              https://bugs.webkit.org/show_bug.cgi?id=61185
      
              * bindings/js/ScriptProfile.cpp:
              (WebCore::ScriptProfile::bottomUpHead):
              (WebCore::ScriptProfile::buildInspectorObjectForBottomUpHead):
              * bindings/js/ScriptProfile.h:
              * bindings/v8/ScriptProfile.cpp:
              (WebCore::ScriptProfile::bottomUpHead):
              (WebCore::ScriptProfile::buildInspectorObjectForBottomUpHead):
              * bindings/v8/ScriptProfile.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::getProfile):
              * inspector/front-end/ProfileView.js:
              (WebInspector.CPUProfileView.prototype.get bottomUpProfileDataGridTree):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cf1ba6d
  16. 20 Apr, 2011 1 commit
    • mihaip@chromium.org's avatar
      2011-04-19 Mihai Parparita <mihaip@chromium.org> · a941ec7f
      mihaip@chromium.org authored
              Reviewed by Adam Barth.
      
              ScriptController.h is included in too many places
              https://bugs.webkit.org/show_bug.cgi?id=58963
      
              Remove ScriptController.h #includes from a bunch of .cpp files where it
              doesn't appear to be necessary.
      
              * bindings/js/JSCustomPositionCallback.cpp:
              * bindings/js/JSCustomPositionErrorCallback.cpp:
              * bindings/js/JSCustomVoidCallback.cpp:
              * bindings/js/JSCustomXPathNSResolver.cpp:
              * bindings/js/JSDOMWindowBase.cpp:
              * bindings/js/JSDOMWindowShell.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/ScriptDebugServer.cpp:
              * bindings/v8/NPV8Object.cpp:
              * bindings/v8/ScriptCachedFrameData.cpp:
              * bindings/v8/V8DOMWindowShell.cpp:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8IsolatedContext.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/custom/V8LocationCustom.cpp:
              * dom/Node.cpp:
              * dom/ScriptElement.cpp:
              * dom/XMLDocumentParser.cpp:
              * dom/XMLDocumentParserQt.cpp:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLObjectElement.cpp:
              * html/HTMLPlugInElement.cpp:
              * html/parser/HTMLConstructionSite.cpp:
              * html/parser/HTMLTreeBuilder.cpp:
              * inspector/InspectorProfilerAgent.cpp:
              * loader/icon/IconDatabase.cpp:
              * page/Chrome.cpp:
              * page/Navigator.cpp:
              * page/Page.cpp:
              * plugins/PluginView.cpp:
              * plugins/gtk/PluginViewGtk.cpp:
              * plugins/qt/PluginViewQt.cpp:
              * plugins/symbian/PluginViewSymbian.cpp:
              * plugins/win/PluginViewWin.cpp:
              * svg/SVGDocumentExtensions.cpp:
              * xml/XMLTreeViewer.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a941ec7f
  17. 30 Mar, 2011 4 commits
    • yurys@chromium.org's avatar
      2011-03-30 Yury Semikhatsky <yurys@chromium.org> · 7f1e51ae
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: split debugger agent into Page and Worker-specific ones
              https://bugs.webkit.org/show_bug.cgi?id=57345
      
              ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
              for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
              and Page/WorkerDebuggerAgent.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * UseJSC.cmake:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::JSInjectedScriptHost::currentCallFrame):
              * bindings/js/PageScriptDebugServer.cpp: Added.
              (WebCore::toPage):
              (WebCore::PageScriptDebugServer::shared):
              (WebCore::PageScriptDebugServer::PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::addListener):
              (WebCore::PageScriptDebugServer::removeListener):
              (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
              (WebCore::PageScriptDebugServer::getListenersForGlobalObject):
              (WebCore::PageScriptDebugServer::didPause):
              (WebCore::PageScriptDebugServer::didContinue):
              (WebCore::PageScriptDebugServer::didRemoveLastListener):
              (WebCore::PageScriptDebugServer::setJavaScriptPaused):
              * bindings/js/PageScriptDebugServer.h: Added.
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::sourceParsed):
              (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
              (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::pauseIfNeeded):
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/WorkerScriptDebugServer.cpp: Added.
              (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::addListener):
              (WebCore::WorkerScriptDebugServer::removeListener):
              * bindings/js/WorkerScriptDebugServer.h: Added.
              (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
              (WebCore::WorkerScriptDebugServer::getListenersForGlobalObject):
              (WebCore::WorkerScriptDebugServer::didPause):
              (WebCore::WorkerScriptDebugServer::didContinue):
              * bindings/v8/PageScriptDebugServer.cpp: Added.
              (WebCore::retrieveFrame):
              (WebCore::PageScriptDebugServer::shared):
              (WebCore::PageScriptDebugServer::PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::addListener):
              (WebCore::PageScriptDebugServer::removeListener):
              (WebCore::PageScriptDebugServer::setClientMessageLoop):
              (WebCore::PageScriptDebugServer::getDebugListenerForContext):
              (WebCore::PageScriptDebugServer::runMessageLoopOnPause):
              (WebCore::PageScriptDebugServer::quitMessageLoopOnPause):
              * bindings/v8/PageScriptDebugServer.h: Added.
              (WebCore::PageScriptDebugServer::setEnabled):
              (WebCore::PageScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
              (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::setPauseOnNextStatement):
              (WebCore::ScriptDebugServer::breakProgram):
              (WebCore::ScriptDebugServer::continueProgram):
              (WebCore::ScriptDebugServer::stepIntoStatement):
              (WebCore::ScriptDebugServer::stepOverStatement):
              (WebCore::ScriptDebugServer::stepOutOfFunction):
              (WebCore::ScriptDebugServer::editScriptSource):
              (WebCore::toScriptDebugServer):
              (WebCore::ScriptDebugServer::breakProgramCallback):
              (WebCore::ScriptDebugServer::v8DebugEventCallback):
              (WebCore::ScriptDebugServer::handleV8DebugEvent):
              (WebCore::ScriptDebugServer::isPaused):
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/WorkerScriptDebugServer.cpp: Added.
              (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::addListener):
              (WebCore::WorkerScriptDebugServer::removeListener):
              * bindings/v8/WorkerScriptDebugServer.h: Added.
              (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::getDebugListenerForContext):
              (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause):
              (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
              * inspector/InjectedScriptHost.h:
              (WebCore::InjectedScriptHost::init):
              (WebCore::InjectedScriptHost::debuggerAgent):
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::enable):
              (WebCore::InspectorDebuggerAgent::disable):
              (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
              (WebCore::InspectorDebuggerAgent::removeBreakpoint):
              (WebCore::InspectorDebuggerAgent::continueToLocation):
              (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
              (WebCore::InspectorDebuggerAgent::editScriptSource):
              (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::resume):
              (WebCore::InspectorDebuggerAgent::stepOver):
              (WebCore::InspectorDebuggerAgent::stepInto):
              (WebCore::InspectorDebuggerAgent::stepOut):
              (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
              (WebCore::InspectorDebuggerAgent::didPause):
              (WebCore::InspectorDebuggerAgent::breakProgram):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::disable):
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/PageDebuggerAgent.cpp: Added.
              (WebCore::PageDebuggerAgent::create):
              (WebCore::PageDebuggerAgent::PageDebuggerAgent):
              (WebCore::PageDebuggerAgent::~PageDebuggerAgent):
              (WebCore::PageDebuggerAgent::startListeningScriptDebugServer):
              (WebCore::PageDebuggerAgent::stopListeningScriptDebugServer):
              (WebCore::PageDebuggerAgent::scriptDebugServer):
              * inspector/PageDebuggerAgent.h: Added.
              * inspector/WorkerDebuggerAgent.cpp: Added.
              (WebCore::WorkerDebuggerAgent::create):
              (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
              (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
              (WebCore::WorkerDebuggerAgent::startListeningScriptDebugServer):
              (WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer):
              (WebCore::WorkerDebuggerAgent::scriptDebugServer):
              * inspector/WorkerDebuggerAgent.h: Added.
      2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: split debugger agent into Page and Worker-specific ones
              https://bugs.webkit.org/show_bug.cgi?id=57345
      
              ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
              for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
              and Page/WorkerDebuggerAgent.
      
              * src/DebuggerAgentManager.cpp:
              (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgent::interruptAndDispatch):
              (WebKit::WebDevToolsAgent::processPendingMessages):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f1e51ae
    • yurys@chromium.org's avatar
      2011-03-30 Yury Semikhatsky <yurys@chromium.org> · f579d84d
      yurys@chromium.org authored
              Unreviewed. Rollout r82438 and r82436.
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * UseJSC.cmake:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::JSInjectedScriptHost::currentCallFrame):
              * bindings/js/PageScriptDebugServer.cpp: Removed.
              * bindings/js/PageScriptDebugServer.h: Removed.
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::shared):
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::addListener):
              (WebCore::ScriptDebugServer::removeListener):
              (WebCore::ScriptDebugServer::hasListenersInterestedInPage):
              (WebCore::toPage):
              (WebCore::ScriptDebugServer::sourceParsed):
              (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
              (WebCore::ScriptDebugServer::setJavaScriptPaused):
              (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::pauseIfNeeded):
              (WebCore::ScriptDebugServer::recompileAllJSFunctions):
              (WebCore::ScriptDebugServer::didAddListener):
              (WebCore::ScriptDebugServer::didRemoveListener):
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/WorkerScriptDebugServer.cpp: Removed.
              * bindings/js/WorkerScriptDebugServer.h: Removed.
              * bindings/v8/PageScriptDebugServer.cpp: Removed.
              * bindings/v8/PageScriptDebugServer.h: Removed.
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::retrieveFrame):
              (WebCore::ScriptDebugServer::shared):
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::addListener):
              (WebCore::ScriptDebugServer::removeListener):
              (WebCore::ScriptDebugServer::setPauseOnNextStatement):
              (WebCore::ScriptDebugServer::breakProgram):
              (WebCore::ScriptDebugServer::continueProgram):
              (WebCore::ScriptDebugServer::stepIntoStatement):
              (WebCore::ScriptDebugServer::stepOverStatement):
              (WebCore::ScriptDebugServer::stepOutOfFunction):
              (WebCore::ScriptDebugServer::editScriptSource):
              (WebCore::ScriptDebugServer::setEnabled):
              (WebCore::ScriptDebugServer::breakProgramCallback):
              (WebCore::ScriptDebugServer::v8DebugEventCallback):
              (WebCore::ScriptDebugServer::handleV8DebugEvent):
              (WebCore::ScriptDebugServer::didResume):
              * bindings/v8/ScriptDebugServer.h:
              (WebCore::ScriptDebugServer::pageCreated):
              (WebCore::ScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
              (WebCore::ScriptDebugServer::setClientMessageLoop):
              * bindings/v8/WorkerScriptDebugServer.cpp: Removed.
              * bindings/v8/WorkerScriptDebugServer.h: Removed.
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
              * inspector/InjectedScriptHost.h:
              (WebCore::InjectedScriptHost::init):
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::create):
              (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::enable):
              (WebCore::InspectorDebuggerAgent::disable):
              (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
              (WebCore::InspectorDebuggerAgent::removeBreakpoint):
              (WebCore::InspectorDebuggerAgent::continueToLocation):
              (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
              (WebCore::InspectorDebuggerAgent::editScriptSource):
              (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::resume):
              (WebCore::InspectorDebuggerAgent::stepOver):
              (WebCore::InspectorDebuggerAgent::stepInto):
              (WebCore::InspectorDebuggerAgent::stepOut):
              (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
              (WebCore::InspectorDebuggerAgent::didPause):
              (WebCore::InspectorDebuggerAgent::breakProgram):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::disable):
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/PageDebuggerAgent.cpp: Removed.
              * inspector/PageDebuggerAgent.h: Removed.
              * inspector/WorkerDebuggerAgent.cpp: Removed.
              * inspector/WorkerDebuggerAgent.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f579d84d
    • yurys@chromium.org's avatar
      2011-03-30 Yury Semikhatsky <yurys@chromium.org> · 61ba86de
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: split debugger agent into Page and Worker-specific ones
              https://bugs.webkit.org/show_bug.cgi?id=57345
      
              ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
              for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
              and Page/WorkerDebuggerAgent.
      
              * GNUmakefile.am:
              * UseJSC.cmake:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::JSInjectedScriptHost::currentCallFrame):
              * bindings/js/PageScriptDebugServer.cpp: Added.
              (WebCore::toPage):
              (WebCore::PageScriptDebugServer::shared):
              (WebCore::PageScriptDebugServer::PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::addListener):
              (WebCore::PageScriptDebugServer::removeListener):
              (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
              (WebCore::PageScriptDebugServer::getListenersForGlobalObject):
              (WebCore::PageScriptDebugServer::didPause):
              (WebCore::PageScriptDebugServer::didContinue):
              (WebCore::PageScriptDebugServer::didRemoveLastListener):
              (WebCore::PageScriptDebugServer::setJavaScriptPaused):
              * bindings/js/PageScriptDebugServer.h: Added.
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::sourceParsed):
              (WebCore::ScriptDebugServer::dispatchFunctionToListeners):
              (WebCore::ScriptDebugServer::createCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::updateCallFrameAndPauseIfNeeded):
              (WebCore::ScriptDebugServer::pauseIfNeeded):
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/WorkerScriptDebugServer.cpp: Added.
              (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::addListener):
              (WebCore::WorkerScriptDebugServer::removeListener):
              * bindings/js/WorkerScriptDebugServer.h: Added.
              (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
              (WebCore::WorkerScriptDebugServer::getListenersForGlobalObject):
              (WebCore::WorkerScriptDebugServer::didPause):
              (WebCore::WorkerScriptDebugServer::didContinue):
              * bindings/v8/PageScriptDebugServer.cpp: Added.
              (WebCore::retrieveFrame):
              (WebCore::PageScriptDebugServer::shared):
              (WebCore::PageScriptDebugServer::PageScriptDebugServer):
              (WebCore::PageScriptDebugServer::addListener):
              (WebCore::PageScriptDebugServer::removeListener):
              (WebCore::PageScriptDebugServer::setClientMessageLoop):
              (WebCore::PageScriptDebugServer::getDebugListenerForContext):
              (WebCore::PageScriptDebugServer::runMessageLoopOnPause):
              (WebCore::PageScriptDebugServer::quitMessageLoopOnPause):
              * bindings/v8/PageScriptDebugServer.h: Added.
              (WebCore::PageScriptDebugServer::setEnabled):
              (WebCore::PageScriptDebugServer::ClientMessageLoop::~ClientMessageLoop):
              (WebCore::PageScriptDebugServer::~PageScriptDebugServer):
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::ScriptDebugServer):
              (WebCore::ScriptDebugServer::setPauseOnNextStatement):
              (WebCore::ScriptDebugServer::breakProgram):
              (WebCore::ScriptDebugServer::continueProgram):
              (WebCore::ScriptDebugServer::stepIntoStatement):
              (WebCore::ScriptDebugServer::stepOverStatement):
              (WebCore::ScriptDebugServer::stepOutOfFunction):
              (WebCore::ScriptDebugServer::editScriptSource):
              (WebCore::toScriptDebugServer):
              (WebCore::ScriptDebugServer::breakProgramCallback):
              (WebCore::ScriptDebugServer::v8DebugEventCallback):
              (WebCore::ScriptDebugServer::handleV8DebugEvent):
              (WebCore::ScriptDebugServer::isPaused):
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/WorkerScriptDebugServer.cpp: Added.
              (WebCore::WorkerScriptDebugServer::WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::addListener):
              (WebCore::WorkerScriptDebugServer::removeListener):
              * bindings/v8/WorkerScriptDebugServer.h: Added.
              (WebCore::WorkerScriptDebugServer::~WorkerScriptDebugServer):
              (WebCore::WorkerScriptDebugServer::getDebugListenerForContext):
              (WebCore::WorkerScriptDebugServer::runMessageLoopOnPause):
              (WebCore::WorkerScriptDebugServer::quitMessageLoopOnPause):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
              * inspector/InjectedScriptHost.h:
              (WebCore::InjectedScriptHost::init):
              (WebCore::InjectedScriptHost::debuggerAgent):
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::enable):
              (WebCore::InspectorDebuggerAgent::disable):
              (WebCore::InspectorDebuggerAgent::setBreakpointsActive):
              (WebCore::InspectorDebuggerAgent::removeBreakpoint):
              (WebCore::InspectorDebuggerAgent::continueToLocation):
              (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
              (WebCore::InspectorDebuggerAgent::editScriptSource):
              (WebCore::InspectorDebuggerAgent::schedulePauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::cancelPauseOnNextStatement):
              (WebCore::InspectorDebuggerAgent::resume):
              (WebCore::InspectorDebuggerAgent::stepOver):
              (WebCore::InspectorDebuggerAgent::stepInto):
              (WebCore::InspectorDebuggerAgent::stepOut):
              (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
              (WebCore::InspectorDebuggerAgent::didPause):
              (WebCore::InspectorDebuggerAgent::breakProgram):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::disable):
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/PageDebuggerAgent.cpp: Added.
              (WebCore::PageDebuggerAgent::create):
              (WebCore::PageDebuggerAgent::PageDebuggerAgent):
              (WebCore::PageDebuggerAgent::~PageDebuggerAgent):
              (WebCore::PageDebuggerAgent::startListeningScriptDebugServer):
              (WebCore::PageDebuggerAgent::stopListeningScriptDebugServer):
              (WebCore::PageDebuggerAgent::scriptDebugServer):
              * inspector/PageDebuggerAgent.h: Added.
              * inspector/WorkerDebuggerAgent.cpp: Added.
              (WebCore::WorkerDebuggerAgent::create):
              (WebCore::WorkerDebuggerAgent::WorkerDebuggerAgent):
              (WebCore::WorkerDebuggerAgent::~WorkerDebuggerAgent):
              (WebCore::WorkerDebuggerAgent::startListeningScriptDebugServer):
              (WebCore::WorkerDebuggerAgent::stopListeningScriptDebugServer):
              (WebCore::WorkerDebuggerAgent::scriptDebugServer):
              * inspector/WorkerDebuggerAgent.h: Added.
      2011-03-30  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: split debugger agent into Page and Worker-specific ones
              https://bugs.webkit.org/show_bug.cgi?id=57345
      
              ScriptDebugServer and InspectorDebuggerAgent contain only functionality common
              for Worker and Page debugger. All specifics is moved into Page/WorkerScriptDebugServer
              and Page/WorkerDebuggerAgent.
      
              * src/DebuggerAgentManager.cpp:
              (WebKit::DebuggerAgentManager::setExposeV8DebuggerProtocol):
              * src/WebDevToolsAgentImpl.cpp:
              (WebKit::WebDevToolsAgent::interruptAndDispatch):
              (WebKit::WebDevToolsAgent::processPendingMessages):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61ba86de
    • mnaganov@chromium.org's avatar
      2011-03-29 Mikhail Naganov <mnaganov@chromium.org> · 678de7dd
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Remove exact retained size request in detailed heap snapshots.
              https://bugs.webkit.org/show_bug.cgi?id=57351
      
              * bindings/js/ScriptHeapSnapshot.h:
              * bindings/v8/ScriptHeapSnapshot.cpp:
              * bindings/v8/ScriptHeapSnapshot.h:
              * inspector/Inspector.json:
              * inspector/InspectorProfilerAgent.cpp:
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotGridNodes.js:
              (WebInspector.HeapSnapshotGenericObjectNode):
              (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.DetailedHeapshotView.prototype._mouseClickInContainmentGrid):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82393 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      678de7dd
  18. 28 Mar, 2011 1 commit
  19. 21 Mar, 2011 1 commit
    • pfeldman@chromium.org's avatar
      2011-03-21 Pavel Feldman <pfeldman@chromium.org> · 7e420b5a
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: migrate Inspector.json to valid JSON types.
              https://bugs.webkit.org/show_bug.cgi?id=56651
      
              This change migrates inspector from long to int as
              dom, storage, database and other id types.
      
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::inspectedNode):
              (WebCore::InjectedScriptHost::databaseIdImpl):
              (WebCore::InjectedScriptHost::storageIdImpl):
              (WebCore::InjectedScriptHost::didCreateWorker):
              (WebCore::InjectedScriptHost::didDestroyWorker):
              * inspector/InjectedScriptHost.h:
              * inspector/InjectedScriptHost.idl:
              * inspector/Inspector.json:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::highlightDOMNode):
              * inspector/InspectorAgent.h:
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
              (WebCore::InspectorBrowserDebuggerAgent::hasBreakpoint):
              * inspector/InspectorBrowserDebuggerAgent.h:
              * inspector/InspectorCSSAgent.cpp:
              (WebCore::InspectorCSSAgent::getStylesForNode):
              (WebCore::InspectorCSSAgent::getInlineStyleForNode):
              (WebCore::InspectorCSSAgent::getComputedStyleForNode):
              (WebCore::InspectorCSSAgent::setPropertyText):
              (WebCore::InspectorCSSAgent::toggleProperty):
              (WebCore::InspectorCSSAgent::addRule):
              (WebCore::InspectorCSSAgent::elementForId):
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::count):
              (WebCore::InspectorConsoleAgent::addInspectedNode):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorConsoleAgent.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::bind):
              (WebCore::InspectorDOMAgent::unbind):
              (WebCore::InspectorDOMAgent::assertNode):
              (WebCore::InspectorDOMAgent::assertElement):
              (WebCore::InspectorDOMAgent::assertHTMLElement):
              (WebCore::InspectorDOMAgent::nodeToSelectOn):
              (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
              (WebCore::InspectorDOMAgent::nodeForId):
              (WebCore::InspectorDOMAgent::getChildNodes):
              (WebCore::InspectorDOMAgent::querySelector):
              (WebCore::InspectorDOMAgent::querySelectorAll):
              (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
              (WebCore::InspectorDOMAgent::boundNodeId):
              (WebCore::InspectorDOMAgent::setAttribute):
              (WebCore::InspectorDOMAgent::removeAttribute):
              (WebCore::InspectorDOMAgent::removeNode):
              (WebCore::InspectorDOMAgent::setNodeName):
              (WebCore::InspectorDOMAgent::getOuterHTML):
              (WebCore::InspectorDOMAgent::setOuterHTML):
              (WebCore::InspectorDOMAgent::setNodeValue):
              (WebCore::InspectorDOMAgent::getEventListenersForNode):
              (WebCore::InspectorDOMAgent::resolveNode):
              (WebCore::InspectorDOMAgent::pushNodeToFrontend):
              (WebCore::InspectorDOMAgent::buildObjectForNode):
              (WebCore::InspectorDOMAgent::loadEventFired):
              (WebCore::InspectorDOMAgent::didInsertDOMNode):
              (WebCore::InspectorDOMAgent::didRemoveDOMNode):
              (WebCore::InspectorDOMAgent::didModifyDOMAttr):
              (WebCore::InspectorDOMAgent::characterDataModified):
              (WebCore::InspectorDOMAgent::didInvalidateStyleAttr):
              (WebCore::InspectorDOMAgent::reportNodesAsSearchResults):
              (WebCore::InspectorDOMAgent::copyNode):
              (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorDOMStorageAgent.cpp:
              (WebCore::InspectorDOMStorageAgent::getDOMStorageEntries):
              (WebCore::InspectorDOMStorageAgent::setDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem):
              (WebCore::InspectorDOMStorageAgent::storageId):
              (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
              * inspector/InspectorDOMStorageAgent.h:
              * inspector/InspectorDOMStorageResource.cpp:
              * inspector/InspectorDOMStorageResource.h:
              (WebCore::InspectorDOMStorageResource::id):
              * inspector/InspectorDatabaseAgent.cpp:
              (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
              (WebCore::InspectorDatabaseAgent::executeSQL):
              (WebCore::InspectorDatabaseAgent::databaseId):
              (WebCore::InspectorDatabaseAgent::databaseForId):
              * inspector/InspectorDatabaseAgent.h:
              * inspector/InspectorDatabaseResource.cpp:
              * inspector/InspectorDatabaseResource.h:
              (WebCore::InspectorDatabaseResource::id):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::setPauseOnExceptionsState):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
              * inspector/InspectorProfilerAgent.h:
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::identifierForInitialRequest):
              (WebCore::InspectorResourceAgent::willSendRequest):
              (WebCore::InspectorResourceAgent::markResourceAsCached):
              (WebCore::InspectorResourceAgent::didReceiveResponse):
              (WebCore::InspectorResourceAgent::didReceiveContentLength):
              (WebCore::InspectorResourceAgent::didFinishLoading):
              (WebCore::InspectorResourceAgent::didFailLoading):
              (WebCore::InspectorResourceAgent::setInitialContent):
              (WebCore::InspectorResourceAgent::didCreateWebSocket):
              (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
              (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
              (WebCore::InspectorResourceAgent::didCloseWebSocket):
              * inspector/generate-inspector-idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e420b5a
  20. 12 Mar, 2011 1 commit
    • yurys@chromium.org's avatar
      2011-03-11 Yury Semikhatsky <yurys@chromium.org> · 0928fb99
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: move profiler related methods from inspector agent to profiler agent
              https://bugs.webkit.org/show_bug.cgi?id=56204
      
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
              (WebCore::InspectorAgent::setFrontend):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::populateScriptObjects):
              (WebCore::InspectorAgent::showProfilesPanel):
              * inspector/InspectorAgent.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::enableProfiler):
              (WebCore::InspectorController::disableProfiler):
              (WebCore::InspectorController::profilerEnabled):
              (WebCore::InspectorController::startUserInitiatedProfiling):
              (WebCore::InspectorController::stopUserInitiatedProfiling):
              (WebCore::InspectorController::isRecordingUserInitiatedProfile):
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::profilerEnabledImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::create):
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::disable):
              (WebCore::InspectorProfilerAgent::setFrontend):
              (WebCore::InspectorProfilerAgent::clearFrontend):
              (WebCore::InspectorProfilerAgent::restore):
              (WebCore::InspectorProfilerAgent::restoreEnablement):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
              * inspector/InspectorProfilerAgent.h:
              (WebCore::InspectorProfilerAgent::start):
              (WebCore::InspectorProfilerAgent::stop):
              * inspector/front-end/ProfileView.js:
              (WebInspector.CPUProfileType.prototype.buttonClicked):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel):
              (WebInspector.ProfilesPanel.prototype._registerProfileType):
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/inspector.js:
              (WebInspector._createPanels):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0928fb99
  21. 10 Mar, 2011 1 commit
    • pfeldman@chromium.org's avatar
      2011-03-10 Greg Simon <gregsimon@chromium.org> · b35e6870
      pfeldman@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Need new graphic icon for garbage collect button.
              https://bugs.webkit.org/show_bug.cgi?id=55794
      
              No new tests: gc tests are flaky due to non-determinisic
              behavior of collection APIs (more notes in bug)
      
              * English.lproj/localizedStrings.js:
              * WebCore.gypi:
              * bindings/js/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::collectGarbage):
              * bindings/js/ScriptProfiler.h:
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::collectGarbage):
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::collectGarbage):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/Images/garbageCollectButtonGlyph.png: Added.
              * inspector/front-end/TimelinePanel.js:
              (WebInspector.TimelinePanel.prototype.get statusBarItems):
              (WebInspector.TimelinePanel.prototype._createStatusbarButtons):
              (WebInspector.TimelinePanel.prototype._garbageCollectButtonClicked):
              * inspector/front-end/inspector.css:
              (.garbage-collect-status-bar-item .glyph):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b35e6870
  22. 04 Mar, 2011 1 commit
    • yurys@chromium.org's avatar
      2011-03-04 Yury Semikhatsky <yurys@chromium.org> · 29626f8d
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: move dispatching of didCommitLoad to agents into InspectorInstrumentation
              https://bugs.webkit.org/show_bug.cgi?id=55770
      
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::didCommitLoad):
              * inspector/InspectorCSSAgent.cpp:
              (WebCore::InspectorCSSAgent::InspectorCSSAgent):
              (WebCore::InspectorCSSAgent::~InspectorCSSAgent):
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorDatabaseAgent.cpp:
              (WebCore::InspectorDatabaseAgent::~InspectorDatabaseAgent):
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didCommitLoadImpl):
              * inspector/InspectorInstrumentation.h:
              (WebCore::InspectorInstrumentation::didCommitLoad):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::create):
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::~InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
              (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
              * inspector/InspectorProfilerAgent.h:
              * inspector/InstrumentingAgents.h:
              (WebCore::InstrumentingAgents::InstrumentingAgents):
              (WebCore::InstrumentingAgents::inspectorCSSAgent):
              (WebCore::InstrumentingAgents::setInspectorCSSAgent):
              (WebCore::InstrumentingAgents::inspectorDOMStorageAgent):
              (WebCore::InstrumentingAgents::setInspectorDOMStorageAgent):
              (WebCore::InstrumentingAgents::inspectorDatabaseAgent):
              (WebCore::InstrumentingAgents::setInspectorDatabaseAgent):
              (WebCore::InstrumentingAgents::inspectorApplicationCacheAgent):
              (WebCore::InstrumentingAgents::setInspectorApplicationCacheAgent):
              (WebCore::InstrumentingAgents::inspectorDebuggerAgent):
              (WebCore::InstrumentingAgents::setInspectorDebuggerAgent):
              (WebCore::InstrumentingAgents::inspectorBrowserDebuggerAgent):
              (WebCore::InstrumentingAgents::setInspectorBrowserDebuggerAgent):
              (WebCore::InstrumentingAgents::inspectorProfilerAgent):
              (WebCore::InstrumentingAgents::setInspectorProfilerAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      29626f8d
  23. 02 Mar, 2011 2 commits
    • yurys@chromium.org's avatar
      2011-03-02 Yury Semikhatsky <yurys@chromium.org> · 3fb16635
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: break down InspectorFrontend into domain-specific classes
              https://bugs.webkit.org/show_bug.cgi?id=55584
      
              * inspector/elements/elements-panel-search.html:
      2011-03-02  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: break down InspectorFrontend into domain-specific classes
              https://bugs.webkit.org/show_bug.cgi?id=55584
      
              * inspector/CodeGeneratorInspector.pm: InspectorFrontend now contains nested classes for
              all domains that have event notifications.
              * inspector/ConsoleMessage.cpp:
              (WebCore::ConsoleMessage::addToFrontend):
              (WebCore::ConsoleMessage::updateRepeatCountInConsole):
              * inspector/ConsoleMessage.h:
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::inspectImpl):
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::inspectedPageDestroyed):
              (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
              (WebCore::InspectorAgent::setFrontend):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::populateScriptObjects):
              (WebCore::InspectorAgent::pushDataCollectedOffline):
              (WebCore::InspectorAgent::didCommitLoad):
              (WebCore::InspectorAgent::domContentLoadedEventFired):
              (WebCore::InspectorAgent::loadEventFired):
              (WebCore::InspectorAgent::postWorkerNotificationToFrontend):
              (WebCore::InspectorAgent::evaluateForTestInFrontend):
              (WebCore::InspectorAgent::showPanel):
              * inspector/InspectorApplicationCacheAgent.cpp:
              (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
              * inspector/InspectorApplicationCacheAgent.h:
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::setFrontend):
              * inspector/InspectorConsoleAgent.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::show):
              (WebCore::InspectorController::close):
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::setFrontend):
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorDOMStorageResource.cpp:
              (WebCore::InspectorDOMStorageResource::bind):
              * inspector/InspectorDOMStorageResource.h:
              * inspector/InspectorDatabaseAgent.cpp:
              (WebCore::InspectorDatabaseAgent::FrontendProvider::frontend):
              (WebCore::InspectorDatabaseAgent::FrontendProvider::FrontendProvider):
              (WebCore::InspectorDatabaseAgent::setFrontend):
              * inspector/InspectorDatabaseResource.cpp:
              (WebCore::InspectorDatabaseResource::bind):
              * inspector/InspectorDatabaseResource.h:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::setFrontend):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              * inspector/InspectorProfilerAgent.h:
              (WebCore::InspectorProfilerAgent::setFrontend):
              (WebCore::InspectorProfilerAgent::clearFrontend):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::InspectorResourceAgent):
              * inspector/InspectorResourceAgent.h:
              * inspector/InspectorTimelineAgent.cpp:
              (WebCore::InspectorTimelineAgent::setFrontend):
              * inspector/InspectorTimelineAgent.h:
              * inspector/front-end/DOMAgent.js:
              (WebInspector.DOMDispatcher.prototype.inspectElementRequested):
              (WebInspector.DOMDispatcher.prototype.addNodesToSearchResult):
              * inspector/front-end/inspector.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fb16635
    • mnaganov@chromium.org's avatar
      2011-03-02 Mikhail Naganov <mnaganov@chromium.org> · 5f7dac94
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Landing detailed heap snapshots, part 4.
              https://bugs.webkit.org/show_bug.cgi?id=55563
      
              This part adds implementations for data grids used to display
              different heap snapshots projections. We are almost done.
      
              * English.lproj/localizedStrings.js:
              * WebCore.gypi:
              * bindings/v8/ScriptHeapSnapshot.cpp:
              (WebCore::ScriptHeapSnapshot::getExactRetainedSize):
              * bindings/v8/ScriptHeapSnapshot.h:
              * inspector/Inspector.idl:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::getExactHeapSnapshotNodeRetainedSize):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotGridNodes.js:
              (WebInspector.HeapSnapshotObjectNode):
              (WebInspector.HeapSnapshotObjectNode.prototype._createProvider):
              (WebInspector.HeapSnapshotInstanceNode):
              (WebInspector.HeapSnapshotInstanceNode.prototype._createProvider):
              (WebInspector.HeapSnapshotDominatorObjectNode):
              (WebInspector.HeapSnapshotDominatorObjectNode.prototype._createProvider):
              (MixInSnapshotNodeFunctions):
              * inspector/front-end/DetailedHeapshotView.js:
              (WebInspector.HeapSnapshotContainmentDataGrid):
              (WebInspector.HeapSnapshotSortableDataGrid):
              (WebInspector.HeapSnapshotConstructorsDataGrid):
              (WebInspector.HeapSnapshotDiffDataGrid):
              (WebInspector.HeapSnapshotDominatorsDataGrid):
              (WebInspector.HeapSnapshotRetainingPathsList):
              (WebInspector.DetailedHeapshotView.profileCallback):
              (WebInspector.DetailedHeapshotView):
              * inspector/front-end/HeapSnapshot.js:
              (WebInspector.HeapSnapshotEdge.prototype.get isInvisible):
              (WebInspector.HeapSnapshotEdge.prototype.toString):
              (WebInspector.HeapSnapshot.prototype._init):
              (WebInspector.HeapSnapshot.prototype._buildAggregatesIndexes):
              (WebInspector.HeapSnapshot.prototype._markInvisibleEdges):
              (WebInspector.HeapSnapshotPathFinder.prototype._skipEdge):
              * inspector/front-end/Images/helpButtonGlyph.png: Added.
              * inspector/front-end/Panel.js:
              (WebInspector.Panel.prototype.reset):
              * inspector/front-end/Popover.js:
              (WebInspector.Popover):
              (WebInspector.Popover.prototype.show):
              (WebInspector.Popover.prototype.hide):
              (WebInspector.Popover.prototype.get visible):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._reset):
              (WebInspector.ProfilesPanel.prototype.getProfile):
              * inspector/front-end/heapProfiler.css:
              * inspector/front-end/inspector.js:
              (WebInspector.resetFocusElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@80135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f7dac94
  24. 24 Feb, 2011 1 commit
    • loislo@chromium.org's avatar
      2011-02-24 Ilya Tikhonovsky <loislo@chromium.org> · df5982d5
      loislo@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: There is a validator of the protocol message format.
      
              It has two parts. InspectorBackendStub.js is the frontend part.
              InspectorBackendDispatcher.cpp is the backend part.
              Both parts are checking protocol message format and report the error if
              the message has not enough fields or the types of fields do not match with
              Inspector.idl specification. These validators are generated automatically.
      
              In addition, we have a number of places at the backend where we check the
              function arguments and do nothing if the arguments are invalid
              from the business logic point of view.
      
              This patch bring us an ability to report a custom error from such function to the frontend.
      
              https://bugs.webkit.org/show_bug.cgi?id=54971
      
              * inspector/CodeGeneratorInspector.pm:
              * inspector/InjectedScriptHost.cpp:
              * inspector/InspectorAgent.cpp:
              * inspector/InspectorAgent.h:
              * inspector/InspectorApplicationCacheAgent.cpp:
              * inspector/InspectorApplicationCacheAgent.h:
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              * inspector/InspectorBrowserDebuggerAgent.h:
              * inspector/InspectorCSSAgent.cpp:
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorConsoleAgent.cpp:
              * inspector/InspectorConsoleAgent.h:
              * inspector/InspectorController.cpp:
              * inspector/InspectorDOMAgent.cpp:
              * inspector/InspectorDOMAgent.h:
              * inspector/InspectorDOMStorageAgent.cpp:
              * inspector/InspectorDOMStorageAgent.h:
              * inspector/InspectorDatabaseAgent.cpp:
              * inspector/InspectorDatabaseAgent.h:
              * inspector/InspectorDebuggerAgent.cpp:
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorProfilerAgent.cpp:
              * inspector/InspectorProfilerAgent.h:
              * inspector/InspectorResourceAgent.cpp:
              * inspector/InspectorResourceAgent.h:
              * inspector/InspectorRuntimeAgent.cpp:
              * inspector/InspectorRuntimeAgent.h:
              * inspector/InspectorTimelineAgent.cpp:
              * inspector/InspectorTimelineAgent.h:
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df5982d5
  25. 01 Feb, 2011 1 commit
  26. 27 Jan, 2011 3 commits
    • yurys@chromium.org's avatar
      2011-01-27 Yury Semikhatsky <yurys@chromium.org> · 591972aa
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * http/tests/inspector/console-xhr-logging.html: since the setting doesn't change on the front-end
              side there is no need to check it after modifying backend's value.
              * inspector/report-protocol-errors.html: use the new signature of disableDebugger method.
      2011-01-27  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptDebugServer.cpp:
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/ScriptProfiler.cpp:
              * bindings/js/ScriptProfiler.h:
              * bindings/v8/ScriptDebugServer.cpp:
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/ScriptProfiler.cpp:
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored
              on the front-end side and will be pushed to the backend when the frontend is loaded.
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only
              if the front-end was opened during current browser session and XHR logging is turned on
              there.
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorDebuggerAgent.cpp:
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorSettings.cpp: Removed.
              * inspector/InspectorSettings.h: Removed.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      591972aa
    • yurys@chromium.org's avatar
      2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> · ffb351e8
      yurys@chromium.org authored
              Unreviewed, rolling out r76770.
              http://trac.webkit.org/changeset/76770
              https://bugs.webkit.org/show_bug.cgi?id=53229
      
              Some inspector tests fail (Requested by yurys on #webkit).
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::isProfilerAlwaysEnabled):
              * bindings/js/ScriptProfiler.h:
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::isProfilerAlwaysEnabled):
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::ensureSettingsLoaded):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              (WebCore::InspectorAgent::settings):
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::isDebuggerAlwaysEnabled):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorSettings.cpp: Added.
              (WebCore::InspectorSettings::InspectorSettings):
              (WebCore::InspectorSettings::getBoolean):
              (WebCore::InspectorSettings::setBoolean):
              (WebCore::InspectorSettings::getLong):
              (WebCore::InspectorSettings::setLong):
              (WebCore::InspectorSettings::registerBoolean):
              (WebCore::InspectorSettings::registerLong):
              * inspector/InspectorSettings.h: Copied from Source/WebCore/bindings/v8/ScriptProfiler.h.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.monitoringXHRStateChanged):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffb351e8
    • yurys@chromium.org's avatar
      2011-01-26 Yury Semikhatsky <yurys@chromium.org> · 84d95409
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored
              on the front-end side and will be pushed to the backend when the frontend is loaded.
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only
              if the front-end was opened during current browser session and XHR logging is turned on
              there.
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorProfilerAgent.h:
              * inspector/InspectorSettings.cpp: Removed.
              * inspector/InspectorSettings.h: Removed.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84d95409
  27. 25 Jan, 2011 1 commit
    • mnaganov@chromium.org's avatar
      2011-01-25 Mikhail Naganov <mnaganov@chromium.org> · 8d2d9a40
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Chromium] Prepare for landing of detailed heap snapshots.
      
              - Introduce Preferences.detailedHeapProfiles flag for controlling
                querying of detailed heap snapshots.
              - Add boilerplate code for the new view.
              - Factor out common code.
      
              https://bugs.webkit.org/show_bug.cgi?id=52624
      
              * WebCore.gypi:
              * WebCore.vcproj/WebCore.vcproj:
              * bindings/js/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::takeHeapSnapshot):
              * bindings/v8/ScriptProfiler.h:
              (WebCore::ScriptProfiler::HeapSnapshotControl::~HeapSnapshotControl):
              * inspector/Inspector.idl:
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
              * inspector/InspectorProfilerAgent.h:
              * inspector/front-end/DetailedHeapshotView.js: Added.
              (WebInspector.DetailedHeapshotView):
              (WebInspector.DetailedHeapshotView.prototype.get statusBarItems):
              (WebInspector.DetailedHeapshotView.prototype.get profile):
              (WebInspector.DetailedHeapshotView.prototype.set profile):
              (WebInspector.DetailedHeapshotView.prototype.show):
              (WebInspector.DetailedHeapshotView.prototype.hide):
              (WebInspector.DetailedHeapshotProfileType):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonTooltip):
              (WebInspector.DetailedHeapshotProfileType.prototype.get buttonStyle):
              (WebInspector.DetailedHeapshotProfileType.prototype.buttonClicked):
              (WebInspector.DetailedHeapshotProfileType.prototype.get welcomeMessage):
              (WebInspector.DetailedHeapshotProfileType.prototype.createSidebarTreeElementForProfile):
              (WebInspector.DetailedHeapshotProfileType.prototype.createView):
              * inspector/front-end/HeapSnapshot.js: Added.
              (WebInspector.HeapSnapshotEdgesIterator):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get done):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isElement):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get isHidden):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get name):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.next):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get node):
              (WebInspector.HeapSnapshotEdgesIterator.prototype.get nodeIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getNameOrIndex):
              (WebInspector.HeapSnapshotEdgesIterator.prototype._getType):
              (WebInspector.HeapSnapshotNodeWrapper):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get edgesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get instancesCount):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get isHidden):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get name):
              (WebInspector.HeapSnapshotNodeWrapper.prototype.get selfSize):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getName):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getEdges):
              (WebInspector.HeapSnapshotNodeWrapper.prototype._getType):
              (WebInspector.HeapSnapshot):
              (WebInspector.HeapSnapshot.prototype._init):
              (WebInspector.HeapSnapshot.prototype.get rootEdges):
              * inspector/front-end/HeapSnapshotView.js:
              (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._setRecordingProfile):
              (WebInspector.ProfilesPanel.prototype._reportHeapSnapshotProgress):
              (WebInspector.ProfilerDispatcher.prototype.setRecordingProfile):
              (WebInspector.ProfilerDispatcher.prototype.reportHeapSnapshotProgress):
              * inspector/front-end/Settings.js:
              * inspector/front-end/WebKit.qrc:
              * inspector/front-end/inspector.html:
              * inspector/front-end/inspector.js:
              (WebInspector._createPanels):
              * src/js/DevTools.js:
              ():
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d2d9a40
  28. 23 Jan, 2011 1 commit
    • pfeldman@chromium.org's avatar
      2011-01-22 Ilya Tikhonovsky <loislo@chromium.org> · f73e2772
      pfeldman@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: next step in splitting InspectorController.
      
              Splitting InspectorController is a bit tricky process.
      
              As a first step I'll do the next things:
              1) rename existing InspectorController to InspectorAgent;
              2) s/nspectorController/nspectorAgent/g everywhere in WebCore/inspector but InspectorInstrumentation;
              3) create a fake InspectorController derived from the InspectorAgent for the rest of WebCore and WebKit;
      
              The second step is a migration of a small set of functions described in bug 52510 from InspectorAgent to InspectorController.
      
              As far as the second step will have significant changes in the functions' implementation I'll do it as a separate patch.
      
              https://bugs.webkit.org/show_bug.cgi?id=52955
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::JSInjectedScriptHost::nodeForId):
              (WebCore::JSInjectedScriptHost::selectDOMStorage):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::V8InjectedScriptHost::nodeForIdCallback):
              * inspector/CodeGeneratorInspector.pm:
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::InjectedScriptHost):
              (WebCore::InjectedScriptHost::clearConsoleMessages):
              (WebCore::InjectedScriptHost::databaseForId):
              (WebCore::InjectedScriptHost::selectDatabase):
              (WebCore::InjectedScriptHost::selectDOMStorage):
              (WebCore::InjectedScriptHost::injectedScriptForMainFrame):
              (WebCore::InjectedScriptHost::inspectorDOMAgent):
              (WebCore::InjectedScriptHost::frontend):
              (WebCore::InjectedScriptHost::didCreateWorker):
              (WebCore::InjectedScriptHost::didDestroyWorker):
              * inspector/InjectedScriptHost.h:
              (WebCore::InjectedScriptHost::create):
              (WebCore::InjectedScriptHost::inspectorAgent):
              (WebCore::InjectedScriptHost::disconnectController):
              * inspector/InspectorAgent.cpp: Copied from Source/WebCore/inspector/InspectorController.cpp.
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::~InspectorAgent):
              (WebCore::InspectorAgent::inspectedPageDestroyed):
              (WebCore::InspectorAgent::enabled):
              (WebCore::InspectorAgent::inspectorStartsAttached):
              (WebCore::InspectorAgent::setInspectorStartsAttached):
              (WebCore::InspectorAgent::setInspectorAttachedHeight):
              (WebCore::InspectorAgent::inspectorAttachedHeight):
              (WebCore::InspectorAgent::searchingForNodeInPage):
              (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
              (WebCore::InspectorAgent::inspect):
              (WebCore::InspectorAgent::focusNode):
              (WebCore::InspectorAgent::highlight):
              (WebCore::InspectorAgent::highlightDOMNode):
              (WebCore::InspectorAgent::highlightFrame):
              (WebCore::InspectorAgent::hideHighlight):
              (WebCore::InspectorAgent::mouseDidMoveOverElement):
              (WebCore::InspectorAgent::handleMousePress):
              (WebCore::InspectorAgent::setInspectorFrontendClient):
              (WebCore::InspectorAgent::didClearWindowObjectInWorld):
              (WebCore::InspectorAgent::setSearchingForNode):
              (WebCore::InspectorAgent::connectFrontend):
              (WebCore::InspectorAgent::show):
              (WebCore::InspectorAgent::showPanel):
              (WebCore::InspectorAgent::close):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::resourceAgent):
              (WebCore::InspectorAgent::releaseFrontendLifetimeAgents):
              (WebCore::InspectorAgent::populateScriptObjects):
              (WebCore::InspectorAgent::pushDataCollectedOffline):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::unbindAllResources):
              (WebCore::InspectorAgent::didCommitLoad):
              (WebCore::InspectorAgent::mainResourceFiredDOMContentEvent):
              (WebCore::InspectorAgent::mainResourceFiredLoadEvent):
              (WebCore::InspectorAgent::isMainResourceLoader):
              (WebCore::InspectorAgent::willSendRequest):
              (WebCore::InspectorAgent::ensureSettingsLoaded):
              (WebCore::InspectorAgent::startTimelineProfiler):
              (WebCore::InspectorAgent::stopTimelineProfiler):
              (WebCore::PostWorkerNotificationToFrontendTask::create):
              (WebCore::PostWorkerNotificationToFrontendTask::PostWorkerNotificationToFrontendTask):
              (WebCore::PostWorkerNotificationToFrontendTask::performTask):
              (WebCore::InspectorAgent::postWorkerNotificationToFrontend):
              (WebCore::InspectorAgent::didCreateWorker):
              (WebCore::InspectorAgent::didDestroyWorker):
              (WebCore::InspectorAgent::didOpenDatabase):
              (WebCore::InspectorAgent::getCookies):
              (WebCore::InspectorAgent::buildArrayForCookies):
              (WebCore::InspectorAgent::buildObjectForCookie):
              (WebCore::InspectorAgent::deleteCookie):
              (WebCore::InspectorAgent::didUseDOMStorage):
              (WebCore::InspectorAgent::didCreateWebSocket):
              (WebCore::InspectorAgent::willSendWebSocketHandshakeRequest):
              (WebCore::InspectorAgent::didReceiveWebSocketHandshakeResponse):
              (WebCore::InspectorAgent::didCloseWebSocket):
              (WebCore::InspectorAgent::isRecordingUserInitiatedProfile):
              (WebCore::InspectorAgent::startUserInitiatedProfiling):
              (WebCore::InspectorAgent::stopUserInitiatedProfiling):
              (WebCore::InspectorAgent::profilerEnabled):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              (WebCore::InspectorAgent::resume):
              (WebCore::InspectorAgent::setAllBrowserBreakpoints):
              (WebCore::InspectorAgent::evaluateForTestInFrontend):
              (WebCore::InspectorAgent::didEvaluateForTestInFrontend):
              (WebCore::quadToPath):
              (WebCore::drawOutlinedQuad):
              (WebCore::drawOutlinedQuadWithClip):
              (WebCore::drawHighlightForBox):
              (WebCore::drawHighlightForLineBoxesOrSVGRenderer):
              (WebCore::convertFromFrameToMainFrame):
              (WebCore::frameToMainFrameOffset):
              (WebCore::InspectorAgent::drawNodeHighlight):
              (WebCore::InspectorAgent::drawElementTitle):
              (WebCore::InspectorAgent::openInInspectedWindow):
              (WebCore::InspectorAgent::addScriptToEvaluateOnLoad):
              (WebCore::InspectorAgent::removeAllScriptsToEvaluateOnLoad):
              (WebCore::InspectorAgent::setInspectorExtensionAPI):
              (WebCore::InspectorAgent::inspectedURL):
              (WebCore::InspectorAgent::reloadPage):
              (WebCore::InspectorAgent::setExtraHeaders):
              * inspector/InspectorAgent.h: Copied from Source/WebCore/inspector/InspectorController.h.
              (WebCore::InspectorAgent::inspectorBackendDispatcher):
              (WebCore::InspectorAgent::inspectorClient):
              (WebCore::InspectorAgent::injectedScriptHost):
              (WebCore::InspectorAgent::inspectedPage):
              (WebCore::InspectorAgent::hideDOMNodeHighlight):
              (WebCore::InspectorAgent::hideFrameHighlight):
              (WebCore::InspectorAgent::frontend):
              (WebCore::InspectorAgent::inspectorController):
              (WebCore::InspectorAgent::inspectorAgent):
              (WebCore::InspectorAgent::consoleAgent):
              (WebCore::InspectorAgent::cssAgent):
              (WebCore::InspectorAgent::domAgent):
              (WebCore::InspectorAgent::injectedScriptAgent):
              (WebCore::InspectorAgent::runtimeAgent):
              (WebCore::InspectorAgent::timelineAgent):
              (WebCore::InspectorAgent::databaseAgent):
              (WebCore::InspectorAgent::domStorageAgent):
              (WebCore::InspectorAgent::fileSystemAgent):
              (WebCore::InspectorAgent::browserDebuggerAgent):
              (WebCore::InspectorAgent::debuggerAgent):
              (WebCore::InspectorAgent::profilerAgent):
              (WebCore::InspectorAgent::applicationCacheAgent):
              (WebCore::InspectorAgent::hasInspectorFrontendClient):
              (WebCore::InspectorAgent::hasFrontend):
              (WebCore::InspectorAgent::startProfiling):
              (WebCore::InspectorAgent::stopProfiling):
              (WebCore::InspectorAgent::debuggerEnabled):
              (WebCore::InspectorAgent::state):
              (WebCore::InspectorAgent::settings):
              * inspector/InspectorApplicationCacheAgent.cpp:
              (WebCore::InspectorApplicationCacheAgent::InspectorApplicationCacheAgent):
              (WebCore::InspectorApplicationCacheAgent::getApplicationCaches):
              * inspector/InspectorApplicationCacheAgent.h:
              * inspector/InspectorBrowserDebuggerAgent.cpp:
              (WebCore::InspectorBrowserDebuggerAgent::InspectorBrowserDebuggerAgent):
              (WebCore::InspectorBrowserDebuggerAgent::inspectedURLChanged):
              (WebCore::InspectorBrowserDebuggerAgent::restoreStickyBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::setDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::removeDOMBreakpoint):
              (WebCore::InspectorBrowserDebuggerAgent::willInsertDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::willRemoveDOMNode):
              (WebCore::InspectorBrowserDebuggerAgent::willModifyDOMAttr):
              (WebCore::InspectorBrowserDebuggerAgent::descriptionForDOMEvent):
              (WebCore::InspectorBrowserDebuggerAgent::pauseOnNativeEventIfNeeded):
              (WebCore::InspectorBrowserDebuggerAgent::willSendXMLHttpRequest):
              * inspector/InspectorBrowserDebuggerAgent.h:
              (WebCore::InspectorBrowserDebuggerAgent::create):
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::InspectorConsoleAgent):
              (WebCore::InspectorConsoleAgent::~InspectorConsoleAgent):
              (WebCore::InspectorConsoleAgent::clearConsoleMessages):
              (WebCore::InspectorConsoleAgent::addMessageToConsole):
              (WebCore::InspectorConsoleAgent::resourceRetrievedByXMLHttpRequest):
              (WebCore::InspectorConsoleAgent::didReceiveResponse):
              (WebCore::InspectorConsoleAgent::didFailLoading):
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              (WebCore::InspectorConsoleAgent::addConsoleMessage):
              * inspector/InspectorConsoleAgent.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              * inspector/InspectorController.h:
              * inspector/InspectorDatabaseAgent.cpp:
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::create):
              (WebCore::InspectorDebuggerAgent::InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::~InspectorDebuggerAgent):
              (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
              (WebCore::InspectorDebuggerAgent::getCompletionsOnCallFrame):
              (WebCore::InspectorDebuggerAgent::currentCallFrames):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorFileSystemAgent.cpp:
              (WebCore::InspectorFileSystemAgentCallbacks::didOpenFileSystem):
              (WebCore::InspectorFileSystemAgent::InspectorFileSystemAgent):
              (WebCore::InspectorFileSystemAgent::stop):
              (WebCore::InspectorFileSystemAgent::getFileSystemPathAsync):
              (WebCore::InspectorFileSystemAgent::didGetFileSystemPath):
              (WebCore::InspectorFileSystemAgent::didGetFileSystemError):
              * inspector/InspectorFileSystemAgent.h:
              (WebCore::InspectorFileSystemAgent::create):
              * inspector/InspectorFrontendHost.cpp:
              (WebCore::InspectorFrontendHost::setExtensionAPI):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::create):
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::addProfileFinishedMessageToConsole):
              (WebCore::InspectorProfilerAgent::addStartProfilingMessageToConsole):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              (WebCore::InspectorProfilerAgent::stopUserInitiatedProfiling):
              * inspector/InspectorProfilerAgent.h:
      2011-01-22  Ilya Tikhonovsky  <loislo@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: next step in splitting InspectorController.
      
              #include "InspectorController.h" was added.
      
              https://bugs.webkit.org/show_bug.cgi?id=52955
      
              * WebCoreSupport/InspectorServerQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f73e2772
  29. 21 Jan, 2011 1 commit
  30. 20 Jan, 2011 1 commit