Index: test/cctest/test-api.cc |
=================================================================== |
--- test/cctest/test-api.cc (revision 8272) |
+++ test/cctest/test-api.cc (working copy) |
@@ -3039,8 +3039,7 @@ |
result = script_define->Run(); |
CHECK(try_catch.HasCaught()); |
String::AsciiValue exception_value(try_catch.Exception()); |
- CHECK_EQ(*exception_value, |
- "TypeError: Cannot redefine property: defineProperty"); |
+ CHECK_EQ(*exception_value, "TypeError: Cannot redefine property: x"); |
} |
THREADED_TEST(DefinePropertyOnDefineGetterSetter) { |
@@ -3085,8 +3084,7 @@ |
result = script_define->Run(); |
CHECK(try_catch.HasCaught()); |
String::AsciiValue exception_value(try_catch.Exception()); |
- CHECK_EQ(*exception_value, |
- "TypeError: Cannot redefine property: defineProperty"); |
+ CHECK_EQ(*exception_value, "TypeError: Cannot redefine property: x"); |
} |
@@ -3204,8 +3202,7 @@ |
"{get: function() { return 'func'; }})"); |
CHECK(try_catch.HasCaught()); |
String::AsciiValue exception_value(try_catch.Exception()); |
- CHECK_EQ(*exception_value, |
- "TypeError: Cannot redefine property: defineProperty"); |
+ CHECK_EQ(*exception_value, "TypeError: Cannot redefine property: x"); |
} |
{ |
v8::TryCatch try_catch; |
@@ -3213,8 +3210,7 @@ |
"{get: function() { return 'func'; }})"); |
CHECK(try_catch.HasCaught()); |
String::AsciiValue exception_value(try_catch.Exception()); |
- CHECK_EQ(*exception_value, |
- "TypeError: Cannot redefine property: defineProperty"); |
+ CHECK_EQ(*exception_value, "TypeError: Cannot redefine property: x"); |
} |
} |