Remove access-check-failed callback after test.

BUG=v8:2848
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/22802013

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
yangguo@chromium.org 2013-08-20 10:46:02 +00:00
parent 1a560b1a5e
commit 479935bc62

View File

@ -20171,6 +20171,10 @@ TEST(AccessCheckThrows) {
CheckCorrectThrow("%GetLocalPropertyNames(other, true)");
CheckCorrectThrow("%DefineOrRedefineAccessorProperty("
"other, 'x', null, null, 1)");
// Reset the failed access check callback so it does not influence
// the other tests.
v8::V8::SetFailedAccessCheckCallbackFunction(NULL);
}
#endif // WIN32