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

Issue 2702123002: Always early return from HandleApiCallHelper on access check failure. (Closed)

Created:
3 years, 10 months ago by dcheng
Modified:
3 years, 10 months ago
CC:
haraken, v8-reviews_googlegroups.com, Yuki
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Always early return from HandleApiCallHelper on access check failure. BUG=693695 Review-Url: https://codereview.chromium.org/2702123002 Cr-Commit-Position: refs/heads/master@{#43309} Committed: https://chromium.googlesource.com/v8/v8/+/db624fc4d7a210af88b32ecce46bc83699b96a5c

Patch Set 1 #

Patch Set 2 : Fixed test #

Patch Set 3 : Throw exception and fix deprecated method usage #

Patch Set 4 : Fix more deprecated stuff. #

Patch Set 5 : Return undefined for now #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -0 lines) Patch
M src/builtins/builtins-api.cc View 3 4 1 chunk +1 line, -0 lines 0 comments Download
M test/unittests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A test/unittests/api/access-check-unittest.cc View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
dcheng
Here's the basic idea, but the unit test doesn't work yet (I guess I'm not ...
3 years, 10 months ago (2017-02-19 12:02:45 UTC) #2
dcheng
Now with a working test (thanks to +yukishiino who pointed out that I forgot to ...
3 years, 10 months ago (2017-02-20 06:15:20 UTC) #3
jochen (gone - plz use gerrit)
can you fix runtime-classes.cc as well while you're at it? Why do you throw instead ...
3 years, 10 months ago (2017-02-20 09:26:17 UTC) #16
dcheng
On 2017/02/20 09:26:17, jochen wrote: > can you fix runtime-classes.cc as well while you're at ...
3 years, 10 months ago (2017-02-20 09:28:17 UTC) #17
dcheng
I changed it back to return undefined for now. I'll poke at the Blink/v8 differences ...
3 years, 10 months ago (2017-02-20 09:42:02 UTC) #20
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-20 09:43:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2702123002/80001
3 years, 10 months ago (2017-02-20 10:05:29 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-20 10:07:15 UTC) #28
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/db624fc4d7a210af88b32ecce46bc83699b...

Powered by Google App Engine
This is Rietveld 408576698