Index: lib/html/dart2js/html_dart2js.dart |
=================================================================== |
--- lib/html/dart2js/html_dart2js.dart (revision 13673) |
+++ lib/html/dart2js/html_dart2js.dart (working copy) |
@@ -9169,27 +9169,9 @@ |
String value; |
} |
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
-// WARNING: Do not edit - generated code. |
+class _DOMStringListImpl implements List<String>, JavaScriptIndexingBehavior native "*DOMStringList" { |
-/// @domName DOMStringList |
-abstract class DOMStringList implements List<String> { |
- |
- /** @domName DOMStringList.length */ |
- abstract int get length; |
- |
- /** @domName DOMStringList.contains */ |
- bool contains(String string); |
- |
- /** @domName DOMStringList.item */ |
- String item(int index); |
-} |
- |
-class _DOMStringListImpl implements DOMStringList, JavaScriptIndexingBehavior native "*DOMStringList" { |
- |
final int length; |
String operator[](int index) native "return this[index];"; |
@@ -15543,8 +15525,8 @@ |
throw new ArgumentError(mode); |
} |
- // TODO(sra): Ensure storeName_OR_storeNames is a string, List<String> or |
- // DOMStringList, and copy to JavaScript array if necessary. |
+ // TODO(sra): Ensure storeName_OR_storeNames is a string or List<String>, |
+ // and copy to JavaScript array if necessary. |
if (_transaction_fn != null) { |
return _transaction_fn(this, storeName_OR_storeNames, mode); |
@@ -15584,7 +15566,7 @@ |
final String name; |
- final List<String> objectStoreNames; |
+ final _DOMStringListImpl objectStoreNames; |
final Dynamic version; |
@@ -16051,7 +16033,7 @@ |
final bool autoIncrement; |
- final List<String> indexNames; |
+ final _DOMStringListImpl indexNames; |
final Dynamic keyPath; |
@@ -17930,7 +17912,7 @@ |
class _LocalLocationImpl implements LocalLocation native "*Location" { |
- final List<String> ancestorOrigins; |
+ final _DOMStringListImpl ancestorOrigins; |
String hash; |