Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index c09a71484f1a0c2660d694ad5c3bf7d2e45ae0b6..ce34d7d29bd768465e5e574db57e029d362a437a 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -8169,9 +8169,9 @@ THREADED_TEST(CrossDomainForIn) { |
" for (var p in obj) {" |
" if (p == 'prop') return false;" |
" }" |
- " return false;" |
- " } catch (e) {" |
" return true;" |
+ " } catch (e) {" |
+ " return false;" |
" }" |
"})()"); |
CHECK(result->IsTrue()); |
@@ -8627,9 +8627,9 @@ TEST(AccessControl) { |
" return false;" |
" }" |
" }" |
- " return false;" |
- " } catch (e) {" |
" return true;" |
+ " } catch (e) {" |
+ " return false;" |
" }" |
"})()"); |
CHECK(value->IsTrue()); |
@@ -19362,7 +19362,6 @@ TEST(AccessCheckThrows) { |
CheckCorrectThrow("%HasProperty(other, 'x')"); |
CheckCorrectThrow("%HasElement(other, 1)"); |
CheckCorrectThrow("%IsPropertyEnumerable(other, 'x')"); |
- CheckCorrectThrow("%GetPropertyNames(other)"); |
// PROPERTY_ATTRIBUTES_NONE = 0 |
CheckCorrectThrow("%GetOwnPropertyNames(other, 0)"); |
CheckCorrectThrow("%DefineAccessorPropertyUnchecked(" |