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

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

Issue 14402026: Remove __ prefix from Harmony typed arrays implementation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed flag implication Created 7 years, 8 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
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 4f5efea8b4883cd405b5141b43a0f141f92f4a83..3876ff43ee292b00e76b1d47d4c8fbbdd704b334 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -2271,7 +2271,7 @@ THREADED_TEST(ArrayBuffer) {
v8::Handle<v8::Value> result = CompileRun("ab.byteLength");
CHECK_EQ(1024, result->Int32Value());
- result = CompileRun("var u8 = new __Uint8Array(ab);"
+ result = CompileRun("var u8 = new Uint8Array(ab);"
"u8[0] = 0xFF;"
"u8[1] = 0xAA;"
"u8.length");
@@ -2283,8 +2283,8 @@ THREADED_TEST(ArrayBuffer) {
result = CompileRun("u8[0] + u8[1]");
CHECK_EQ(0xDD, result->Int32Value());
- result = CompileRun("var ab1 = new __ArrayBuffer(2);"
- "var u8_a = new __Uint8Array(ab1);"
+ result = CompileRun("var ab1 = new ArrayBuffer(2);"
+ "var u8_a = new Uint8Array(ab1);"
"u8_a[0] = 0xAA;"
"u8_a[1] = 0xFF; u8_a.buffer");
Local<v8::ArrayBuffer> ab1 = v8::ArrayBuffer::Cast(*result);
@@ -2303,7 +2303,7 @@ THREADED_TEST(ArrayBuffer) {
CHECK_EQ(100, static_cast<int>(ab3->ByteLength()));
CHECK_EQ(my_data, ab3->Data());
env->Global()->Set(v8_str("ab3"), ab3);
- result = CompileRun("var u8_b = new __Uint8Array(ab3);"
+ result = CompileRun("var u8_b = new Uint8Array(ab3);"
"u8_b[0] = 0xBB;"
"u8_b[1] = 0xCC;"
"u8_b.length");

Powered by Google App Engine
This is Rietveld 408576698