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

Issue 22990003: Add RemovePrototype to FunctionTemplate (Closed)

Created:
7 years, 4 months ago by arv (Not doing code reviews)
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add RemovePrototype to FunctionTemplate This allows functions created from a FunctionTemplate to not have a prototype property, which is required by DOM methods. R=mstarzinger@chromium.org BUG=chromium:272440 Committed: http://code.google.com/p/v8/source/detail?r=16341

Patch Set 1 #

Total comments: 1

Patch Set 2 : Test that function throws when constructed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -16 lines) Patch
M include/v8.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/api.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download
M src/apinatives.js View 1 chunk +19 lines, -15 lines 0 comments Download
M src/macros.py View 1 chunk +2 lines, -1 line 0 comments Download
M src/objects.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
arv (Not doing code reviews)
Hi Dan, I'm not sure who is the best person to review FunctionTemplate changes. If ...
7 years, 4 months ago (2013-08-13 23:11:12 UTC) #1
dcarney
On 2013/08/13 23:11:12, arv wrote: > Hi Dan, > > I'm not sure who is ...
7 years, 4 months ago (2013-08-14 19:39:31 UTC) #2
arv (Not doing code reviews)
On 2013/08/14 19:39:31, dcarney wrote: > On 2013/08/13 23:11:12, arv wrote: > > Hi Dan, ...
7 years, 4 months ago (2013-08-14 20:26:38 UTC) #3
Michael Starzinger
LGTM if one comment if addressed. https://codereview.chromium.org/22990003/diff/1/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/22990003/diff/1/test/cctest/test-api.cc#newcode9532 test/cctest/test-api.cc:9532: CHECK(!CompileRun("'prototype' in fun")->BooleanValue()); ...
7 years, 4 months ago (2013-08-15 08:49:24 UTC) #4
arv (Not doing code reviews)
Thanks Michael, I've expended the test to ensure that the function throws when constructed. Do ...
7 years, 4 months ago (2013-08-15 13:18:35 UTC) #5
Michael Starzinger
Yes, I will land this as soon as our tree is open again.
7 years, 4 months ago (2013-08-16 07:41:00 UTC) #6
arv (Not doing code reviews)
On 2013/08/16 07:41:00, Michael Starzinger wrote: > Yes, I will land this as soon as ...
7 years, 3 months ago (2013-08-26 16:43:47 UTC) #7
Michael Starzinger
7 years, 3 months ago (2013-08-26 17:40:15 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r16341 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698