Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: pkg/webdriver/lib/webdriver.dart

Issue 14077012: Fix a syntax error in webdriver. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/webdriver/lib/webdriver.dart
diff --git a/pkg/webdriver/lib/webdriver.dart b/pkg/webdriver/lib/webdriver.dart
index cc6b7d3fe34b8a77e792d9a3b1712cdd346aab29..fbae2d3e2a5b1d24aed82127e048998318689994 100644
--- a/pkg/webdriver/lib/webdriver.dart
+++ b/pkg/webdriver/lib/webdriver.dart
@@ -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);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698