Commit 835d5e4b authored by philipj@opera.com's avatar philipj@opera.com

Sync the DOMTokenList interface with the spec

https://dom.spec.whatwg.org/#interface-domtokenlist

BUG=460722

Review URL: https://codereview.chromium.org/947833002

git-svn-id: svn://svn.chromium.org/blink/trunk@190649 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 812b0065
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
*/ */
// https://dom.spec.whatwg.org/#interface-domtokenlist // https://dom.spec.whatwg.org/#interface-domtokenlist
[ [
SetWrapperReferenceFrom=element, SetWrapperReferenceFrom=element,
WillBeGarbageCollected, WillBeGarbageCollected,
...@@ -33,7 +34,7 @@ ...@@ -33,7 +34,7 @@
[RaisesException, CustomElementCallbacks] void add(DOMString... tokens); [RaisesException, CustomElementCallbacks] void add(DOMString... tokens);
[RaisesException, CustomElementCallbacks] void remove(DOMString... tokens); [RaisesException, CustomElementCallbacks] void remove(DOMString... tokens);
[RaisesException, CustomElementCallbacks] boolean toggle(DOMString token, optional boolean force); [RaisesException, CustomElementCallbacks] boolean toggle(DOMString token, optional boolean force);
// FIXME: stringifier should be enumerable.
[NotEnumerable] stringifier; [NotEnumerable] stringifier;
iterable<DOMString>; iterable<DOMString>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment