| Index: chrome/test/chromedriver/chrome/web_view_impl.cc
|
| diff --git a/chrome/test/chromedriver/chrome/web_view_impl.cc b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| index c1ec10e403bd0c550e619e5f10f3ecfbe906d618..c87f1393d3f4bc81684453e9af0fca5557ad2acd 100644
|
| --- a/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| +++ b/chrome/test/chromedriver/chrome/web_view_impl.cc
|
| @@ -155,7 +155,8 @@ Status WebViewImpl::HandleReceivedEvents() {
|
| Status WebViewImpl::Load(const std::string& url) {
|
| // Javascript URLs will cause a hang while waiting for the page to stop
|
| // loading, so just disallow.
|
| - if (base::StartsWithASCII(url, "javascript:", false))
|
| + if (base::StartsWith(url, "javascript:",
|
| + base::CompareCase::INSENSITIVE_ASCII))
|
| return Status(kUnknownError, "unsupported protocol");
|
| base::DictionaryValue params;
|
| params.SetString("url", url);
|
|
|