mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Issue #2518 - Make various arguments optional in XPathEvaluator/XPathExpression.
Resolves #2518
This commit is contained in:
parent
7d2ecc13dd
commit
7381521cf7
2 changed files with 13 additions and 8 deletions
|
|
@ -9,11 +9,13 @@ interface XPathEvaluator {
|
|||
// Based on nsIDOMXPathEvaluator
|
||||
[NewObject, Throws]
|
||||
XPathExpression createExpression(DOMString expression,
|
||||
XPathNSResolver? resolver);
|
||||
optional XPathNSResolver? resolver = null);
|
||||
[Pure]
|
||||
Node createNSResolver(Node nodeResolver);
|
||||
[Throws]
|
||||
XPathResult evaluate(DOMString expression, Node contextNode,
|
||||
XPathNSResolver? resolver, unsigned short type,
|
||||
object? result);
|
||||
XPathResult evaluate(DOMString expression,
|
||||
Node contextNode,
|
||||
optional XPathNSResolver? resolver = null,
|
||||
optional unsigned short type = 0 /* XPathResult.ANY_TYPE */,
|
||||
optional object? result = null);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue