Skip to content

Commit f4e9353

Browse files
committed
Fix variable name
1 parent 93ed252 commit f4e9353

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

index.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,17 +476,17 @@ The <dfn method for=ModelContext>getTools(<var>options</var>)</dfn> method steps
476476

477477
1. Let |global| be [=this=]'s [=relevant global object=].
478478

479-
1. Let |tool owner| be |global|'s [=associated Document|associated <code>Document</code>=].
479+
1. Let |toolRequestor| be |global|'s [=associated Document|associated <code>Document</code>=].
480480

481-
1. If |tool owner| is not [=Document/fully active=], then return [=a promise rejected with=] an
481+
1. If |toolRequestor| is not [=Document/fully active=], then return [=a promise rejected with=] an
482482
"{{InvalidStateError}}" {{DOMException}}.
483483

484484
1. If this's [=surrounding agent=]'s [=agent cluster=]'s [=is origin-keyed=] is false and this's
485485
[=relevant settings object=]'s [=environment settings object/origin=]'s [=origin/scheme=] is not
486486
<code>"file"</code>, then return [=a promise rejected with=] a "{{SecurityError}}"
487487
{{DOMException}}.
488488

489-
1. If |tool owner| is not [=allowed to use=] the "{{tools}}" feature, then return [=a promise
489+
1. If |toolRequestor| is not [=allowed to use=] the "{{tools}}" feature, then return [=a promise
490490
rejected with=] a "{{NotAllowedError}}" {{DOMException}}.
491491

492492
1. Let |from origins| be an empty [=list=] of [=origins=].
@@ -509,7 +509,7 @@ The <dfn method for=ModelContext>getTools(<var>options</var>)</dfn> method steps
509509

510510
1. Let |tools| be an empty [=list=] of {{RegisteredTool}} dictionaries.
511511

512-
1. Let |navigables| be |tool owner|'s [=node navigable=]'s [=navigable/traversable navigable=]'s
512+
1. Let |navigables| be |toolRequestor|'s [=node navigable=]'s [=navigable/traversable navigable=]'s
513513
[=Document/inclusive descendant navigables=].
514514

515515
1. [=list/For each=] |navigable| of |navigables|:
@@ -521,7 +521,7 @@ The <dfn method for=ModelContext>getTools(<var>options</var>)</dfn> method steps
521521

522522
1. Let |targetOrigin| be |targetDocument|'s [=Document/origin=].
523523

524-
1. Let |callerOrigin| be |tool owner|'s [=Document/origin=].
524+
1. Let |callerOrigin| be |toolRequestor|'s [=Document/origin=].
525525

526526
1. Let |is visible to caller| be true if |targetOrigin| is [=same origin=] with
527527
|callerOrigin|, or if |from origins| [=list/contains=] |targetOrigin|. Otherwise, let it be

0 commit comments

Comments
 (0)