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

Issue 271080: Skip access checks for hidden properties. (Closed)

Created:
11 years, 2 months ago by Vitaly Repeshko
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Skip access checks for hidden properties. Hidden properties are used like internal fields which do not have access checks. The checks can cause problems because there may be no current context. See http://crbug.com/24200. Committed: http://code.google.com/p/v8/source/detail?r=3062

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/top.cc View 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vitaly Repeshko
11 years, 2 months ago (2009-10-13 22:39:56 UTC) #1
Christian Plesner Hansen
Lgtm. I'm not 100% comfortable with the approach of always allowing access through the hidden ...
11 years, 2 months ago (2009-10-14 08:20:37 UTC) #2
Vitaly Repeshko
On 2009/10/14 08:20:37, Christian Plesner Hansen wrote: > Lgtm. > > I'm not 100% comfortable ...
11 years, 2 months ago (2009-10-14 10:27:41 UTC) #3
Christian Plesner Hansen
11 years, 2 months ago (2009-10-14 11:16:23 UTC) #4
> Yes, I would also prefer to have the checks disabled only when called from
> GetHidden functions. To avoid code duplication and map manipulation we could
add
> a parameter to Object::GetProperty* functions, but still it doesn't sound
really
> nice.

I agree -- and we would have to add it to HasLocalProperty too.

Powered by Google App Engine
This is Rietveld 408576698