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

Issue 2646713002: [wasm] Enable content policy for wasm compilation. (Closed)

Created:
3 years, 11 months ago by Mircea Trofin
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com, Toon Verwaest, vogelheim
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Enable content policy for wasm compilation. Make wasm code generation (including deserialization) aware of allow_codegen_callback - if one were set by the host - akin to what we do for `eval`. This allows web pages that opt out of unsafe-eval to also opt out of wasm scenarios. BUG=v8:5869 Review-Url: https://codereview.chromium.org/2646713002 Cr-Commit-Position: refs/heads/master@{#42519} Committed: https://chromium.googlesource.com/v8/v8/+/5e44cc79d54194267197fbe42e9a8b5e2b4d0249

Patch Set 1 #

Patch Set 2 : RuntimeError->TypeError #

Patch Set 3 : CompileError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -12 lines) Patch
M src/snapshot/code-serializer.cc View 1 chunk +5 lines, -1 line 0 comments Download
M src/wasm/wasm-module.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 4 chunks +49 lines, -11 lines 0 comments Download

Messages

Total messages: 35 (23 generated)
Mircea Trofin
Andreas - does throwing RuntimeError make sense in the case when the host disables code ...
3 years, 11 months ago (2017-01-19 16:23:56 UTC) #12
Yang
src/snapshot lgtm
3 years, 11 months ago (2017-01-19 16:34:45 UTC) #15
rossberg
> Andreas - does throwing RuntimeError make sense in the case when the host > ...
3 years, 11 months ago (2017-01-19 16:39:18 UTC) #16
Mircea Trofin
RuntimeError -> TypeError
3 years, 11 months ago (2017-01-19 16:41:38 UTC) #19
Yang
On 2017/01/19 16:41:38, Mircea Trofin wrote: > RuntimeError -> TypeError jfyi in the eval case ...
3 years, 11 months ago (2017-01-19 16:43:05 UTC) #20
rossberg
On 2017/01/19 16:43:05, Yang wrote: > On 2017/01/19 16:41:38, Mircea Trofin wrote: > > RuntimeError ...
3 years, 11 months ago (2017-01-19 16:48:01 UTC) #21
Mircea Trofin
On 2017/01/19 16:43:05, Yang wrote: > On 2017/01/19 16:41:38, Mircea Trofin wrote: > > RuntimeError ...
3 years, 11 months ago (2017-01-19 16:48:19 UTC) #22
Mircea Trofin
*Error -> CompileError
3 years, 11 months ago (2017-01-19 16:49:43 UTC) #25
bradnelson
Wasm part lgtm
3 years, 11 months ago (2017-01-19 17:09:48 UTC) #26
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-19 17:10:13 UTC) #27
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/2646713002/40001
3 years, 11 months ago (2017-01-19 17:28:33 UTC) #32
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 17:30:35 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/5e44cc79d54194267197fbe42e9a8b5e2b4...

Powered by Google App Engine
This is Rietveld 408576698