-
mjs@apple.com authored
Reviewed by Dan Bernstein. WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector https://bugs.webkit.org/show_bug.cgi?id=42319 Unskip inspector tests (except the few that mysteriously fail). * platform/mac-wk2/Skipped: 2011-01-26 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector https://bugs.webkit.org/show_bug.cgi?id=42319 Add evaluateInWebInspector and other APIs needed for inspector tests to run. * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl: * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp: (WTR::LayoutTestController::showWebInspector): (WTR::LayoutTestController::closeWebInspector): (WTR::LayoutTestController::evaluateInWebInspector): (WTR::LayoutTestController::setTimelineProfilingEnabled): * WebKitTestRunner/InjectedBundle/LayoutTestController.h: * WebKitTestRunner/TestInvocation.cpp: (WTR::shouldOpenWebInspector): (WTR::TestInvocation::invoke): * WebKitTestRunner/WebKitTestRunnerPrefix.h: 2011-01-26 Maciej Stachowiak <mjs@apple.com> Reviewed by Dan Bernstein. WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector https://bugs.webkit.org/show_bug.cgi?id=42319 Add WKBundleInspector and APIs needed to implement WebKitTestRunner APIs. * GNUmakefile.am: * Shared/API/c/WKBase.h: * Shared/APIObject.h: * WebKit2.pro: * WebKit2.xcodeproj/project.pbxproj: * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h: * WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp: Added. (WKBundleInspectorGetTypeID): (WKBundleInspectorShow): (WKBundleInspectorClose): (WKBundleInspectorEvaluateScriptForTest): (WKBundleInspectorSetPageProfilingEnabled): * WebProcess/InjectedBundle/API/c/WKBundleInspector.h: Added. * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKBundlePageGetInspector): * WebProcess/InjectedBundle/API/c/WKBundlePage.h: * WebProcess/WebPage/WebInspector.cpp: (WebKit::WebInspector::create): (WebKit::WebInspector::evaluateScriptForTest): * WebProcess/WebPage/WebInspector.h: (WebKit::WebInspector::type): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::inspector): * WebProcess/WebPage/WebPage.h: * win/WebKit2.vcproj: * win/WebKit2Generated.make: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ccbb681c