Index: webkit/tools/test_shell/test_shell_win.cc |
diff --git a/webkit/tools/test_shell/test_shell_win.cc b/webkit/tools/test_shell/test_shell_win.cc |
index 8d7f8ec7bd1fe7e9337fe39d23239a8ac31f55a4..934eef41984998560443a5446a4089452a2844f1 100644 |
--- a/webkit/tools/test_shell/test_shell_win.cc |
+++ b/webkit/tools/test_shell/test_shell_win.cc |
@@ -258,6 +258,10 @@ bool TestShell::RunFileTest(const TestParams& params) { |
strstr(params.test_url.c_str(), "\\inspector\\")) |
inspector_test_mode_ = true; |
+ developer_extras_enabled_ = inspector_test_mode_ || |
+ strstr(params.test_url.c_str(), "/inspector-enabled/") || |
+ strstr(params.test_url.c_str(), "\\inspector-enabled\\"); |
+ |
// Clean up state between test runs. |
webkit_glue::ResetBeforeTestRun(shell->webView()); |
ResetWebPreferences(); |