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

Issue 2670833008: Expose more %ArrayPrototype% functions to the public API. (Closed)

Created:
3 years, 10 months ago by Raphael Kubo da Costa (rakuco)
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Expose more %ArrayPrototype% functions to the public API. In addition to Array.prototype.values() which is already exposed, Blink needs access to entries(), forEach() and keys() to properly set the corresponding functions in value iterators for WebIDL conformance. Add a few new entries to NATIVE_CONTEXT_IMPORTED_FIELDS and expand V8_INTRINSICS_LIST, as well as some API tests for all these new exposed functions. BUG=chromium:632935 R=caitp@igalia.com,jochen@chromium.org,verwaest@chromium.org,yukishiino@chromium.org Review-Url: https://codereview.chromium.org/2670833008 Cr-Commit-Position: refs/heads/master@{#43017} Committed: https://chromium.googlesource.com/v8/v8/+/e7b78ac22937f994d35376b38416a5844d6beced

Patch Set 1 #

Patch Set 2 : Rebased patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -11 lines) Patch
M include/v8.h View 1 1 chunk +5 lines, -2 lines 0 comments Download
M src/contexts.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/js/array.js View 1 5 chunks +21 lines, -8 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +55 lines, -1 line 0 comments Download

Messages

Total messages: 24 (11 generated)
Raphael Kubo da Costa (rakuco)
PTAL. This is the V8 side of the required changes to make entries(), forEach(), keys() ...
3 years, 10 months ago (2017-02-03 16:13:17 UTC) #1
caitp
On 2017/02/03 16:13:17, Raphael Kubo da Costa (rakuco) wrote: > PTAL. > > This is ...
3 years, 10 months ago (2017-02-03 16:28:32 UTC) #2
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-04 18:14:29 UTC) #4
Yuki
LGTM!! This is great especially because Array.forEach, etc. are much faster than Blink's iterators.
3 years, 10 months ago (2017-02-06 08:12:20 UTC) #5
Raphael Kubo da Costa (rakuco)
CC'ing a few more src/js owners in case Toon isn't around.
3 years, 10 months ago (2017-02-06 10:42:39 UTC) #7
Raphael Kubo da Costa (rakuco)
+bmeurer, cbruni I'd really appreciate it if someone could take a look at the changes ...
3 years, 10 months ago (2017-02-07 11:08:45 UTC) #9
Jakob Kummerow
lgtm
3 years, 10 months ago (2017-02-07 19:23:59 UTC) #10
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/2670833008/1
3 years, 10 months ago (2017-02-07 19:49:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/16528) v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 19:50:54 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/2670833008/20001
3 years, 10 months ago (2017-02-07 19:53:34 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/12634) v8_linux64_gyp_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 20:13:49 UTC) #19
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/2670833008/20001
3 years, 10 months ago (2017-02-07 21:17:04 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 21:42:16 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/e7b78ac22937f994d35376b38416a5844d6...

Powered by Google App Engine
This is Rietveld 408576698