diff options
Diffstat (limited to 'chrome/test/webdriver/webdriver_error.cc')
| -rw-r--r-- | chrome/test/webdriver/webdriver_error.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/test/webdriver/webdriver_error.cc b/chrome/test/webdriver/webdriver_error.cc index 0884e10..102f14d 100644 --- a/chrome/test/webdriver/webdriver_error.cc +++ b/chrome/test/webdriver/webdriver_error.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -62,6 +62,8 @@ Error* Error::FromAutomationError(const automation::Error& error) { case automation::kBlockedByModalDialog: code = kUnexpectedAlertOpen; break; + case automation::kInvalidId: + code = kNoSuchWindow; default: break; } |
