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

Issue 6883045: Add CallAsFunction method to the Object class in the API (Closed)

Created:
9 years, 8 months ago by Peter Varga
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add CallAsFunction method to the Object class in the API Patch by Peter Varga. BUG=v8:1336 TEST=cctest/test-api/CallAsFunction Committed: http://code.google.com/p/v8/source/detail?r=7781

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add exception handling and some new test cases #

Total comments: 3

Patch Set 3 : Fix failure in debug mode #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -37 lines) Patch
M include/v8.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M src/execution.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/execution.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +98 lines, -37 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Peter Varga
9 years, 8 months ago (2011-04-19 11:34:23 UTC) #1
Mads Ager (chromium)
Adding this makes sense. I haven't seen a need for it yet though. Is this ...
9 years, 7 months ago (2011-04-28 11:53:05 UTC) #2
Peter Varga
We are implementing the QtScript (a JS API for C++) using v8 as the backend. ...
9 years, 7 months ago (2011-05-03 14:54:45 UTC) #3
Mads Ager (chromium)
LGTM. I will address a couple of nits in the tests and land. Thanks for ...
9 years, 7 months ago (2011-05-04 09:28:54 UTC) #4
Mads Ager (chromium)
Actually nevermind about the nits. This is the style used in the rest of the ...
9 years, 7 months ago (2011-05-04 10:02:44 UTC) #5
Mads Ager (chromium)
Reverted this change. The tests fail in debug mode.
9 years, 7 months ago (2011-05-04 10:51:49 UTC) #6
Peter Varga
Remove cast of the Object 'returned' to JSObject in Object::CallAsFunction method.
9 years, 7 months ago (2011-05-04 12:04:39 UTC) #7
Mads Ager (chromium)
9 years, 7 months ago (2011-05-04 12:45:06 UTC) #8
Thanks. I'll reland.

Powered by Google App Engine
This is Rietveld 408576698