Chromium Code Reviews| Index: tests/html/url_test.dart |
| diff --git a/tests/html/url_test.dart b/tests/html/url_test.dart |
| index f6527bbb71e392ca2fa999f4cf9bd7fdf15d2c52..c8b16c31e7d200b55ea8a9730af6070d64cec02b 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 = DOMURL.createObjectURL(blob); |
| + var url = window.createObjectUrl(blob); |
| expect(url.length, greaterThan(0)); |
| expect(url.startsWith('blob:')); |
| @@ -52,9 +52,9 @@ main() { |
| img.src = url; |
| }); |
| - test('revokeObjectURL', () { |
| + test('revokeObjectUrl', () { |
| var blob = createImageBlob(); |
| - var url = DOMURL.createObjectURL(blob); |
| + var url = window.createObjectUrl(blob); |
| expect(url.startsWith('blob:')); |
| DOMURL.revokeObjectURL(url); |
|
blois
2012/09/25 19:45:05
FYI- this API needs to change to window.revokeObje
|