Index: Source/core/dom/Node.idl |
diff --git a/Source/core/dom/Node.idl b/Source/core/dom/Node.idl |
index 3a78085279b65c0b373651501489a0ac9de84b68..dbd8fa9dec221ed0b0d1e800a5e8c40992dae8f3 100644 |
--- a/Source/core/dom/Node.idl |
+++ b/Source/core/dom/Node.idl |
@@ -49,10 +49,10 @@ |
[PerWorldBindings] readonly attribute Node nextSibling; |
[PerWorldBindings] readonly attribute Document ownerDocument; |
- [Custom, CustomElementCallbacks, PerWorldBindings, RaisesException] Node insertBefore(Node newChild, Node refChild); |
+ [CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node insertBefore(Node newChild, Node? refChild); |
[Custom, CustomElementCallbacks, PerWorldBindings, RaisesException] Node replaceChild(Node newChild, Node oldChild); |
[Custom, CustomElementCallbacks, RaisesException] Node removeChild(Node oldChild); |
- [Custom, CustomElementCallbacks, PerWorldBindings, RaisesException] Node appendChild(Node newChild); |
+ [CustomElementCallbacks, PerWorldBindings, RaisesException, TypeChecking=Interface] Node appendChild(Node newChild); |
[ImplementedAs=hasChildren] boolean hasChildNodes(); |
[CustomElementCallbacks] Node cloneNode(optional boolean deep); |