Skip to content

Commit 2244472

Browse files
authored
Editorial: remove unused session param from locate algorithms (#690)
1 parent efb27e8 commit 2244472

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

index.bs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,7 @@ To <dfn>locate nodes using CSS</dfn> with given |context|, |context nodes|,
33043304
<div algorithm="locate nodes using XPath">
33053305

33063306
To <dfn>locate nodes using XPath</dfn> with given |context|, |context nodes|,
3307-
|selector|, |maximum returned node count|, and <var ignore>session</var>:
3307+
|selector|, and |maximum returned node count|:
33083308

33093309
Note: Owing to the unmaintained state of the XPath specification, this algorithm
33103310
is phrased as if making calls to the XPath DOM APIs. However this is to be understood
@@ -3346,8 +3346,7 @@ without going via the ECMAScript runtime.
33463346

33473347
<div algorithm="locate nodes using inner text">
33483348
To <dfn>locate nodes using inner text</dfn> with given |context nodes|,
3349-
|selector|, |max depth|, |match type|, |ignore case|, |maximum returned node count|,
3350-
and |session|:
3349+
|selector|, |max depth|, |match type|, |ignore case|, and |maximum returned node count|:
33513350

33523351
1. If |selector| is the empty string, return [=error=] with [=error code=]
33533352
[=invalid selector=].
@@ -3392,7 +3391,7 @@ and |session|:
33923391

33933392
1. Let |child node matches| be the result of [=locate nodes using inner text=]
33943393
with |child nodes|, |selector|, |max depth|, |match type|,
3395-
|ignore case|, |maximum returned node count|, and |session|.
3394+
|ignore case|, and |maximum returned node count|.
33963395

33973396
1. If [=list/size=] of |child node matches| is equal to 0 and |match type| is
33983397
<code>"partial"</code>, append |context node| to |returned nodes|. Otherwise,
@@ -3454,16 +3453,16 @@ The [=remote end steps=] with |session| and |command parameters| are:
34543453
1. Let |selector| be |locator|["<code>value</code>"].
34553454

34563455
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using css=]
3457-
given |context|, |context nodes|, |selector|, |maximum returned
3458-
nodes| and |session|.
3456+
given |context|, |context nodes|, |selector| and |maximum returned
3457+
nodes|.
34593458

34603459
<dt>|type| is the string "<code>xpath</code>"
34613460
<dd>
34623461
1. Let |selector| be |locator|["<code>value</code>"].
34633462

34643463
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using xpath=]
3465-
given |context|, |context nodes|, |selector|, |maximum returned
3466-
nodes| and |session|.
3464+
given |context|, |context nodes|, |selector| and |maximum returned
3465+
nodes|.
34673466

34683467
<dt>|type| is the string "<code>innerText</code>"
34693468
<dd>
@@ -3480,7 +3479,7 @@ The [=remote end steps=] with |session| and |command parameters| are:
34803479

34813480
1. Let |result nodes| be a result of [=trying=] to [=locate nodes using inner text=]
34823481
given |context nodes|, |selector|, |max depth|, |match type|,
3483-
|ignore case|, |maximum returned node count| and |session|.
3482+
|ignore case| and |maximum returned node count|.
34843483

34853484
1. Assert: |maximum returned node count| is null or [=list/size=] of |result nodes| is less
34863485
than or equal to |maximum returned node count|.

0 commit comments

Comments
 (0)