src: emit warnings from V8 - #24365
Conversation
|
Is it testable? Maybe with a message test? |
addaleax
left a comment
There was a problem hiding this comment.
Would you mind adding the test case from the PR description as a test here?
2375408 to
94e10db
Compare
joyeecheung
left a comment
There was a problem hiding this comment.
It would probably be even better if ProcessEmitWarningGeneric is less generic on the C++ side and we can just do the overload in JS...but anyway LGTM
(off-topic: we have a wasm label? AND a asm.js label? and they are both green?)
The |
94e10db to
6a17bd4
Compare
6a17bd4 to
fc4ec7a
Compare
PR-URL: nodejs#24365 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
fc4ec7a to
e1aa730
Compare
PR-URL: #24365 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #24365 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
|
@devsnek do you think that this can/should be backported to |
asm.js validation is deprecated and disabled by default in V8, so there's no longer a stable user-reachable trigger for `v8::Isolate::kMessageWarning`. Remove the test. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Signed-off-by: Joyee Cheung <[email protected]> PR-URL: #63469 Fixes: nodejs/node-v8#310 Refs: https://issues.chromium.org/issues/510487707 Refs: #24365 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
asm.js validation is deprecated and disabled by default in V8, so there's no longer a stable user-reachable trigger for `v8::Isolate::kMessageWarning`. Remove the test. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Signed-off-by: Joyee Cheung <[email protected]> PR-URL: #63469 Fixes: nodejs/node-v8#310 Refs: https://issues.chromium.org/issues/510487707 Refs: #24365 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
asm.js validation is deprecated and disabled by default in V8, so there's no longer a stable user-reachable trigger for `v8::Isolate::kMessageWarning`. Remove the test. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Signed-off-by: Joyee Cheung <[email protected]> PR-URL: nodejs#63469 Fixes: nodejs/node-v8#310 Refs: https://issues.chromium.org/issues/510487707 Refs: nodejs#24365 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
asm.js validation is deprecated and disabled by default in V8, so there's no longer a stable user-reachable trigger for `v8::Isolate::kMessageWarning`. Remove the test. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Signed-off-by: Joyee Cheung <[email protected]> PR-URL: #63469 Fixes: nodejs/node-v8#310 Refs: https://issues.chromium.org/issues/510487707 Refs: #24365 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/7832184 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]>
Currently the only place V8 does this is asm.js compilation:
In chromium:

Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes