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

Unified Diff: tests/html/url_test.dart

Issue 11312091: Rename DOMURL to ObjectUrl. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « sdk/lib/html/templates/html/interface/interface_LocalWindow.darttemplate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/url_test.dart
===================================================================
--- tests/html/url_test.dart (revision 14542)
+++ tests/html/url_test.dart (working copy)
@@ -36,7 +36,7 @@
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 @@
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 | « sdk/lib/html/templates/html/interface/interface_LocalWindow.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698