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

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

Issue 1929293002: Revert of Remove more dead code after Object.observe removal (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/mjsunit/regress/regress-1240.js » ('j') | 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 6035f52fb5613487f69450029893e474bf619598..a6d1de705aca385323251e0d3fd46f70fda25dde 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -16141,12 +16141,11 @@
"ext_array[3];");
CHECK_EQ(33, result->Int32Value(context).FromJust());
- result = CompileRun(
- "ext_array[0] = 10; ext_array[1] = 11;"
- "ext_array[2] = 12; ext_array[3] = 13;"
- "try { ext_array.__defineGetter__('2',"
- "function() { return 120; }); } catch(e) {};"
- "ext_array[2];");
+ result = CompileRun("ext_array[0] = 10; ext_array[1] = 11;"
+ "ext_array[2] = 12; ext_array[3] = 13;"
+ "ext_array.__defineGetter__('2',"
+ "function() { return 120; });"
+ "ext_array[2];");
CHECK_EQ(12, result->Int32Value(context).FromJust());
result = CompileRun("var js_array = new Array(40);"
« no previous file with comments | « src/runtime/runtime-object.cc ('k') | test/mjsunit/regress/regress-1240.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698