| 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);"
|
|
|