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

Issue 2715593002: Don't mark remote contexts as callable. (Closed)

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

Description

Don't mark remote contexts as callable or constructible. Marking it as callable makes typeof return 'function' instead of 'object' when invoked on a remote context or object. BUG=chromium:527190 Review-Url: https://codereview.chromium.org/2715593002 Cr-Commit-Position: refs/heads/master@{#43416} Committed: https://chromium.googlesource.com/v8/v8/+/e5f89fa5aed7aabaa8f3482236bd8c36f74a752c

Patch Set 1 #

Patch Set 2 : hmm #

Total comments: 1

Patch Set 3 : More tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -5 lines) Patch
M src/api-natives.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M src/bootstrapper.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M test/unittests/api/remote-object-unittest.cc View 1 2 1 chunk +26 lines, -1 line 0 comments Download

Messages

Total messages: 20 (14 generated)
dcheng
So I don't think I can land this, but this is blocking the Blink remote ...
3 years, 10 months ago (2017-02-23 01:38:57 UTC) #6
dcheng
https://codereview.chromium.org/2715593002/diff/20001/src/bootstrapper.cc File src/bootstrapper.cc (left): https://codereview.chromium.org/2715593002/diff/20001/src/bootstrapper.cc#oldcode4962 src/bootstrapper.cc:4962: global_proxy_map->set_is_constructor(true); So I tried a crazier version of this ...
3 years, 10 months ago (2017-02-23 09:41:44 UTC) #8
dcheng
OK, PTAL. I thought my CL was causing https://bugs.chromium.org/p/v8/issues/detail?id=6009, but it turns out to have ...
3 years, 10 months ago (2017-02-24 02:43:36 UTC) #12
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-24 15:58:49 UTC) #15
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/2715593002/40001
3 years, 10 months ago (2017-02-24 16:06:35 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 16:08:17 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/e5f89fa5aed7aabaa8f3482236bd8c36f74...

Powered by Google App Engine
This is Rietveld 408576698