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

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

Created:
4 years, 5 months ago by jochen (gone - plz use gerrit)
Modified:
4 years, 5 months ago
Reviewers:
Toon Verwaest
CC:
Michael Hablich, 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

Reland "Don't compile functions in a context the caller doesn't have access to" Original issue's 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 BUG=chromium:541703 R=verwaest@chromium.org Committed: https://crrev.com/6bceabac5b705b2ce1f52d34650cea1ae3b8c617 Cr-Commit-Position: refs/heads/master@{#37756}

Patch Set 1 #

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

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

Messages

Total messages: 23 (14 generated)
jochen (gone - plz use gerrit)
ptal
4 years, 5 months ago (2016-07-14 09:19:42 UTC) #4
jochen (gone - plz use gerrit)
note that d8 handily always enters a context before doing anything, while blink doesn't enter ...
4 years, 5 months ago (2016-07-14 09:20:43 UTC) #6
Toon Verwaest
lgtm
4 years, 5 months ago (2016-07-14 09:56:27 UTC) #11
jochen (gone - plz use gerrit)
added a check for entered context == target context for the case of blink code ...
4 years, 5 months ago (2016-07-14 10:43:16 UTC) #14
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/2143893005/60001
4 years, 5 months ago (2016-07-14 11:05:51 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-14 11:08:11 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 11:08:12 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6bceabac5b705b2ce1f52d34650cea1ae3b8c617 Cr-Commit-Position: refs/heads/master@{#37756}
4 years, 5 months ago (2016-07-14 11:08:57 UTC) #22
jochen (gone - plz use gerrit)
4 years, 5 months ago (2016-07-14 12:37:02 UTC) #23
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2151843002/ by jochen@chromium.org.

The reason for reverting is: blink is unhappy about the microtask change.

Powered by Google App Engine
This is Rietveld 408576698