Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Issue 9425048: Enable test-api/TurnOnAccessCheckAndRecompile and change it so it can't cause a GC. (Closed)

Created:
8 years, 10 months ago by fschneider
Modified:
8 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Enable test-api/TurnOnAccessCheckAndRecompile and change it so it can't cause a GC. A GC in the access check callbacks NamedSecurityCallback and IndexedSecurityCallback violates the contract about these callbacks. Added a EXTERNAL VMState scope around the call to FailedAccessCheckCallback to be consistent with the other callback invocations. BUG=v8:1952 TEST=cctest/test-api/TurnOnAccessCheckAndRecompile Committed: https://code.google.com/p/v8/source/detail?r=10764

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -16 lines) Patch
M src/isolate.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M test/cctest/cctest.status View 1 chunk +0 lines, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +8 lines, -9 lines 6 comments Download

Messages

Total messages: 3 (0 generated)
fschneider
8 years, 10 months ago (2012-02-20 13:01:49 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM with comments addressed. https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc#newcode11053 test/cctest/test-api.cc:11053: const char* a = "a"; ...
8 years, 10 months ago (2012-02-20 14:28:13 UTC) #2
fschneider
8 years, 10 months ago (2012-02-22 11:27:50 UTC) #3
https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc
File test/cctest/test-api.cc (right):

https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc...
test/cctest/test-api.cc:11053: const char* a = "a";
On 2012/02/20 14:28:13, Vyacheslav Egorov wrote:
> static const char* kPropertyA

Done.

https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc...
test/cctest/test-api.cc:11054: const char* h = "h";
On 2012/02/20 14:28:13, Vyacheslav Egorov wrote:
> static const char* kPropertyB

Done.

https://chromiumcodereview.appspot.com/9425048/diff/1/test/cctest/test-api.cc...
test/cctest/test-api.cc:11063: return !(strcmp(a, buf) == 0 || strcmp(h, buf) ==
0);
On 2012/02/20 14:28:13, Vyacheslav Egorov wrote:
> ->IsEqualTo(CStrVector(kPropertyA))
> 
> ?

Done.

Powered by Google App Engine
This is Rietveld 408576698