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

Issue 1218553004: Change d8 Worker API so it takes a string instead of a function. (Closed)

Created:
5 years, 5 months ago by binji
Modified:
5 years, 5 months ago
Reviewers:
Jarin
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Change d8 Worker API so it takes a string instead of a function. This is more consistent with the DOM API, and is clearer w.r.t. which values are available in the lexical environment of the Worker. BUG=chromium:497295 R=jarin@chromium.org LOG=n Committed: https://crrev.com/ffa6b5fe6c7a69915141e23dcbfb727e15611d2c Cr-Commit-Position: refs/heads/master@{#29426}

Patch Set 1 #

Patch Set 2 : fix 504729 #

Total comments: 4

Patch Set 3 : use template strings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -133 lines) Patch
M src/d8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/d8.cc View 3 chunks +15 lines, -19 lines 0 comments Download
M test/mjsunit/d8-worker.js View 1 2 3 chunks +60 lines, -62 lines 0 comments Download
M test/mjsunit/d8-worker-sharedarraybuffer.js View 1 2 1 chunk +14 lines, -17 lines 0 comments Download
M test/mjsunit/d8-worker-spawn-worker.js View 1 2 1 chunk +8 lines, -14 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-503578.js View 1 chunk +1 line, -4 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-503698.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-503968.js View 1 chunk +1 line, -3 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-503991.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-504136.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-504727.js View 1 chunk +1 line, -2 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-504729.js View 1 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/regress-crbug-505778.js View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
binji
PTAL Feel free to land if y'all decide that you prefer it this way. :)
5 years, 5 months ago (2015-06-30 20:44:58 UTC) #1
Jarin
lgtm once you fix the comment in d8-worker-sharedarraybuffer.js. https://codereview.chromium.org/1218553004/diff/20001/test/mjsunit/d8-worker-sharedarraybuffer.js File test/mjsunit/d8-worker-sharedarraybuffer.js (right): https://codereview.chromium.org/1218553004/diff/20001/test/mjsunit/d8-worker-sharedarraybuffer.js#newcode42 test/mjsunit/d8-worker-sharedarraybuffer.js:42: // ...
5 years, 5 months ago (2015-07-01 07:35:44 UTC) #2
Jarin
lgtm once you fix the comment in d8-worker-sharedarraybuffer.js.
5 years, 5 months ago (2015-07-01 07:35:47 UTC) #3
binji
https://codereview.chromium.org/1218553004/diff/20001/test/mjsunit/d8-worker-sharedarraybuffer.js File test/mjsunit/d8-worker-sharedarraybuffer.js (right): https://codereview.chromium.org/1218553004/diff/20001/test/mjsunit/d8-worker-sharedarraybuffer.js#newcode42 test/mjsunit/d8-worker-sharedarraybuffer.js:42: // Atomically update ta[0]\n" On 2015/07/01 at 07:35:43, jarin ...
5 years, 5 months ago (2015-07-01 16:13:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218553004/40001
5 years, 5 months ago (2015-07-01 16:39:56 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 5 months ago (2015-07-01 16:41:54 UTC) #8
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 16:42:06 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ffa6b5fe6c7a69915141e23dcbfb727e15611d2c
Cr-Commit-Position: refs/heads/master@{#29426}

Powered by Google App Engine
This is Rietveld 408576698