summaryrefslogtreecommitdiffstats
path: root/content/shell/webkit_test_runner.h
diff options
context:
space:
mode:
authorjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 17:00:13 +0000
committerjochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 17:00:13 +0000
commit001841c9c821994dc1610fccca03d0024368b445 (patch)
tree1bcaa5bcfa306349415f8b31d637ed19fa721956 /content/shell/webkit_test_runner.h
parentf1192016e0ec57ce80935d1b3675134766667a2a (diff)
downloadchromium_src-001841c9c821994dc1610fccca03d0024368b445.zip
chromium_src-001841c9c821994dc1610fccca03d0024368b445.tar.gz
chromium_src-001841c9c821994dc1610fccca03d0024368b445.tar.bz2
[content shell] hook up support for inspector tests
There's still a number of problems: - DRT runs the inspector from a file:// URL while content_shell runs it via http. Therefore, CORS access restrictions apply (this makes e.g. http/tests/inspector/compiler-script-mapping.html fail) - some tests report slighly different results, e.g. inspector/timeline/timeline-network-resource.html The majority of the tests, however, passes. BUG=111316 TEST=inspector tests pass (most of them) R=marja@chromium.org,pfeldman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11486008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172337 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/webkit_test_runner.h')
-rw-r--r--content/shell/webkit_test_runner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/shell/webkit_test_runner.h b/content/shell/webkit_test_runner.h
index 8c1e294..08c3dcd 100644
--- a/content/shell/webkit_test_runner.h
+++ b/content/shell/webkit_test_runner.h
@@ -68,6 +68,10 @@ class WebKitTestRunner : public RenderViewObserver,
void SetShouldStayOnPageAfterHandlingBeforeUnload(bool should_stay_on_page);
void WaitUntilDone();
void CanOpenWindows();
+ void ShowWebInspector();
+ void CloseWebInspector();
+ void EvaluateInWebInspector(int32_t call_id, const std::string& script);
+
void NotImplemented(const std::string& object, const std::string& method);
void set_proxy(WebTestRunner::WebTestProxyBase* proxy) { proxy_ = proxy; }