Index: Source/core/xml/XPathExpression.idl |
diff --git a/Source/core/xml/XPathExpression.idl b/Source/core/xml/XPathExpression.idl |
index 35ab9089439e80a55903c2acd40de36e6b5438a3..de87b4e32d349556765fc6630dfe67dba73ac6ba 100644 |
--- a/Source/core/xml/XPathExpression.idl |
+++ b/Source/core/xml/XPathExpression.idl |
@@ -19,10 +19,8 @@ |
*/ |
[ |
- WillBeGarbageCollected |
+ WillBeGarbageCollected, |
+ TypeChecking=Interface, |
] interface XPathExpression { |
- [RaisesException] XPathResult evaluate([Default=Undefined] optional Node contextNode, |
- [Default=Undefined] optional unsigned short type, |
- [Default=Undefined] optional XPathResult inResult); |
+ [RaisesException] XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional object? inResult = null); |
philipj_slow
2015/03/09 08:17:30
I now see that inResult is not actually used, the
Jens Widell
2015/03/09 08:30:22
Firefox throws if the argument value is not an obj
philipj_slow
2015/03/09 10:10:47
OK, http://www.w3.org/TR/DOM-Level-3-XPath/xpath.h
Jens Widell
2015/03/09 11:05:10
Presto actually reused the result object, if one w
|
}; |
- |