| Index: lib/html/dart2js/html_dart2js.dart
|
| diff --git a/lib/html/dart2js/html_dart2js.dart b/lib/html/dart2js/html_dart2js.dart
|
| index b5f3864e29a456a43eabccd93c282b8133fd4f3b..2eca901caf857c562bb14325bddae2d3e6550599 100644
|
| --- a/lib/html/dart2js/html_dart2js.dart
|
| +++ b/lib/html/dart2js/html_dart2js.dart
|
| @@ -17426,6 +17426,13 @@ class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
|
| localStorage['dart-port:$name'] = JSON.stringify(serialized);
|
| }
|
|
|
| + String createObjectUrl(object) native '''
|
| + return (window.URL || window.webkitURL).createObjectURL(object)
|
| + ''';
|
| +
|
| + void revokeObjectUrl(String objectUrl) native '''
|
| + (window.URL || window.webkitURL).revokeObjectURL(objectUrl)
|
| + ''';
|
|
|
| _WindowEventsImpl get on() =>
|
| new _WindowEventsImpl(this);
|
| @@ -36352,6 +36359,9 @@ interface Window extends EventTarget {
|
|
|
| IDBFactory get indexedDB();
|
|
|
| + String createObjectUrl(object);
|
| + void revokeObjectUrl(String objectUrl);
|
| +
|
|
|
| /**
|
| * @domName EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent
|
|
|