Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: test/mjsunit/es6/typedarray-copywithin.js

Issue 2693753002: Revert of [typedarrays] move %TypedArray%.prototype.copyWithin to C++ (Closed)
Patch Set: Fix merge conflict Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/typedarray.js ('k') | test/test262/test262.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/typedarray-copywithin.js
diff --git a/test/mjsunit/es6/typedarray-copywithin.js b/test/mjsunit/es6/typedarray-copywithin.js
index 3f87eb88cbd32385f2532c14abd35cd735de1919..ad5a0df5639b1e8724fa5ac70c0f7e4eb2dbe2ec 100644
--- a/test/mjsunit/es6/typedarray-copywithin.js
+++ b/test/mjsunit/es6/typedarray-copywithin.js
@@ -171,57 +171,3 @@ CheckEachTypedArray(function copyWithinNullEnd(constructor) {
assertArrayEquals([1, 2, 3, 4, 5],
new constructor([1, 2, 3, 4, 5]).copyWithin(0, 3, null));
});
-
-
-CheckEachTypedArray(function copyWithinMinusInfinityTarget(constructor) {
- var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [6, 7, 8, 9, 10, 6, 7, 8, 9, 10];
-
- assertArrayEquals(expected, arr.copyWithin(-Infinity, 5));
- assertEquals(10, arr.length);
-});
-
-
-CheckEachTypedArray(function copyWithinPositiveInfinityTarget(constructor) {
- var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
-
- assertArrayEquals(expected, arr.copyWithin(+Infinity, 5));
- assertEquals(10, arr.length);
-});
-
-
-CheckEachTypedArray(function copyWithinMinusInfinityStart(constructor) {
- var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5];
-
- assertArrayEquals(expected, arr.copyWithin(5, -Infinity));
- assertEquals(10, arr.length);
-});
-
-
-CheckEachTypedArray(function copyWithinPositiveInfinityStart(constructor) {
- var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
-
- assertArrayEquals(expected, arr.copyWithin(5, +Infinity));
- assertEquals(10, arr.length);
-});
-
-
-CheckEachTypedArray(function copyWithinMinusInfinityEnd(constructor) {
- var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
-
- assertArrayEquals(expected, arr.copyWithin(5, 0, -Infinity));
- assertEquals(10, arr.length);
-});
-
-
-CheckEachTypedArray(function copyWithinPositiveInfinityEnd(constructor) {
-var arr = new constructor([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
- var expected = [1, 2, 3, 4, 5, 1, 2, 3, 4, 5];
-
- assertArrayEquals(expected, arr.copyWithin(5, 0, +Infinity));
- assertEquals(10, arr.length);
-});
« no previous file with comments | « src/js/typedarray.js ('k') | test/test262/test262.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698