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

Unified Diff: lib/html/src/dart2js_Conversions.dart

Issue 10941047: Don't generate FooList if it behaves like List<Foo> exactly. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months 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
Index: lib/html/src/dart2js_Conversions.dart
===================================================================
--- lib/html/src/dart2js_Conversions.dart (revision 12656)
+++ lib/html/src/dart2js_Conversions.dart (working copy)
@@ -205,14 +205,11 @@
}
if (e is _FileListImpl) return e;
- if (e is FileList) {
- throw const NotImplementedException('structured clone of FileList');
- }
// TODO(sra): Firefox: How to convert _TypedImageData on the other end?
if (e is _ImageDataImpl) return e;
if (e is ImageData) {
- throw const NotImplementedException('structured clone of FileList');
+ throw const NotImplementedException('structured clone of ImageData');
}
if (e is _ArrayBufferImpl) return e;

Powered by Google App Engine
This is Rietveld 408576698