Make the Set.prototype values, keys and [@@iterator] methods to be one intrinsic method (#3777)
After this patch these methods will be the same function objects JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi aszilagy@inf.u-szeged.hu
This commit is contained in:
@@ -152,3 +152,5 @@ for (var value of s) {
|
||||
|
||||
assert(value === expected[loopCount++]);
|
||||
}
|
||||
|
||||
assert(Set.prototype.values === Set.prototype.keys);
|
||||
|
||||
@@ -143,8 +143,6 @@
|
||||
<test id="built-ins/RegExp/prototype/Symbol.search/get-sticky-coerce.js"><reason></reason></test>
|
||||
<test id="built-ins/RegExp/prototype/Symbol.search/get-sticky-err.js"><reason></reason></test>
|
||||
<test id="built-ins/RegExp/prototype/test/get-sticky-err.js"><reason></reason></test>
|
||||
<test id="built-ins/Set/prototype/keys/keys.js"><reason></reason></test>
|
||||
<test id="built-ins/Set/prototype/Symbol.iterator.js"><reason></reason></test>
|
||||
<test id="built-ins/String/prototype/normalize/form-is-not-valid-throws.js"><reason></reason></test>
|
||||
<test id="built-ins/String/prototype/normalize/length.js"><reason></reason></test>
|
||||
<test id="built-ins/String/prototype/normalize/name.js"><reason></reason></test>
|
||||
|
||||
Reference in New Issue
Block a user