@@ -56,8 +56,6 @@ urlPrefix: https://tc39.es/ecma262/; spec: ECMASCRIPT
56
56
text: IsInteger; url: #sec-isinteger
57
57
text: OrdinaryObjectCreate; url: #sec-ordinaryobjectcreate
58
58
text: SameValue; url: #sec-samevalue
59
- text: SetFunctionLength; url: #sec-setfunctionlength
60
- text: SetFunctionName; url: #sec-setfunctionname
61
59
text: Type; url: #sec-ecmascript-data-types-and-values
62
60
text: TypeError; url: #sec-native-error-types-used-in-this-standard-typeerror; type: exception
63
61
text: map; url: #sec-array.prototype.map; type: method; for: Array.prototype
@@ -5747,9 +5745,8 @@ in the constructor.
5747
5745
5748
5746
1. Let |steps| be the following steps, given |chunk|:
5749
5747
1. Return ? [$GetV$] (|chunk|, "`byteLength`").
5750
- 1. Let |F| be ! [$CreateBuiltinFunction$] (|steps|, « », |globalObject|'s [=relevant Realm=] ).
5751
- 1. Perform ! [$SetFunctionName$] (|F|, "`size`").
5752
- 1. Perform ! [$SetFunctionLength$] (|F|, 1).
5748
+ 1. Let |F| be ! [$CreateBuiltinFunction$] (|steps|, 1, "`size`", « », |globalObject|'s [=relevant
5749
+ Realm=] ).
5753
5750
1. Set |globalObject|'s [=byte length queuing strategy size function=] to a {{Function}} that
5754
5751
represents a reference to |F|, with [=callback context=] equal to |globalObject|'s [=relevant
5755
5752
settings object=] .
@@ -5862,9 +5859,8 @@ internal slot, storing the value given in the constructor.
5862
5859
5863
5860
1. Let |steps| be the following steps:
5864
5861
1. Return 1.
5865
- 1. Let |F| be ! [$CreateBuiltinFunction$] (|steps|, « », |globalObject|'s [=relevant Realm=] ).
5866
- 1. Perform ! [$SetFunctionName$] (|F|, "`size`").
5867
- 1. Perform ! [$SetFunctionLength$] (|F|, 0).
5862
+ 1. Let |F| be ! [$CreateBuiltinFunction$] (|steps|, 0, "`size`", « », |globalObject|'s [=relevant
5863
+ Realm=] ).
5868
5864
1. Set |globalObject|'s [=count queuing strategy size function=] to a {{Function}} that represents
5869
5865
a reference to |F|, with [=callback context=] equal to |globalObject|'s [=relevant settings
5870
5866
object=] .
0 commit comments