Index: chrome/test/webdriver/webdriver_dispatch.cc |
diff --git a/chrome/test/webdriver/webdriver_dispatch.cc b/chrome/test/webdriver/webdriver_dispatch.cc |
index 33ac629299b1f219f233cfb64a0ace943a940561..d5a278408d90cce9dda62fd09ded223f5fdd8ebe 100644 |
--- a/chrome/test/webdriver/webdriver_dispatch.cc |
+++ b/chrome/test/webdriver/webdriver_dispatch.cc |
@@ -320,7 +320,7 @@ bool ParseRequestInfo(const struct mg_request_info* const request_info, |
if (json.length() > 0) { |
std::string error_msg; |
scoped_ptr<Value> params(base::JSONReader::ReadAndReturnError( |
- json, true, NULL, &error_msg)); |
+ json, base::JSON_ALLOW_TRAILING_COMMAS, NULL, &error_msg)); |
if (!params.get()) { |
response->SetError(new Error( |
kBadRequest, |