fix: enable wasm trap handlers in all Node.js processes (#48837)
* fix: enable wasm trap handlers in all Node.js processes Co-authored-by: deepak1556 <hop2deep@gmail.com> * fix: separate registrations to account for featurelist init Co-authored-by: deepak1556 <hop2deep@gmail.com> * build: add missing header for SetStackDumpFirstChanceCallback * fix: pdf spec delay load pdfjs-dist which compiles wasm on load, trap handlers will be initialized once the user script starts but before app#ready. --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
parent
108a26a0f9
commit
d62c324567
6 changed files with 76 additions and 50 deletions
|
|
@ -30,6 +30,8 @@ v8::Local<v8::Value> DeserializeV8Value(v8::Isolate* isolate,
|
|||
v8::Local<v8::Value> DeserializeV8Value(v8::Isolate* isolate,
|
||||
base::span<const uint8_t> data);
|
||||
|
||||
void SetUpWebAssemblyTrapHandler();
|
||||
|
||||
namespace util {
|
||||
|
||||
[[nodiscard]] base::span<uint8_t> as_byte_span(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue