summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-06-02 16:46:13 +0200
committerAnna Henningsen <anna@addaleax.net>2019-06-10 15:22:54 +0200
commit7bd2a3fcb407970babc88650ff030526ccf79f9f (patch)
tree3ab4bfd93ed57c3894f3680fbdbb7d734c6c1277 /src/env.h
parent55de20999b8b60a7ef889ea0d9573e9f271e1d17 (diff)
downloadandroid-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 54442738bf..fb54f5ee99 100644
--- a/src/env.h
+++ b/src/env.h
@@ -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") \