Index: Source/core/xml/XPathEvaluator.idl |
diff --git a/Source/core/xml/XPathEvaluator.idl b/Source/core/xml/XPathEvaluator.idl |
index d11018a46e80a9e45cedf4ee8d2f97d3c6a15213..7679fb2613324a8bc74a362891e18b1f32b8f337 100644 |
--- a/Source/core/xml/XPathEvaluator.idl |
+++ b/Source/core/xml/XPathEvaluator.idl |
@@ -19,16 +19,12 @@ |
[ |
WillBeGarbageCollected, |
- Constructor |
+ Constructor, |
+ TypeChecking=Interface, |
] interface XPathEvaluator { |
- [RaisesException] XPathExpression createExpression([Default=Undefined] optional DOMString expression, |
- [Default=Undefined] optional XPathNSResolver resolver); |
+ [RaisesException] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null); |
- XPathNSResolver createNSResolver([Default=Undefined] optional Node nodeResolver); |
+ XPathNSResolver createNSResolver(Node nodeResolver); |
- [RaisesException] XPathResult evaluate([Default=Undefined] optional DOMString expression, |
- [Default=Undefined] optional Node contextNode, |
- [Default=Undefined] optional XPathNSResolver resolver, |
- [Default=Undefined] optional unsigned short type, |
- [Default=Undefined] optional XPathResult inResult); |
+ [RaisesException] XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional object? inResult = null); |
}; |