Index: chrome/test/webdriver/commands/session_with_id.cc |
diff --git a/chrome/test/webdriver/commands/session_with_id.cc b/chrome/test/webdriver/commands/session_with_id.cc |
index b3155e29fe7f5d71cf90c5ab7c49f70e76086773..5a958146b274f96cc89ecca9a7e0c7598e7c3a9a 100644 |
--- a/chrome/test/webdriver/commands/session_with_id.cc |
+++ b/chrome/test/webdriver/commands/session_with_id.cc |
@@ -49,9 +49,20 @@ void SessionWithID::ExecuteGet(Response* const response) { |
temp_value->SetString("platform", "unknown"); |
#endif |
- temp_value->SetBoolean("cssSelectorsEnabled", true); |
temp_value->SetBoolean("javascriptEnabled", true); |
temp_value->SetBoolean("takesScreenshot", true); |
+ temp_value->SetBoolean("handlesAlerts", true); |
+ temp_value->SetBoolean("databaseEnabled", false); |
+ temp_value->SetBoolean("locationContextEnabled", false); |
+ temp_value->SetBoolean("applicationCacheEnabled", false); |
+ temp_value->SetBoolean("browserConnectionEnabled", false); |
+ temp_value->SetBoolean("cssSelectorsEnabled", true); |
+ temp_value->SetBoolean("webStorageEnabled", false); |
+ temp_value->SetBoolean("rotatable", false); |
+ temp_value->SetBoolean("acceptSslCerts", false); |
+ // Even when ChromeDriver does not OS-events, the input simulation produces |
+ // the same effect for most purposes (except IME). |
+ temp_value->SetBoolean("nativeEvents", true); |
// Custom non-standard session info. |
temp_value->SetWithoutPathExpansion( |