diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-06-02 16:46:13 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-06-10 15:22:54 +0200 |
commit | 7bd2a3fcb407970babc88650ff030526ccf79f9f (patch) | |
tree | 3ab4bfd93ed57c3894f3680fbdbb7d734c6c1277 /src/env.h | |
parent | 55de20999b8b60a7ef889ea0d9573e9f271e1d17 (diff) | |
download | android-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.tar.gz android-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.tar.bz2 android-node-v8-7bd2a3fcb407970babc88650ff030526ccf79f9f.zip |
worker: use DataCloneError for unknown native objects
This aligns the behaviour better with the web.
PR-URL: https://github.com/nodejs/node/pull/28025
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -158,6 +158,7 @@ constexpr size_t kFsStatsBufferLength = kFsStatsFieldsNumber * 2; V(change_string, "change") \ V(channel_string, "channel") \ V(chunks_sent_since_last_write_string, "chunksSentSinceLastWrite") \ + V(clone_unsupported_type_str, "Cannot transfer object of unsupported type.") \ V(code_string, "code") \ V(commonjs_string, "commonjs") \ V(config_string, "config") \ |