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

Unified Diff: test/cctest/test-api.cc

Issue 1415663002: Revert "[api] expose Array Iterators to API" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/array-iterator.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 7ba4a3c4a923de2f38d9aa8d2453d880a26a8b92..81dc67d8e2aad73880402a4cd4d18d293682daf3 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -21932,18 +21932,3 @@ TEST(AccessCheckedIsConcatSpreadable) {
ExpectTrue("result.length === 1");
ExpectTrue("object[Symbol.isConcatSpreadable] === undefined");
}
-
-
-TEST(ArrayIteratorMethods) {
- v8::Isolate* isolate = CcTest::isolate();
- v8::HandleScope scope(isolate);
- LocalContext env;
-
- env->Global()->Set(v8_str("keys"), v8::Array::GetKeysIterator(isolate));
- env->Global()->Set(v8_str("values"), v8::Array::GetValuesIterator(isolate));
- env->Global()->Set(v8_str("entries"), v8::Array::GetEntriesIterator(isolate));
-
- ExpectString("typeof keys", "function");
- ExpectString("typeof values", "function");
- ExpectString("typeof entries", "function");
-}
« no previous file with comments | « src/js/array-iterator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698