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

Issue 2034083002: Don't compile functions in a context the caller doesn't have access to (Closed)

Created:
4 years, 6 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 5 months ago
CC:
Paweł Hajdan Jr., 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

Don't compile functions in a context the caller doesn't have access to Instead just return undefined A side effect of this is that it's no longer possible to compile functions in a detached context. BUG=chromium:541703 R=verwaest@chromium.org,bmeurer@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng Committed: https://crrev.com/992e34c21635b179a993b82ac1d81753e7a6a57a Cr-Commit-Position: refs/heads/master@{#37657}

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

Total comments: 1

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : updates #

Patch Set 8 : updates #

Patch Set 9 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -15 lines) Patch
M include/v8.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M src/builtins.cc View 1 2 3 4 5 6 7 8 6 chunks +26 lines, -15 lines 0 comments Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 5 6 7 2 chunks +76 lines, -0 lines 0 comments Download
M test/mjsunit/cross-realm-filtering.js View 1 2 3 4 5 6 2 chunks +76 lines, -0 lines 0 comments Download
M test/mjsunit/es6/reflect-construct.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (21 generated)
jochen (gone - plz use gerrit)
4 years, 6 months ago (2016-06-03 13:35:35 UTC) #1
jochen (gone - plz use gerrit)
On 2016/06/03 at 13:35:35, jochen wrote: > old cl here for reference: https://codereview.chromium.org/1393713006
4 years, 6 months ago (2016-06-03 13:44:52 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034083002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034083002/60001
4 years, 6 months ago (2016-06-03 14:00:51 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/240868)
4 years, 6 months ago (2016-06-03 16:16:53 UTC) #7
Toon Verwaest
As discussed offline, by now not walking across the first JS-exit frame seems very easy ...
4 years, 6 months ago (2016-06-06 14:59:51 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2034083002/80001
4 years, 5 months ago (2016-06-29 12:22:11 UTC) #10
jochen (gone - plz use gerrit)
let's revisit this. I think it's difficult / impossible to make this 100% perfect, as ...
4 years, 5 months ago (2016-06-29 12:26:55 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/254696)
4 years, 5 months ago (2016-06-29 15:38:56 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2034083002/100001
4 years, 5 months ago (2016-07-05 14:23:39 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-05 15:57:49 UTC) #17
Toon Verwaest
I don't think that's true though. E.g., the following would still just work: new Proxy(crossOriginFunction.constructor, ...
4 years, 5 months ago (2016-07-07 11:29:19 UTC) #18
commit-bot: I haz the power
There were warnings when CQ was processing your CL: * CQ_EXTRA_TRYBOTS flag is deprecated and ...
4 years, 5 months ago (2016-07-08 12:09:30 UTC) #21
jochen (gone - plz use gerrit)
ptal i changed the logic to walk the entire stack until the embedder last entered ...
4 years, 5 months ago (2016-07-08 12:30:22 UTC) #23
Toon Verwaest
That sounds like a good idea. On that note: can't you just look at the ...
4 years, 5 months ago (2016-07-08 19:47:11 UTC) #26
jochen (gone - plz use gerrit)
On 2016/07/08 at 19:47:11, verwaest wrote: > That sounds like a good idea. On that ...
4 years, 5 months ago (2016-07-11 11:26:40 UTC) #27
Toon Verwaest
lgtm, yay :) do you still need the --restricted-realms thing? I'd prefer to have it ...
4 years, 5 months ago (2016-07-11 14:46:39 UTC) #30
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/2034083002/140001
4 years, 5 months ago (2016-07-11 18:40:57 UTC) #34
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/2034083002/160001
4 years, 5 months ago (2016-07-11 18:43:16 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 5 months ago (2016-07-11 20:11:14 UTC) #39
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 20:11:16 UTC) #40
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/992e34c21635b179a993b82ac1d81753e7a6a57a Cr-Commit-Position: refs/heads/master@{#37657}
4 years, 5 months ago (2016-07-11 20:12:05 UTC) #42
adamk
4 years, 5 months ago (2016-07-14 01:34:22 UTC) #43
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.chromium.org/2148163002/ by adamk@chromium.org.

The reason for reverting is: Causes crashes on Canary.

Powered by Google App Engine
This is Rietveld 408576698