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

Issue 647010: Added access check to SetNormalizedProperty which is used from runtime Define... (Closed)

Created:
10 years, 10 months ago by Rico
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Added access check to SetNormalizedProperty which is used from runtime DefineOrRedefineDataProperty. Committed: http://code.google.com/p/v8/source/detail?r=3900

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M src/objects.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M src/runtime.cc View 2 3 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Rico
Test (LayoutTest: http/tests/security/xss-DENIED-defineProperty) still fails but with "Unexpected text diff mismatch" (the expected result has ...
10 years, 10 months ago (2010-02-18 11:15:55 UTC) #1
antonm
Drive-by question http://codereview.chromium.org/647010/diff/1/2 File src/objects.cc (right): http://codereview.chromium.org/647010/diff/1/2#newcode420 src/objects.cc:420: if (IsAccessCheckNeeded() && just for my education: ...
10 years, 10 months ago (2010-02-18 11:48:26 UTC) #2
Rico
Anton: You are right - this should be done earlier since it is already done ...
10 years, 10 months ago (2010-02-18 12:59:04 UTC) #3
Mads Ager (chromium)
LGTM http://codereview.chromium.org/647010/diff/1005/10 File src/runtime.cc (right): http://codereview.chromium.org/647010/diff/1005/10#newcode2932 src/runtime.cc:2932: // overridden (and SetProperty does not allow this ...
10 years, 10 months ago (2010-02-18 13:03:42 UTC) #4
Rico
10 years, 10 months ago (2010-02-18 13:09:59 UTC) #5
http://codereview.chromium.org/647010/diff/1005/10
File src/runtime.cc (right):

http://codereview.chromium.org/647010/diff/1005/10#newcode2932
src/runtime.cc:2932: // overridden (and SetProperty does not allow this
On 2010/02/18 13:03:43, Mads Ager wrote:
> Remove '(' and add period at end of comment?

Done.

Powered by Google App Engine
This is Rietveld 408576698