Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index ecceb81943a97eec2f772c80754cc5c54d067ee5..dad5d6caf5ca1e79d4e2924b998ce52b818c89c3 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -19293,8 +19293,10 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%GetProperty(other, 'x')"); |
CheckCorrectThrow("%SetProperty(other, 'x', 'foo', 0)"); |
CheckCorrectThrow("%AddNamedProperty(other, 'x', 'foo', 1)"); |
- CheckCorrectThrow("%DeleteProperty(other, 'x', 0)"); |
- CheckCorrectThrow("%DeleteProperty(other, '1', 0)"); |
+ CheckCorrectThrow("%DeleteProperty_Sloppy(other, 'x')"); |
+ CheckCorrectThrow("%DeleteProperty_Strict(other, 'x')"); |
+ CheckCorrectThrow("%DeleteProperty_Sloppy(other, '1')"); |
+ CheckCorrectThrow("%DeleteProperty_Strict(other, '1')"); |
CheckCorrectThrow("%HasOwnProperty(other, 'x')"); |
CheckCorrectThrow("%HasProperty(other, 'x')"); |
CheckCorrectThrow("%HasElement(other, 1)"); |