| Index: tests/html/url_test.dart
|
| diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart
|
| index 1c00d03324d16c0e5b480c662c1e70540881540f..4b784ca28ca84db11d76d1a7375d0dedbed5121c 100644
|
| --- a/tests/html/url_test.dart
|
| +++ b/tests/html/url_test.dart
|
| @@ -36,7 +36,7 @@ main() {
|
| group('blob', () {
|
| test('createObjectUrl', () {
|
| var blob = createImageBlob();
|
| - var url = window.createObjectUrl(blob);
|
| + var url = Url.createObjectUrl(blob);
|
| expect(url.length, greaterThan(0));
|
| expect(url, startsWith('blob:'));
|
|
|
| @@ -54,9 +54,9 @@ main() {
|
|
|
| test('revokeObjectUrl', () {
|
| var blob = createImageBlob();
|
| - var url = window.createObjectUrl(blob);
|
| + var url = Url.createObjectUrl(blob);
|
| expect(url, startsWith('blob:'));
|
| - window.revokeObjectUrl(url);
|
| + Url.revokeObjectUrl(url);
|
|
|
| var img = new ImageElement();
|
| // Image should fail to load since the URL was revoked.
|
|
|