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

Issue 2642683002: [wasm][asm.js] Store foreign init function for asm.js as internal field. (Closed)

Created:
3 years, 11 months ago by bradnelson
Modified:
3 years, 10 months ago
Reviewers:
titzer, aseemgarg, bradn
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm][asm.js] Store foreign init function for asm.js as internal field. This avoids the foreign globals init function being visible via GetOwnPropertyNames. BUG=681236 R=titzer@chromium.org,aseemgarg@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -11 lines) Patch
M src/asmjs/asm-js.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M src/wasm/wasm-module.cc View 4 chunks +16 lines, -2 lines 0 comments Download
M src/wasm/wasm-objects.h View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/asm/regress-681236.js View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
bradn
PTAL
3 years, 11 months ago (2017-01-18 09:19:54 UTC) #6
titzer
Can't you just make this property non-enumerable, or use a private symbol somehow?
3 years, 11 months ago (2017-01-18 09:37:22 UTC) #7
bradn
Had wondered about using a private symbol, you have comments various places suggesting you'd rather ...
3 years, 11 months ago (2017-01-18 09:50:22 UTC) #8
titzer
On 2017/01/18 09:50:22, bradn wrote: > Had wondered about using a private symbol, you have ...
3 years, 11 months ago (2017-01-18 13:02:07 UTC) #9
bradnelson
This got fixed instead in: https://codereview.chromium.org/2664493002/
3 years, 10 months ago (2017-01-28 23:16:37 UTC) #10
titzer
3 years, 10 months ago (2017-01-29 11:59:34 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698