@@ -362,29 +362,30 @@ <h3>Algorithms</h3>
362
362
</ ol >
363
363
364
364
< p > The result of < dfn data-lt ="getting properties|getting the
365
- property "> getting a property</ dfn > with argument < var > name</ var > is
366
- defined as being the same as the result of calling
367
- < a > Object</ a > . < a > [[\GetOwnProperty]]</ a > (< var > name</ var > ).
365
+ property "> getting a property</ dfn > with < var > name</ var >
366
+ from < var > object </ var > is defined as being the same as the result of
367
+ calling < a > Object. [[\GetOwnProperty]]</ a > (< var > name</ var > ) on < var > object </ var > .
368
368
369
369
< p > The result of < dfn data-lt ="getting the property with
370
370
default "> getting a property with default</ dfn > with
371
- arguments < var > name</ var > and < var > default</ var > is defined as being
372
- the same as the result of calling
373
- < a > Object</ a > .< a > [[\GetOwnProperty]]</ a > (< var > name</ var > ) if that
374
- results in a value other than < code > undefined</ code >
375
- and < var > default</ var > otherwise.
371
+ arguments < var > name</ var > and < var > default</ var >
372
+ from < var > object</ var > is defined as being the same as the result of
373
+ calling
374
+ < a > Object.[[\GetOwnProperty]]</ a > (< var > name</ var > )
375
+ on < var > object</ var > if that results in a value other
376
+ than < code > undefined</ code > and < var > default</ var > otherwise.
376
377
377
378
< p > < dfn data-lt ='set a property '> Setting a property</ dfn > with
378
- arguments < var > name</ var > and < var > value</ var > is defined as being
379
- the same as calling
380
- < a > Object</ a > . < a > [[\Put]]</ a > (< var > name</ var > , < var > value</ var > ).
379
+ arguments < var > name</ var > and < var > value</ var > on < var > ovject </ var >
380
+ is defined as being the same as calling
381
+ < a > Object. [[\Put]]</ a > (< var > name</ var > , < var > value</ var > ) on < var > object </ var > .
381
382
382
383
< p > The result of < dfn > JSON serialization</ dfn > with < var > object</ var >
383
384
of type JSON < a > Object</ a > is defined as the result of
384
- calling < code > JSON. </ code > < a > [[\Stringify]] </ a > (< var > object</ var > ).
385
+ calling < a > stringify </ a > (< var > object</ var > ).
385
386
386
387
< p > The result of < dfn data-lt ='parsing as json '> JSON deserialization</ dfn > with < var > text</ var > is defined as
387
- the result of calling < code > JSON. </ code > < a > [[\Parse]] </ a > (< var > text</ var > ).
388
+ the result of calling < a > parse </ a > (< var > text</ var > ).
388
389
</ section > <!-- /Algorithms -->
389
390
390
391
@@ -4168,8 +4169,8 @@ <h2>Elements</h2>
4168
4169
< dd > "< code > nearest</ code > "
4169
4170
</ dl >
4170
4171
4171
- < li > < p > On the < var > < a > element < /a > < /var > ,
4172
- < a > Call </ a > ( < a > scrollIntoView </ a > , < var > options </ var > ) .
4172
+ < li > < p > Run < a > Function.[[\Call]] </ a > ( < a > scrollIntoView < /a > , < var > options < /var > )
4173
+ with < var > element </ var > as the this value .
4173
4174
</ ol >
4174
4175
4175
4176
< p > < dfn > Editable</ dfn > < a > elements</ a >
@@ -5280,7 +5281,7 @@ <h4><dfn>Get Element Property</dfn></h4>
5280
5281
with < a > url variable</ a > < var > element id</ var > .
5281
5282
5282
5283
< li > < p > Let < var > property</ var > be the result of calling
5283
- the < var > element </ var > . < a > [[\GetProperty]]</ a > (< var > name</ var > ).
5284
+ the < a > Object. [[\GetProperty]]</ a > (< var > name</ var > ) on < var > element </ var > .
5284
5285
5285
5286
< li > < p > Let < var > result</ var > be the value of
5286
5287
< var > property</ var > if not < a > undefined</ a > , or < a > < code > null</ code > </ a > .
@@ -5384,9 +5385,10 @@ <h4><dfn>Get Element Text</dfn></h4>
5384
5385
with < a > url variable</ a > < var > element id</ var > .
5385
5386
5386
5387
< li > < p > Let < var > rendered text</ var > be the result of performing
5387
- implementation-specific steps whose result is exactly the same as the
5388
- result of a < a > Call</ a > (< a > < code > bot.dom.getVisibleText</ code > </ a > ,
5389
- < a > < code > null</ code > </ a > , < var > element</ var > ).
5388
+ implementation-specific steps whose result is exactly the same as
5389
+ the result of
5390
+ a < a > Function.[[\Call]]</ a > (< a > < code > null</ code > </ a > , < var > element</ var > )
5391
+ with < a > < code > bot.dom.getVisibleText</ code > </ a > as the this value.
5390
5392
5391
5393
< li > < p > Return < a > success</ a > with data < var > rendered text</ var > .
5392
5394
</ ol >
@@ -6475,7 +6477,8 @@ <h3>Executing Script</h3>
6475
6477
< dt > has an < a > own property</ a > named "< code > toJSON</ code > " that is
6476
6478
a < a > Function</ a >
6477
6479
< dd > Return < a > success</ a > with the value returned by
6478
- < a > Call</ a > (< code > toJSON</ code > ).
6480
+ < a > Function.[[\Call]]</ a > (< code > toJSON</ code > ) with < var > value</ var >
6481
+ as the this value.
6479
6482
6480
6483
< dt > Otherwise</ dt >
6481
6484
< dd >
@@ -6617,9 +6620,8 @@ <h3>Executing Script</h3>
6617
6620
</ dl >
6618
6621
6619
6622
< li > < p > Let < var > completion</ var > be
6620
- < a > Call</ a > (< var > function</ var > ,
6621
- < var > window</ var > ,
6622
- < var > parameters</ var > ).
6623
+ < a > Function.[[\Call]]</ a > (< var > window</ var > ,
6624
+ < var > parameters</ var > ) with < var > function</ var > as the this value.
6623
6625
6624
6626
< li > < p > < a > Clean up after running a callback</ a >
6625
6627
with < var > environment settings</ var > .
@@ -10475,8 +10477,8 @@ <h2>Element displayedness</h2>
10475
10477
is a boolean state where < code > true</ code > signifies that the element is displayed
10476
10478
and < code > false</ code > signifies that the element is not displayed.
10477
10479
To compute the state on < var > element</ var > ,
10478
- invoke the < a > Call</ a > (< a > < code > bot.dom.isShown </ code > </ a > ,
10479
- < a > < code > null </ code > </ a > , < var > element </ var > ) .
10480
+ invoke the < a > Function.[[\ Call]] </ a > (< a > < code > null </ code > </ a > , < var > element </ var > ) ,
10481
+ with < a > < code > bot.dom.isShown </ code > </ a > as the this value .
10480
10482
If doing so does not produce an error,
10481
10483
return the return value from this function call.
10482
10484
Otherwise return an < a > error</ a > with < a > error code</ a > < a > unknown error</ a > .
@@ -10709,14 +10711,14 @@ <h2>Index</h2>
10709
10711
10710
10712
< dd > This specification also presumes that you are able to call
10711
10713
some of the < dfn data-lt ="internal method "> < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.6.2 > internal methods</ a > </ dfn >
10712
- from the ECMAScript Language Specification:
10714
+ from the ECMAScript Language Specification [[ECMAScript]] :
10713
10715
< ul >
10714
- <!-- Call --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-13.2.1 > Call</ a > </ dfn >
10715
- <!-- Class --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.6.2 > [[\Class]]</ a > </ dfn >
10716
- <!-- GetOwnProperty --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.1 > [[\GetOwnProperty]]</ a > </ dfn >
10717
- <!-- GetProperty --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.2 > [[\GetProperty]]</ a > </ dfn >
10716
+ <!-- Call --> < li > < dfn data-dfn-for =" Function " > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-13.2.1 > [[\ Call]] </ a > </ dfn >
10717
+ <!-- Class --> < li > < dfn data-dfn-for =" Object " > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.6.2 > [[\Class]]</ a > </ dfn >
10718
+ <!-- GetOwnProperty --> < li > < dfn data-dfn-for =" Object " > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.1 > [[\GetOwnProperty]]</ a > </ dfn >
10719
+ <!-- GetProperty --> < li > < dfn data-dfn-for =" Object " > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.2 > [[\GetProperty]]</ a > </ dfn >
10718
10720
<!-- Index of --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4.7 > Index of</ a > </ dfn >
10719
- <!-- Put --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.5 > [[\Put]]</ a > </ dfn >
10721
+ <!-- Put --> < li > < dfn data-dfn-for =" Object " > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-8.12.5 > [[\Put]]</ a > </ dfn >
10720
10722
<!-- Substring --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4.15 > Substring</ a > </ dfn >
10721
10723
</ ul >
10722
10724
@@ -10731,9 +10733,9 @@ <h2>Index</h2>
10731
10733
<!-- null --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.11 > < code > null</ code > </ a > </ dfn >
10732
10734
<!-- Number --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.19 > Number</ a > </ dfn >
10733
10735
<!-- Object --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-4.2.1 > Object</ a > </ dfn >
10734
- <!-- Parse --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2 > [[\Parse]] </ a > </ dfn >
10736
+ <!-- parse --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.2 > parse </ a > </ dfn >
10735
10737
<!-- String --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.18 > String</ a > </ dfn >
10736
- <!-- Stringify --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3 > [[\Stringify]] </ a > </ dfn >
10738
+ <!-- stringify --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-15.12.3 > stringify </ a > </ dfn >
10737
10739
<!-- ToInteger --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/6.0/#sec-tointeger > ToInteger</ a > </ dfn >
10738
10740
<!-- undefined --> < li > < dfn > < a href =https://www.ecma-international.org/ecma-262/5.1/#sec-4.3.9 > Undefined</ a > </ dfn >
10739
10741
</ ul >
0 commit comments