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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 12114042: Fixing dartium xhr issue (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index d2f66f431e885cb142c6619e7370eecafbcb05f3..09c57f752ea5dfa2cc45584d1f1ab3eeb0ceedd1 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -13684,7 +13684,7 @@ class HttpRequest extends EventTarget {
static Future<HttpRequest> request(String url,
{String method, bool withCredentials, String responseType, sendData,
void onProgress(ProgressEvent e)}) {
- var completer = new Completer<String>();
+ var completer = new Completer<HttpRequest>();
var xhr = new HttpRequest();
if (method == null) {
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/templates/html/impl/impl_XMLHttpRequest.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698