Commit 479935bc authored by yangguo@chromium.org's avatar yangguo@chromium.org

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
parent 1a560b1a
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment