| 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 8b25d5ab640e880fb09b432283c29e0cb0dc7366..f29e586b3c800740d959ced598763fa0d0ab89bd 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -13422,8 +13422,10 @@ class HttpRequest extends EventTarget {
|
| * This call is used in conjunction with [open]:
|
| *
|
| * var request = new HttpRequest();
|
| - * request.open('GET', 'http://dartlang.org')
|
| - * request.onLoad.listen((event) => print('Request complete'));
|
| + * request.open('GET', 'http://dartlang.org');
|
| + * request.onLoad.listen((event) => print(
|
| + * 'Request complete ${event.target.reponseText}'));
|
| + * request.send();
|
| *
|
| * is the (more verbose) equivalent of
|
| *
|
| @@ -25722,13 +25724,13 @@ class Url extends NativeFieldWrapperClass1 {
|
| if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_1(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_2(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_3(blob_OR_source_OR_stream);
|
| }
|
| - if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
|
| + if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
|
| return _createObjectURL_4(blob_OR_source_OR_stream);
|
| }
|
| throw new ArgumentError("Incorrect number or type of arguments");
|
|
|