@@ -110,8 +110,8 @@ struct PackageConfig {
110
110
// for the sake of convenience.
111
111
#define PER_ISOLATE_SYMBOL_PROPERTIES (V ) \
112
112
V (handle_onclose_symbol, " handle_onclose" ) \
113
- V (owner_symbol, " owner" ) \
114
113
V (oninit_symbol, " oninit" ) \
114
+ V (owner_symbol, " owner" ) \
115
115
116
116
// Strings are per-isolate primitives but Environment proxies them
117
117
// for the sake of convenience. Strings should be ASCII-only.
@@ -124,15 +124,14 @@ struct PackageConfig {
124
124
V (bytes_parsed_string, " bytesParsed" ) \
125
125
V (bytes_read_string, " bytesRead" ) \
126
126
V (bytes_written_string, " bytesWritten" ) \
127
- V (cached_data_string, " cachedData" ) \
128
127
V (cached_data_produced_string, " cachedDataProduced" ) \
129
128
V (cached_data_rejected_string, " cachedDataRejected" ) \
129
+ V (cached_data_string, " cachedData" ) \
130
130
V (change_string, " change" ) \
131
131
V (channel_string, " channel" ) \
132
132
V (chunks_sent_since_last_write_string, " chunksSentSinceLastWrite" ) \
133
- V (constants_string, " constants" ) \
134
- V (oncertcb_string, " oncertcb" ) \
135
133
V (code_string, " code" ) \
134
+ V (constants_string, " constants" ) \
136
135
V (cwd_string, " cwd" ) \
137
136
V (dest_string, " dest" ) \
138
137
V (destroyed_string, " destroyed" ) \
@@ -149,14 +148,14 @@ struct PackageConfig {
149
148
V (dns_txt_string, " TXT" ) \
150
149
V (duration_string, " duration" ) \
151
150
V (emit_warning_string, " emitWarning" ) \
152
- V (exchange_string, " exchange" ) \
153
151
V (encoding_string, " encoding" ) \
154
152
V (entries_string, " entries" ) \
155
153
V (entry_type_string, " entryType" ) \
156
154
V (env_pairs_string, " envPairs" ) \
157
155
V (env_var_settings_string, " envVarSettings" ) \
158
156
V (errno_string, " errno" ) \
159
157
V (error_string, " error" ) \
158
+ V (exchange_string, " exchange" ) \
160
159
V (exit_code_string, " exitCode" ) \
161
160
V (expire_string, " expire" ) \
162
161
V (exponent_string, " exponent" ) \
@@ -167,8 +166,8 @@ struct PackageConfig {
167
166
V (fatal_exception_string, " _fatalException" ) \
168
167
V (fd_string, " fd" ) \
169
168
V (file_string, " file" ) \
170
- V (fingerprint_string, " fingerprint" ) \
171
169
V (fingerprint256_string, " fingerprint256" ) \
170
+ V (fingerprint_string, " fingerprint" ) \
172
171
V (flags_string, " flags" ) \
173
172
V (fragment_string, " fragment" ) \
174
173
V (get_data_clone_error_string, " _getDataCloneError" ) \
@@ -183,8 +182,8 @@ struct PackageConfig {
183
182
V (infoaccess_string, " infoAccess" ) \
184
183
V (inherit_string, " inherit" ) \
185
184
V (input_string, " input" ) \
186
- V (internal_string, " internal" ) \
187
185
V (internal_binding_string, " internalBinding" ) \
186
+ V (internal_string, " internal" ) \
188
187
V (ipv4_string, " IPv4" ) \
189
188
V (ipv6_string, " IPv6" ) \
190
189
V (isclosing_string, " isClosing" ) \
@@ -195,9 +194,9 @@ struct PackageConfig {
195
194
V (mac_string, " mac" ) \
196
195
V (main_string, " main" ) \
197
196
V (max_buffer_string, " maxBuffer" ) \
198
- V (message_string, " message" ) \
199
- V (message_port_string, " messagePort" ) \
200
197
V (message_port_constructor_string, " MessagePort" ) \
198
+ V (message_port_string, " messagePort" ) \
199
+ V (message_string, " message" ) \
201
200
V (minttl_string, " minttl" ) \
202
201
V (module_string, " module" ) \
203
202
V (modulus_string, " modulus" ) \
@@ -206,6 +205,7 @@ struct PackageConfig {
206
205
V (nsname_string, " nsname" ) \
207
206
V (ocsp_request_string, " OCSPRequest" ) \
208
207
V (onaltsvc_string, " onaltsvc" ) \
208
+ V (oncertcb_string, " oncertcb" ) \
209
209
V (onchange_string, " onchange" ) \
210
210
V (onclienthello_string, " onclienthello" ) \
211
211
V (oncomplete_string, " oncomplete" ) \
@@ -215,19 +215,19 @@ struct PackageConfig {
215
215
V (onexit_string, " onexit" ) \
216
216
V (onframeerror_string, " onframeerror" ) \
217
217
V (ongetpadding_string, " ongetpadding" ) \
218
+ V (ongoawaydata_string, " ongoawaydata" ) \
218
219
V (onhandshakedone_string, " onhandshakedone" ) \
219
220
V (onhandshakestart_string, " onhandshakestart" ) \
220
221
V (onheaders_string, " onheaders" ) \
221
222
V (onmessage_string, " onmessage" ) \
222
223
V (onnewsession_string, " onnewsession" ) \
223
224
V (onocspresponse_string, " onocspresponse" ) \
224
- V (ongoawaydata_string, " ongoawaydata" ) \
225
225
V (onorigin_string, " onorigin" ) \
226
+ V (onping_string, " onping" ) \
226
227
V (onpriority_string, " onpriority" ) \
227
228
V (onread_string, " onread" ) \
228
229
V (onreadstart_string, " onreadstart" ) \
229
230
V (onreadstop_string, " onreadstop" ) \
230
- V (onping_string, " onping" ) \
231
231
V (onsettings_string, " onsettings" ) \
232
232
V (onshutdown_string, " onshutdown" ) \
233
233
V (onsignal_string, " onsignal" ) \
@@ -237,19 +237,19 @@ struct PackageConfig {
237
237
V (onwrite_string, " onwrite" ) \
238
238
V (openssl_error_stack, " opensslErrorStack" ) \
239
239
V (options_string, " options" ) \
240
- V (output_string, " output" ) \
241
240
V (order_string, " order" ) \
241
+ V (output_string, " output" ) \
242
242
V (parse_error_string, " Parse Error" ) \
243
243
V (password_string, " password" ) \
244
244
V (path_string, " path" ) \
245
245
V (pending_handle_string, " pendingHandle" ) \
246
246
V (pid_string, " pid" ) \
247
+ V (pipe_source_string, " pipeSource" ) \
247
248
V (pipe_string, " pipe" ) \
248
249
V (pipe_target_string, " pipeTarget" ) \
249
- V (pipe_source_string, " pipeSource" ) \
250
- V (port_string, " port" ) \
251
250
V (port1_string, " port1" ) \
252
251
V (port2_string, " port2" ) \
252
+ V (port_string, " port" ) \
253
253
V (preference_string, " preference" ) \
254
254
V (priority_string, " priority" ) \
255
255
V (process_string, " process" ) \
@@ -267,11 +267,11 @@ struct PackageConfig {
267
267
V (require_string, " require" ) \
268
268
V (retry_string, " retry" ) \
269
269
V (scheme_string, " scheme" ) \
270
- V (serial_string, " serial" ) \
271
270
V (scopeid_string, " scopeid" ) \
272
271
V (serial_number_string, " serialNumber" ) \
273
- V (service_string , " service " ) \
272
+ V (serial_string , " serial " ) \
274
273
V (servername_string, " servername" ) \
274
+ V (service_string, " service" ) \
275
275
V (session_id_string, " sessionId" ) \
276
276
V (shell_string, " shell" ) \
277
277
V (signal_string, " signal" ) \
@@ -310,7 +310,7 @@ struct PackageConfig {
310
310
V (write_host_object_string, " _writeHostObject" ) \
311
311
V (write_queue_size_string, " writeQueueSize" ) \
312
312
V (x_forwarded_string, " x-forwarded-for" ) \
313
- V (zero_return_string, " ZERO_RETURN" )
313
+ V (zero_return_string, " ZERO_RETURN" ) \
314
314
315
315
#define ENVIRONMENT_STRONG_PERSISTENT_PROPERTIES (V ) \
316
316
V (as_external, v8::External) \
@@ -320,17 +320,17 @@ struct PackageConfig {
320
320
V (async_hooks_destroy_function, v8::Function) \
321
321
V (async_hooks_init_function, v8::Function) \
322
322
V (async_hooks_promise_resolve_function, v8::Function) \
323
- V (async_wrap_object_ctor_template, v8::FunctionTemplate) \
324
323
V (async_wrap_ctor_template, v8::FunctionTemplate) \
324
+ V (async_wrap_object_ctor_template, v8::FunctionTemplate) \
325
325
V (buffer_prototype_object, v8::Object) \
326
326
V (context, v8::Context) \
327
327
V (domain_callback, v8::Function) \
328
328
V (domexception_function, v8::Function) \
329
- V (fdclose_constructor_template, v8::ObjectTemplate) \
330
329
V (fd_constructor_template, v8::ObjectTemplate) \
330
+ V (fdclose_constructor_template, v8::ObjectTemplate) \
331
331
V (filehandlereadwrap_template, v8::ObjectTemplate) \
332
- V (fsreqpromise_constructor_template, v8::ObjectTemplate) \
333
332
V (fs_use_promises_symbol, v8::Symbol) \
333
+ V (fsreqpromise_constructor_template, v8::ObjectTemplate) \
334
334
V (handle_wrap_ctor_template, v8::FunctionTemplate) \
335
335
V (host_import_module_dynamically_callback, v8::Function) \
336
336
V (host_initialize_import_meta_object_callback, v8::Function) \
@@ -348,9 +348,9 @@ struct PackageConfig {
348
348
V (native_modules_source_hash, v8::Object) \
349
349
V (native_modules_with_cache, v8::Set) \
350
350
V (native_modules_without_cache, v8::Set) \
351
- V (pipe_constructor_template, v8::FunctionTemplate) \
352
351
V (performance_entry_callback, v8::Function) \
353
352
V (performance_entry_template, v8::Function) \
353
+ V (pipe_constructor_template, v8::FunctionTemplate) \
354
354
V (process_object, v8::Object) \
355
355
V (promise_handler_function, v8::Function) \
356
356
V (promise_wrap_template, v8::ObjectTemplate) \
@@ -367,7 +367,7 @@ struct PackageConfig {
367
367
V (tty_constructor_template, v8::FunctionTemplate) \
368
368
V (udp_constructor_function, v8::Function) \
369
369
V (url_constructor_function, v8::Function) \
370
- V (write_wrap_template, v8::ObjectTemplate)
370
+ V (write_wrap_template, v8::ObjectTemplate) \
371
371
372
372
class Environment ;
373
373
0 commit comments