Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(817)

Unified Diff: tests/html/url_test.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js_extra/dart2js_extra.status ('k') | tests/language/bad_override_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « tests/compiler/dart2js_extra/dart2js_extra.status ('k') | tests/language/bad_override_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698