mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:28:02 +00:00
Fix a syntax error in webdriver.
Review URL: https://codereview.chromium.org//14077012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21527 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
2e0bba73fe
commit
3b97303e17
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ class WebDriverBase {
|
|||
|
||||
void _failRequest(Completer completer, error, [stackTrace]) {
|
||||
if (completer != null) {
|
||||
var trace = stackTrace != null ? stackTrace, getAttachedStackTrace(error);
|
||||
var trace = stackTrace != null ? stackTrace : getAttachedStackTrace(error);
|
||||
completer.completeError(new WebDriverError(-1, error), trace);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue