mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 06:02:13 +00:00
Update webidl files based on (#1980)
- https://dom.spec.whatwg.org/#interface-domtokenlist - https://dom.spec.whatwg.org/#interface-nodelist This is a non-breaking change as iterables are currently ignored anyway.
This commit is contained in:
parent
580c7a714a
commit
02eace9bff
@ -10,6 +10,8 @@
|
||||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
// updated using https://dom.spec.whatwg.org/#interface-domtokenlist
|
||||
|
||||
interface DOMTokenList {
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMString? item(unsigned long index);
|
||||
@ -27,5 +29,5 @@ interface DOMTokenList {
|
||||
[CEReactions, SetterThrows]
|
||||
attribute DOMString value;
|
||||
stringifier DOMString ();
|
||||
iterable<DOMString?>;
|
||||
iterable<DOMString>;
|
||||
};
|
||||
|
@ -10,9 +10,11 @@
|
||||
* liability, trademark and document use rules apply.
|
||||
*/
|
||||
|
||||
// Updated using https://dom.spec.whatwg.org/#interface-nodelist
|
||||
|
||||
[ProbablyShortLivingWrapper]
|
||||
interface NodeList {
|
||||
getter Node? item(unsigned long index);
|
||||
readonly attribute unsigned long length;
|
||||
iterable<Node?>;
|
||||
iterable<Node>;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user