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

Issue 1580823002: [defineProperty] Fix non-throwing access check failure (Closed)

Created:
4 years, 11 months ago by Jakob Kummerow
Modified:
4 years, 11 months ago
Reviewers:
neis
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[defineProperty] Fix non-throwing access check failure ReportFailedAccessCheck() sometimes doesn't throw an exception (it's up to the embedder). Pretend that OrdinaryDefineOwnProperty() succeeded in that case. This is consistent with existing behavior of other methods: - JSObject::DefineOwnPropertyIgnoreAttributes - JSObject::SetPropertyWithFailedAccessCheck - Object::SetPropertyWithAccessor See also commit f66c3f5c356583e0f8e1bab7e6ff1eed86d2d1aa. BUG=chromium:574217 LOG=n R=neis@chromium.org Committed: https://crrev.com/70b7400138f0bffd8fb676c0b9a97424c9e41008 Cr-Commit-Position: refs/heads/master@{#33262}

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -4 lines) Patch
M src/objects.cc View 1 4 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Jakob Kummerow
PTAL. Unfortunately the repro requires content_shell and is flaky there, so I don't have a ...
4 years, 11 months ago (2016-01-12 17:47:40 UTC) #1
neis
https://codereview.chromium.org/1580823002/diff/1/src/objects.cc File src/objects.cc (left): https://codereview.chromium.org/1580823002/diff/1/src/objects.cc#oldcode15545 src/objects.cc:15545: UNREACHABLE(); Did you check if we can RETURN_FAILURE here ...
4 years, 11 months ago (2016-01-13 08:54:18 UTC) #2
Jakob Kummerow
https://codereview.chromium.org/1580823002/diff/1/src/objects.cc File src/objects.cc (left): https://codereview.chromium.org/1580823002/diff/1/src/objects.cc#oldcode15545 src/objects.cc:15545: UNREACHABLE(); On 2016/01/13 08:54:17, neis wrote: > Did you ...
4 years, 11 months ago (2016-01-13 12:59:48 UTC) #3
neis
lgtm
4 years, 11 months ago (2016-01-13 13:01:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580823002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580823002/20001
4 years, 11 months ago (2016-01-13 13:01:23 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-13 13:29:05 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-13 13:30:04 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/70b7400138f0bffd8fb676c0b9a97424c9e41008
Cr-Commit-Position: refs/heads/master@{#33262}

Powered by Google App Engine
This is Rietveld 408576698