Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 70580d1debe782ce833fbb94c9c06fa8326428ec..313b79402a519cc9dbfffbfa7c3829f704541bdf 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -9130,16 +9130,6 @@ TEST(AccessControl) { |
"Object.getOwnPropertyDescriptor(other, 'blocked_prop')"); |
ExpectFalse("propertyIsEnumerable.call(other, 'blocked_prop')"); |
- // Enable ACCESS_HAS |
- allowed_access_type[v8::ACCESS_HAS] = true; |
- ExpectUndefined("other.blocked_prop"); |
- // ... and now we can get the descriptor... |
- ExpectUndefined( |
- "Object.getOwnPropertyDescriptor(other, 'blocked_prop').value"); |
- // ... and enumerate the property. |
- ExpectTrue("propertyIsEnumerable.call(other, 'blocked_prop')"); |
- allowed_access_type[v8::ACCESS_HAS] = false; |
- |
// Access blocked element. |
CompileRun("other[239] = 1"); |