Implement [Unscopable] (fixes #11583)

This commit is contained in:
Anthony Ramine 2016-06-05 03:42:33 +02:00
parent 0f1f99a4bf
commit 3529803975
8 changed files with 96 additions and 35 deletions

View file

@ -8,12 +8,13 @@
[NoInterfaceObject]
interface ChildNode {
[Throws]
[Throws, Unscopable]
void before((Node or DOMString)... nodes);
[Throws]
[Throws, Unscopable]
void after((Node or DOMString)... nodes);
[Throws]
[Throws, Unscopable]
void replaceWith((Node or DOMString)... nodes);
[Unscopable]
void remove();
};

View file

@ -17,9 +17,9 @@ interface ParentNode {
[Pure]
readonly attribute unsigned long childElementCount;
[Throws]
[Throws, Unscopable]
void prepend((Node or DOMString)... nodes);
[Throws]
[Throws, Unscopable]
void append((Node or DOMString)... nodes);
[Pure, Throws]