1
0
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-03-31 17:31:06 +00:00

Uncomment a webidl method we now support

First commented out in  when we didn't support this we now do!

Closes 
This commit is contained in:
Alex Crichton 2018-12-14 13:24:52 -08:00
parent 4054ce8a2c
commit ae49dd8697

@ -37,10 +37,8 @@ interface HTMLSelectElement : HTMLElement {
HTMLOptionElement? namedItem(DOMString name); HTMLOptionElement? namedItem(DOMString name);
[CEReactions, Throws] [CEReactions, Throws]
void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null); void add((HTMLOptionElement or HTMLOptGroupElement) element, optional (HTMLElement or long)? before = null);
/* TODO not permitted multiple functions with the same name
[CEReactions] [CEReactions]
void remove(long index); void remove(long index);
*/
[CEReactions, Throws] [CEReactions, Throws]
setter void (unsigned long index, HTMLOptionElement? option); setter void (unsigned long index, HTMLOptionElement? option);