Skip to content

Commit 0206eb3

Browse files
committed
[js-api] Editorial: fix some references to 'agent'
1 parent 105567f commit 0206eb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

document/js-api/index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ spec:ecma-262; type:exception; for:ECMAScript; text:Error
154154
spec:ecmascript; type:exception; for:ECMAScript; text:TypeError
155155
spec:ecmascript; type:exception; for:ECMAScript; text:RangeError
156156
spec:ecmascript; type:interface; for:ECMAScript; text:ArrayBuffer
157+
spec:ecmascript; type:dfn; text:agent
157158
spec:webidl; type:dfn; text:resolve
158159
</pre>
159160

@@ -845,7 +846,7 @@ which can be simultaneously referenced by multiple {{Instance}} objects. Each
845846

846847
<div algorithm>
847848
To <dfn>create a global object</dfn> from a [=global address=] |globaladdr|, perform the following steps:
848-
1. Let |map| be the current [=agent=]'s associated [=Global object cache=].
849+
1. Let |map| be the [=surrounding agent=]'s associated [=Global object cache=].
849850
1. If |map|[|globaladdr|] [=map/exists=],
850851
1. Return |map|[|globaladdr|].
851852
1. Let |global| be a [=/new=] {{Global}}.

0 commit comments

Comments
 (0)