Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 4837cffe75c2f9a0206cc23a01404577e017ccbf..7d251f2a754ed578149bb766e5e7821a1923b3e1 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -21719,8 +21719,8 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("JSON.stringify(other)"); |
CheckCorrectThrow("has_own_property(other, 'x')"); |
CheckCorrectThrow("%GetProperty(other, 'x')"); |
- CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 1, 0)"); |
- CheckCorrectThrow("%IgnoreAttributesAndSetProperty(other, 'x', 'foo')"); |
+ CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)"); |
+ CheckCorrectThrow("%AddProperty(other, 'x', 'foo', 1)"); |
CheckCorrectThrow("%DeleteProperty(other, 'x', 0)"); |
CheckCorrectThrow("%DeleteProperty(other, '1', 0)"); |
CheckCorrectThrow("%HasOwnProperty(other, 'x')"); |
@@ -21730,7 +21730,7 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%GetPropertyNames(other)"); |
// PROPERTY_ATTRIBUTES_NONE = 0 |
CheckCorrectThrow("%GetOwnPropertyNames(other, 0)"); |
- CheckCorrectThrow("%DefineOrRedefineAccessorProperty(" |
+ CheckCorrectThrow("%DefineAccessorPropertyUnchecked(" |
"other, 'x', null, null, 1)"); |
// Reset the failed access check callback so it does not influence |