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

Issue 2449163004: Allow immutable prototype templates to inherit (Closed)

Created:
4 years, 1 month ago by Dan Ehrenberg
Modified:
4 years, 1 month ago
Reviewers:
adamk, Toon Verwaest
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Allow immutable prototype templates to inherit To enable the global object prototype chain to be frozen, all objects in the chain need to be marked as immutable prototype exotic objects. However, a bug in the previous implementation of immutable prototype exotic objects left the check in place when initially setting up the object, which made it impossible to allow inheritance chains. This patch removes that mistaken check. BUG=v8:5149 Committed: https://crrev.com/baf0ec31ec8c16156f3808cc31fd980ac05b109a Cr-Commit-Position: refs/heads/master@{#40702}

Patch Set 1 #

Patch Set 2 : Fix up test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -3 lines) Patch
M src/api-natives.cc View 1 chunk +1 line, -3 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Dan Ehrenberg
4 years, 1 month ago (2016-10-26 19:45:53 UTC) #4
Dan Ehrenberg
Is it valid to skip the checks this way? I don't see any that should ...
4 years, 1 month ago (2016-10-26 20:23:33 UTC) #11
adamk
Anything that says "ForceSet" makes my spine tingle a little. Adding verwaest@, lord of all ...
4 years, 1 month ago (2016-10-27 08:06:07 UTC) #13
Toon Verwaest
This is exactly the right thing to do: manual setup from api/bootstrapper shouldn't be doing ...
4 years, 1 month ago (2016-10-28 14:07:37 UTC) #14
Toon Verwaest
lgtm
4 years, 1 month ago (2016-10-28 14:07:46 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/2449163004/20001
4 years, 1 month ago (2016-11-02 13:33:32 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-02 13:59:08 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:19:30 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/baf0ec31ec8c16156f3808cc31fd980ac05b109a
Cr-Commit-Position: refs/heads/master@{#40702}

Powered by Google App Engine
This is Rietveld 408576698