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

Unified Diff: core/dom/DOMTokenList.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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
« no previous file with comments | « core/dom/DOMStringMap.idl ('k') | core/dom/DataView.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/dom/DOMTokenList.idl
diff --git a/core/dom/DOMTokenList.idl b/core/dom/DOMTokenList.idl
index 19476405d8d77862dbd48e5a7d93635425d814fa..1293203c498ea8096609ea9927926222f1174fb6 100644
--- a/core/dom/DOMTokenList.idl
+++ b/core/dom/DOMTokenList.idl
@@ -22,17 +22,19 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://dom.spec.whatwg.org/#interface-domtokenlist
+
[
SetWrapperReferenceFrom=element,
WillBeGarbageCollected,
] interface DOMTokenList {
readonly attribute unsigned long length;
- [TreatReturnedNullStringAs=Null] getter DOMString item(unsigned long index);
+ getter DOMString? item(unsigned long index);
[RaisesException] boolean contains(DOMString token);
[RaisesException, CustomElementCallbacks] void add(DOMString... tokens);
[RaisesException, CustomElementCallbacks] void remove(DOMString... tokens);
[RaisesException, CustomElementCallbacks] boolean toggle(DOMString token, optional boolean force);
-
+ // FIXME: stringifier should be enumerable.
[NotEnumerable] stringifier;
+ iterable<DOMString>;
};
-
« no previous file with comments | « core/dom/DOMStringMap.idl ('k') | core/dom/DataView.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698