Reviewers: verwaest1,
Message:
This solves part of V8 issue 2848. However, running
out/ia32.debug/cctest test-api
crashes with a segfault a few test cases further. I'll address that once I
find
out what causes it.
Description:
Remove access-check-failed callback after test.
BUG=v8:2848
Please review this at https://codereview.chromium.org/22802013/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M test/cctest/test-api.cc
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index
3be500814533e45ee0b6273f45577438fa35019f..1f487470c02573d089faba6df042854805fec8f6
100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -20171,6 +20171,8 @@ TEST(AccessCheckThrows) {
CheckCorrectThrow("%GetLocalPropertyNames(other, true)");
CheckCorrectThrow("%DefineOrRedefineAccessorProperty("
"other, 'x', null, null, 1)");
+
+ v8::V8::SetFailedAccessCheckCallbackFunction(NULL);
}
#endif // WIN32
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.