Index: sdk/lib/html/dart2js/html_dart2js.dart |
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart |
index fa0fe383d770a2a6dd61b3d267291d1cc722255f..735b712df4db14ac6f9b68283678c5c578d89e9c 100644 |
--- a/sdk/lib/html/dart2js/html_dart2js.dart |
+++ b/sdk/lib/html/dart2js/html_dart2js.dart |
@@ -13854,7 +13854,7 @@ class EventSource extends EventTarget { |
var parsedOptions = { |
'withCredentials': withCredentials, |
}; |
- return EventSource._factoryEventSource(title, parsedOptions); |
+ return EventSource._factoryEventSource(url, parsedOptions); |
} |
// To suppress missing implicit constructor warnings. |
factory EventSource._() { throw new UnsupportedError("Not supported"); } |