11cb0ef41Sopenharmony_ci#ifndef SRC_ENV_PROPERTIES_H_ 21cb0ef41Sopenharmony_ci#define SRC_ENV_PROPERTIES_H_ 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ci#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_ci// PER_ISOLATE_* macros: We have a lot of per-isolate properties 71cb0ef41Sopenharmony_ci// and adding and maintaining their getters and setters by hand would be 81cb0ef41Sopenharmony_ci// difficult so let's make the preprocessor generate them for us. 91cb0ef41Sopenharmony_ci// 101cb0ef41Sopenharmony_ci// In each macro, `V` is expected to be the name of a macro or function which 111cb0ef41Sopenharmony_ci// accepts the number of arguments provided in each tuple in the macro body, 121cb0ef41Sopenharmony_ci// typically two. The named function will be invoked against each tuple. 131cb0ef41Sopenharmony_ci// 141cb0ef41Sopenharmony_ci// Make sure that any macro V defined for use with the PER_ISOLATE_* macros is 151cb0ef41Sopenharmony_ci// undefined again after use. 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_ci// Private symbols are per-isolate primitives but Environment proxies them 181cb0ef41Sopenharmony_ci// for the sake of convenience. Strings should be ASCII-only and have a 191cb0ef41Sopenharmony_ci// "node:" prefix to avoid name clashes with third-party code. 201cb0ef41Sopenharmony_ci#define PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(V) \ 211cb0ef41Sopenharmony_ci V(arrow_message_private_symbol, "node:arrowMessage") \ 221cb0ef41Sopenharmony_ci V(contextify_context_private_symbol, "node:contextify:context") \ 231cb0ef41Sopenharmony_ci V(decorated_private_symbol, "node:decorated") \ 241cb0ef41Sopenharmony_ci V(host_defined_option_symbol, "node:host_defined_option_symbol") \ 251cb0ef41Sopenharmony_ci V(jsvm_type_tag, "node:napi:type_tag") \ 261cb0ef41Sopenharmony_ci V(jsvm_wrapper, "node:napi:wrapper") \ 271cb0ef41Sopenharmony_ci V(untransferable_object_private_symbol, "node:untransferableObject") \ 281cb0ef41Sopenharmony_ci V(exiting_aliased_Uint32Array, "node:exiting_aliased_Uint32Array") \ 291cb0ef41Sopenharmony_ci V(require_private_symbol, "node:require_private_symbol") 301cb0ef41Sopenharmony_ci 311cb0ef41Sopenharmony_ci// Symbols are per-isolate primitives but Environment proxies them 321cb0ef41Sopenharmony_ci// for the sake of convenience. 331cb0ef41Sopenharmony_ci#define PER_ISOLATE_SYMBOL_PROPERTIES(V) \ 341cb0ef41Sopenharmony_ci V(default_host_defined_options, "default_host_defined_options") \ 351cb0ef41Sopenharmony_ci V(fs_use_promises_symbol, "fs_use_promises_symbol") \ 361cb0ef41Sopenharmony_ci V(async_id_symbol, "async_id_symbol") \ 371cb0ef41Sopenharmony_ci V(handle_onclose_symbol, "handle_onclose") \ 381cb0ef41Sopenharmony_ci V(no_message_symbol, "no_message_symbol") \ 391cb0ef41Sopenharmony_ci V(messaging_deserialize_symbol, "messaging_deserialize_symbol") \ 401cb0ef41Sopenharmony_ci V(messaging_transfer_symbol, "messaging_transfer_symbol") \ 411cb0ef41Sopenharmony_ci V(messaging_clone_symbol, "messaging_clone_symbol") \ 421cb0ef41Sopenharmony_ci V(messaging_transfer_list_symbol, "messaging_transfer_list_symbol") \ 431cb0ef41Sopenharmony_ci V(oninit_symbol, "oninit") \ 441cb0ef41Sopenharmony_ci V(owner_symbol, "owner_symbol") \ 451cb0ef41Sopenharmony_ci V(onpskexchange_symbol, "onpskexchange") \ 461cb0ef41Sopenharmony_ci V(resource_symbol, "resource_symbol") \ 471cb0ef41Sopenharmony_ci V(trigger_async_id_symbol, "trigger_async_id_symbol") \ 481cb0ef41Sopenharmony_ci V(vm_dynamic_import_missing_flag, "vm_dynamic_import_missing_flag") 491cb0ef41Sopenharmony_ci 501cb0ef41Sopenharmony_ci// Strings are per-isolate primitives but Environment proxies them 511cb0ef41Sopenharmony_ci// for the sake of convenience. Strings should be ASCII-only. 521cb0ef41Sopenharmony_ci#define PER_ISOLATE_STRING_PROPERTIES(V) \ 531cb0ef41Sopenharmony_ci V(ack_string, "ack") \ 541cb0ef41Sopenharmony_ci V(address_string, "address") \ 551cb0ef41Sopenharmony_ci V(aliases_string, "aliases") \ 561cb0ef41Sopenharmony_ci V(alpn_callback_string, "ALPNCallback") \ 571cb0ef41Sopenharmony_ci V(args_string, "args") \ 581cb0ef41Sopenharmony_ci V(asn1curve_string, "asn1Curve") \ 591cb0ef41Sopenharmony_ci V(async_ids_stack_string, "async_ids_stack") \ 601cb0ef41Sopenharmony_ci V(bits_string, "bits") \ 611cb0ef41Sopenharmony_ci V(block_list_string, "blockList") \ 621cb0ef41Sopenharmony_ci V(buffer_string, "buffer") \ 631cb0ef41Sopenharmony_ci V(bytes_parsed_string, "bytesParsed") \ 641cb0ef41Sopenharmony_ci V(bytes_read_string, "bytesRead") \ 651cb0ef41Sopenharmony_ci V(bytes_written_string, "bytesWritten") \ 661cb0ef41Sopenharmony_ci V(ca_string, "ca") \ 671cb0ef41Sopenharmony_ci V(cached_data_produced_string, "cachedDataProduced") \ 681cb0ef41Sopenharmony_ci V(cached_data_rejected_string, "cachedDataRejected") \ 691cb0ef41Sopenharmony_ci V(cached_data_string, "cachedData") \ 701cb0ef41Sopenharmony_ci V(cache_key_string, "cacheKey") \ 711cb0ef41Sopenharmony_ci V(change_string, "change") \ 721cb0ef41Sopenharmony_ci V(channel_string, "channel") \ 731cb0ef41Sopenharmony_ci V(chunks_sent_since_last_write_string, "chunksSentSinceLastWrite") \ 741cb0ef41Sopenharmony_ci V(clone_unsupported_type_str, "Cannot transfer object of unsupported type.") \ 751cb0ef41Sopenharmony_ci V(code_string, "code") \ 761cb0ef41Sopenharmony_ci V(commonjs_string, "commonjs") \ 771cb0ef41Sopenharmony_ci V(config_string, "config") \ 781cb0ef41Sopenharmony_ci V(constants_string, "constants") \ 791cb0ef41Sopenharmony_ci V(crypto_dh_string, "dh") \ 801cb0ef41Sopenharmony_ci V(crypto_dsa_string, "dsa") \ 811cb0ef41Sopenharmony_ci V(crypto_ec_string, "ec") \ 821cb0ef41Sopenharmony_ci V(crypto_ed25519_string, "ed25519") \ 831cb0ef41Sopenharmony_ci V(crypto_ed448_string, "ed448") \ 841cb0ef41Sopenharmony_ci V(crypto_x25519_string, "x25519") \ 851cb0ef41Sopenharmony_ci V(crypto_x448_string, "x448") \ 861cb0ef41Sopenharmony_ci V(crypto_rsa_string, "rsa") \ 871cb0ef41Sopenharmony_ci V(crypto_rsa_pss_string, "rsa-pss") \ 881cb0ef41Sopenharmony_ci V(cwd_string, "cwd") \ 891cb0ef41Sopenharmony_ci V(data_string, "data") \ 901cb0ef41Sopenharmony_ci V(default_is_true_string, "defaultIsTrue") \ 911cb0ef41Sopenharmony_ci V(deserialize_info_string, "deserializeInfo") \ 921cb0ef41Sopenharmony_ci V(dest_string, "dest") \ 931cb0ef41Sopenharmony_ci V(destroyed_string, "destroyed") \ 941cb0ef41Sopenharmony_ci V(detached_string, "detached") \ 951cb0ef41Sopenharmony_ci V(dh_string, "DH") \ 961cb0ef41Sopenharmony_ci V(divisor_length_string, "divisorLength") \ 971cb0ef41Sopenharmony_ci V(dns_a_string, "A") \ 981cb0ef41Sopenharmony_ci V(dns_aaaa_string, "AAAA") \ 991cb0ef41Sopenharmony_ci V(dns_caa_string, "CAA") \ 1001cb0ef41Sopenharmony_ci V(dns_critical_string, "critical") \ 1011cb0ef41Sopenharmony_ci V(dns_cname_string, "CNAME") \ 1021cb0ef41Sopenharmony_ci V(dns_mx_string, "MX") \ 1031cb0ef41Sopenharmony_ci V(dns_naptr_string, "NAPTR") \ 1041cb0ef41Sopenharmony_ci V(dns_ns_string, "NS") \ 1051cb0ef41Sopenharmony_ci V(dns_ptr_string, "PTR") \ 1061cb0ef41Sopenharmony_ci V(dns_soa_string, "SOA") \ 1071cb0ef41Sopenharmony_ci V(dns_srv_string, "SRV") \ 1081cb0ef41Sopenharmony_ci V(dns_txt_string, "TXT") \ 1091cb0ef41Sopenharmony_ci V(done_string, "done") \ 1101cb0ef41Sopenharmony_ci V(duration_string, "duration") \ 1111cb0ef41Sopenharmony_ci V(ecdh_string, "ECDH") \ 1121cb0ef41Sopenharmony_ci V(emit_string, "emit") \ 1131cb0ef41Sopenharmony_ci V(emit_warning_string, "emitWarning") \ 1141cb0ef41Sopenharmony_ci V(empty_object_string, "{}") \ 1151cb0ef41Sopenharmony_ci V(encoding_string, "encoding") \ 1161cb0ef41Sopenharmony_ci V(entries_string, "entries") \ 1171cb0ef41Sopenharmony_ci V(entry_type_string, "entryType") \ 1181cb0ef41Sopenharmony_ci V(env_pairs_string, "envPairs") \ 1191cb0ef41Sopenharmony_ci V(env_var_settings_string, "envVarSettings") \ 1201cb0ef41Sopenharmony_ci V(errno_string, "errno") \ 1211cb0ef41Sopenharmony_ci V(error_string, "error") \ 1221cb0ef41Sopenharmony_ci V(exchange_string, "exchange") \ 1231cb0ef41Sopenharmony_ci V(exit_code_string, "exitCode") \ 1241cb0ef41Sopenharmony_ci V(expire_string, "expire") \ 1251cb0ef41Sopenharmony_ci V(exponent_string, "exponent") \ 1261cb0ef41Sopenharmony_ci V(exports_string, "exports") \ 1271cb0ef41Sopenharmony_ci V(ext_key_usage_string, "ext_key_usage") \ 1281cb0ef41Sopenharmony_ci V(external_stream_string, "_externalStream") \ 1291cb0ef41Sopenharmony_ci V(family_string, "family") \ 1301cb0ef41Sopenharmony_ci V(fatal_exception_string, "_fatalException") \ 1311cb0ef41Sopenharmony_ci V(fd_string, "fd") \ 1321cb0ef41Sopenharmony_ci V(fields_string, "fields") \ 1331cb0ef41Sopenharmony_ci V(file_string, "file") \ 1341cb0ef41Sopenharmony_ci V(filename_string, "filename") \ 1351cb0ef41Sopenharmony_ci V(fingerprint256_string, "fingerprint256") \ 1361cb0ef41Sopenharmony_ci V(fingerprint512_string, "fingerprint512") \ 1371cb0ef41Sopenharmony_ci V(fingerprint_string, "fingerprint") \ 1381cb0ef41Sopenharmony_ci V(flags_string, "flags") \ 1391cb0ef41Sopenharmony_ci V(flowlabel_string, "flowlabel") \ 1401cb0ef41Sopenharmony_ci V(fragment_string, "fragment") \ 1411cb0ef41Sopenharmony_ci V(frames_received_string, "framesReceived") \ 1421cb0ef41Sopenharmony_ci V(frames_sent_string, "framesSent") \ 1431cb0ef41Sopenharmony_ci V(function_string, "function") \ 1441cb0ef41Sopenharmony_ci V(get_string, "get") \ 1451cb0ef41Sopenharmony_ci V(get_data_clone_error_string, "_getDataCloneError") \ 1461cb0ef41Sopenharmony_ci V(get_shared_array_buffer_id_string, "_getSharedArrayBufferId") \ 1471cb0ef41Sopenharmony_ci V(gid_string, "gid") \ 1481cb0ef41Sopenharmony_ci V(h2_string, "h2") \ 1491cb0ef41Sopenharmony_ci V(handle_string, "handle") \ 1501cb0ef41Sopenharmony_ci V(hash_algorithm_string, "hashAlgorithm") \ 1511cb0ef41Sopenharmony_ci V(help_text_string, "helpText") \ 1521cb0ef41Sopenharmony_ci V(homedir_string, "homedir") \ 1531cb0ef41Sopenharmony_ci V(host_string, "host") \ 1541cb0ef41Sopenharmony_ci V(hostmaster_string, "hostmaster") \ 1551cb0ef41Sopenharmony_ci V(http_1_1_string, "http/1.1") \ 1561cb0ef41Sopenharmony_ci V(id_string, "id") \ 1571cb0ef41Sopenharmony_ci V(identity_string, "identity") \ 1581cb0ef41Sopenharmony_ci V(ignore_string, "ignore") \ 1591cb0ef41Sopenharmony_ci V(infoaccess_string, "infoAccess") \ 1601cb0ef41Sopenharmony_ci V(inherit_string, "inherit") \ 1611cb0ef41Sopenharmony_ci V(input_string, "input") \ 1621cb0ef41Sopenharmony_ci V(internal_binding_string, "internalBinding") \ 1631cb0ef41Sopenharmony_ci V(internal_string, "internal") \ 1641cb0ef41Sopenharmony_ci V(ipv4_string, "IPv4") \ 1651cb0ef41Sopenharmony_ci V(ipv6_string, "IPv6") \ 1661cb0ef41Sopenharmony_ci V(isclosing_string, "isClosing") \ 1671cb0ef41Sopenharmony_ci V(issuer_string, "issuer") \ 1681cb0ef41Sopenharmony_ci V(issuercert_string, "issuerCertificate") \ 1691cb0ef41Sopenharmony_ci V(jwk_crv_string, "crv") \ 1701cb0ef41Sopenharmony_ci V(jwk_d_string, "d") \ 1711cb0ef41Sopenharmony_ci V(jwk_dp_string, "dp") \ 1721cb0ef41Sopenharmony_ci V(jwk_dq_string, "dq") \ 1731cb0ef41Sopenharmony_ci V(jwk_dsa_string, "DSA") \ 1741cb0ef41Sopenharmony_ci V(jwk_e_string, "e") \ 1751cb0ef41Sopenharmony_ci V(jwk_ec_string, "EC") \ 1761cb0ef41Sopenharmony_ci V(jwk_g_string, "g") \ 1771cb0ef41Sopenharmony_ci V(jwk_k_string, "k") \ 1781cb0ef41Sopenharmony_ci V(jwk_p_string, "p") \ 1791cb0ef41Sopenharmony_ci V(jwk_q_string, "q") \ 1801cb0ef41Sopenharmony_ci V(jwk_qi_string, "qi") \ 1811cb0ef41Sopenharmony_ci V(jwk_kty_string, "kty") \ 1821cb0ef41Sopenharmony_ci V(jwk_n_string, "n") \ 1831cb0ef41Sopenharmony_ci V(jwk_oct_string, "oct") \ 1841cb0ef41Sopenharmony_ci V(jwk_okp_string, "OKP") \ 1851cb0ef41Sopenharmony_ci V(jwk_rsa_string, "RSA") \ 1861cb0ef41Sopenharmony_ci V(jwk_x_string, "x") \ 1871cb0ef41Sopenharmony_ci V(jwk_y_string, "y") \ 1881cb0ef41Sopenharmony_ci V(kill_signal_string, "killSignal") \ 1891cb0ef41Sopenharmony_ci V(kind_string, "kind") \ 1901cb0ef41Sopenharmony_ci V(length_string, "length") \ 1911cb0ef41Sopenharmony_ci V(library_string, "library") \ 1921cb0ef41Sopenharmony_ci V(mac_string, "mac") \ 1931cb0ef41Sopenharmony_ci V(max_buffer_string, "maxBuffer") \ 1941cb0ef41Sopenharmony_ci V(max_concurrent_streams_string, "maxConcurrentStreams") \ 1951cb0ef41Sopenharmony_ci V(message_port_constructor_string, "MessagePort") \ 1961cb0ef41Sopenharmony_ci V(message_port_string, "messagePort") \ 1971cb0ef41Sopenharmony_ci V(message_string, "message") \ 1981cb0ef41Sopenharmony_ci V(messageerror_string, "messageerror") \ 1991cb0ef41Sopenharmony_ci V(mgf1_hash_algorithm_string, "mgf1HashAlgorithm") \ 2001cb0ef41Sopenharmony_ci V(minttl_string, "minttl") \ 2011cb0ef41Sopenharmony_ci V(module_string, "module") \ 2021cb0ef41Sopenharmony_ci V(modulus_string, "modulus") \ 2031cb0ef41Sopenharmony_ci V(modulus_length_string, "modulusLength") \ 2041cb0ef41Sopenharmony_ci V(name_string, "name") \ 2051cb0ef41Sopenharmony_ci V(named_curve_string, "namedCurve") \ 2061cb0ef41Sopenharmony_ci V(netmask_string, "netmask") \ 2071cb0ef41Sopenharmony_ci V(next_string, "next") \ 2081cb0ef41Sopenharmony_ci V(nistcurve_string, "nistCurve") \ 2091cb0ef41Sopenharmony_ci V(node_string, "node") \ 2101cb0ef41Sopenharmony_ci V(nsname_string, "nsname") \ 2111cb0ef41Sopenharmony_ci V(object_string, "Object") \ 2121cb0ef41Sopenharmony_ci V(ocsp_request_string, "OCSPRequest") \ 2131cb0ef41Sopenharmony_ci V(oncertcb_string, "oncertcb") \ 2141cb0ef41Sopenharmony_ci V(onchange_string, "onchange") \ 2151cb0ef41Sopenharmony_ci V(onclienthello_string, "onclienthello") \ 2161cb0ef41Sopenharmony_ci V(oncomplete_string, "oncomplete") \ 2171cb0ef41Sopenharmony_ci V(onconnection_string, "onconnection") \ 2181cb0ef41Sopenharmony_ci V(ondone_string, "ondone") \ 2191cb0ef41Sopenharmony_ci V(onerror_string, "onerror") \ 2201cb0ef41Sopenharmony_ci V(onexit_string, "onexit") \ 2211cb0ef41Sopenharmony_ci V(onhandshakedone_string, "onhandshakedone") \ 2221cb0ef41Sopenharmony_ci V(onhandshakestart_string, "onhandshakestart") \ 2231cb0ef41Sopenharmony_ci V(onkeylog_string, "onkeylog") \ 2241cb0ef41Sopenharmony_ci V(onmessage_string, "onmessage") \ 2251cb0ef41Sopenharmony_ci V(onnewsession_string, "onnewsession") \ 2261cb0ef41Sopenharmony_ci V(onocspresponse_string, "onocspresponse") \ 2271cb0ef41Sopenharmony_ci V(onreadstart_string, "onreadstart") \ 2281cb0ef41Sopenharmony_ci V(onreadstop_string, "onreadstop") \ 2291cb0ef41Sopenharmony_ci V(onshutdown_string, "onshutdown") \ 2301cb0ef41Sopenharmony_ci V(onsignal_string, "onsignal") \ 2311cb0ef41Sopenharmony_ci V(onunpipe_string, "onunpipe") \ 2321cb0ef41Sopenharmony_ci V(onwrite_string, "onwrite") \ 2331cb0ef41Sopenharmony_ci V(openssl_error_stack, "opensslErrorStack") \ 2341cb0ef41Sopenharmony_ci V(options_string, "options") \ 2351cb0ef41Sopenharmony_ci V(order_string, "order") \ 2361cb0ef41Sopenharmony_ci V(output_string, "output") \ 2371cb0ef41Sopenharmony_ci V(overlapped_string, "overlapped") \ 2381cb0ef41Sopenharmony_ci V(parse_error_string, "Parse Error") \ 2391cb0ef41Sopenharmony_ci V(password_string, "password") \ 2401cb0ef41Sopenharmony_ci V(path_string, "path") \ 2411cb0ef41Sopenharmony_ci V(pending_handle_string, "pendingHandle") \ 2421cb0ef41Sopenharmony_ci V(pid_string, "pid") \ 2431cb0ef41Sopenharmony_ci V(ping_rtt_string, "pingRTT") \ 2441cb0ef41Sopenharmony_ci V(pipe_source_string, "pipeSource") \ 2451cb0ef41Sopenharmony_ci V(pipe_string, "pipe") \ 2461cb0ef41Sopenharmony_ci V(pipe_target_string, "pipeTarget") \ 2471cb0ef41Sopenharmony_ci V(port1_string, "port1") \ 2481cb0ef41Sopenharmony_ci V(port2_string, "port2") \ 2491cb0ef41Sopenharmony_ci V(port_string, "port") \ 2501cb0ef41Sopenharmony_ci V(preference_string, "preference") \ 2511cb0ef41Sopenharmony_ci V(primordials_string, "primordials") \ 2521cb0ef41Sopenharmony_ci V(priority_string, "priority") \ 2531cb0ef41Sopenharmony_ci V(process_string, "process") \ 2541cb0ef41Sopenharmony_ci V(promise_string, "promise") \ 2551cb0ef41Sopenharmony_ci V(psk_string, "psk") \ 2561cb0ef41Sopenharmony_ci V(pubkey_string, "pubkey") \ 2571cb0ef41Sopenharmony_ci V(public_exponent_string, "publicExponent") \ 2581cb0ef41Sopenharmony_ci V(query_string, "query") \ 2591cb0ef41Sopenharmony_ci V(rate_string, "rate") \ 2601cb0ef41Sopenharmony_ci V(raw_string, "raw") \ 2611cb0ef41Sopenharmony_ci V(read_host_object_string, "_readHostObject") \ 2621cb0ef41Sopenharmony_ci V(readable_string, "readable") \ 2631cb0ef41Sopenharmony_ci V(reason_string, "reason") \ 2641cb0ef41Sopenharmony_ci V(refresh_string, "refresh") \ 2651cb0ef41Sopenharmony_ci V(regexp_string, "regexp") \ 2661cb0ef41Sopenharmony_ci V(rename_string, "rename") \ 2671cb0ef41Sopenharmony_ci V(replacement_string, "replacement") \ 2681cb0ef41Sopenharmony_ci V(require_string, "require") \ 2691cb0ef41Sopenharmony_ci V(retry_string, "retry") \ 2701cb0ef41Sopenharmony_ci V(salt_length_string, "saltLength") \ 2711cb0ef41Sopenharmony_ci V(scheme_string, "scheme") \ 2721cb0ef41Sopenharmony_ci V(scopeid_string, "scopeid") \ 2731cb0ef41Sopenharmony_ci V(serial_number_string, "serialNumber") \ 2741cb0ef41Sopenharmony_ci V(serial_string, "serial") \ 2751cb0ef41Sopenharmony_ci V(servername_string, "servername") \ 2761cb0ef41Sopenharmony_ci V(service_string, "service") \ 2771cb0ef41Sopenharmony_ci V(session_id_string, "sessionId") \ 2781cb0ef41Sopenharmony_ci V(set_string, "set") \ 2791cb0ef41Sopenharmony_ci V(shell_string, "shell") \ 2801cb0ef41Sopenharmony_ci V(signal_string, "signal") \ 2811cb0ef41Sopenharmony_ci V(sink_string, "sink") \ 2821cb0ef41Sopenharmony_ci V(size_string, "size") \ 2831cb0ef41Sopenharmony_ci V(sni_context_err_string, "Invalid SNI context") \ 2841cb0ef41Sopenharmony_ci V(sni_context_string, "sni_context") \ 2851cb0ef41Sopenharmony_ci V(source_string, "source") \ 2861cb0ef41Sopenharmony_ci V(source_map_url_string, "sourceMapURL") \ 2871cb0ef41Sopenharmony_ci V(stack_string, "stack") \ 2881cb0ef41Sopenharmony_ci V(standard_name_string, "standardName") \ 2891cb0ef41Sopenharmony_ci V(start_time_string, "startTime") \ 2901cb0ef41Sopenharmony_ci V(state_string, "state") \ 2911cb0ef41Sopenharmony_ci V(stats_string, "stats") \ 2921cb0ef41Sopenharmony_ci V(status_string, "status") \ 2931cb0ef41Sopenharmony_ci V(stdio_string, "stdio") \ 2941cb0ef41Sopenharmony_ci V(stream_average_duration_string, "streamAverageDuration") \ 2951cb0ef41Sopenharmony_ci V(stream_count_string, "streamCount") \ 2961cb0ef41Sopenharmony_ci V(subject_string, "subject") \ 2971cb0ef41Sopenharmony_ci V(subjectaltname_string, "subjectaltname") \ 2981cb0ef41Sopenharmony_ci V(syscall_string, "syscall") \ 2991cb0ef41Sopenharmony_ci V(target_string, "target") \ 3001cb0ef41Sopenharmony_ci V(thread_id_string, "threadId") \ 3011cb0ef41Sopenharmony_ci V(ticketkeycallback_string, "onticketkeycallback") \ 3021cb0ef41Sopenharmony_ci V(timeout_string, "timeout") \ 3031cb0ef41Sopenharmony_ci V(time_to_first_byte_string, "timeToFirstByte") \ 3041cb0ef41Sopenharmony_ci V(time_to_first_byte_sent_string, "timeToFirstByteSent") \ 3051cb0ef41Sopenharmony_ci V(time_to_first_header_string, "timeToFirstHeader") \ 3061cb0ef41Sopenharmony_ci V(tls_ticket_string, "tlsTicket") \ 3071cb0ef41Sopenharmony_ci V(transfer_string, "transfer") \ 3081cb0ef41Sopenharmony_ci V(ttl_string, "ttl") \ 3091cb0ef41Sopenharmony_ci V(type_string, "type") \ 3101cb0ef41Sopenharmony_ci V(uid_string, "uid") \ 3111cb0ef41Sopenharmony_ci V(unknown_string, "<unknown>") \ 3121cb0ef41Sopenharmony_ci V(url_special_ftp_string, "ftp:") \ 3131cb0ef41Sopenharmony_ci V(url_special_file_string, "file:") \ 3141cb0ef41Sopenharmony_ci V(url_special_http_string, "http:") \ 3151cb0ef41Sopenharmony_ci V(url_special_https_string, "https:") \ 3161cb0ef41Sopenharmony_ci V(url_special_ws_string, "ws:") \ 3171cb0ef41Sopenharmony_ci V(url_special_wss_string, "wss:") \ 3181cb0ef41Sopenharmony_ci V(url_string, "url") \ 3191cb0ef41Sopenharmony_ci V(username_string, "username") \ 3201cb0ef41Sopenharmony_ci V(valid_from_string, "valid_from") \ 3211cb0ef41Sopenharmony_ci V(valid_to_string, "valid_to") \ 3221cb0ef41Sopenharmony_ci V(value_string, "value") \ 3231cb0ef41Sopenharmony_ci V(verify_error_string, "verifyError") \ 3241cb0ef41Sopenharmony_ci V(version_string, "version") \ 3251cb0ef41Sopenharmony_ci V(weight_string, "weight") \ 3261cb0ef41Sopenharmony_ci V(windows_hide_string, "windowsHide") \ 3271cb0ef41Sopenharmony_ci V(windows_verbatim_arguments_string, "windowsVerbatimArguments") \ 3281cb0ef41Sopenharmony_ci V(wrap_string, "wrap") \ 3291cb0ef41Sopenharmony_ci V(writable_string, "writable") \ 3301cb0ef41Sopenharmony_ci V(write_host_object_string, "_writeHostObject") \ 3311cb0ef41Sopenharmony_ci V(write_queue_size_string, "writeQueueSize") \ 3321cb0ef41Sopenharmony_ci V(x_forwarded_string, "x-forwarded-for") 3331cb0ef41Sopenharmony_ci 3341cb0ef41Sopenharmony_ci#define PER_ISOLATE_TEMPLATE_PROPERTIES(V) \ 3351cb0ef41Sopenharmony_ci V(async_wrap_ctor_template, v8::FunctionTemplate) \ 3361cb0ef41Sopenharmony_ci V(async_wrap_object_ctor_template, v8::FunctionTemplate) \ 3371cb0ef41Sopenharmony_ci V(base_object_ctor_template, v8::FunctionTemplate) \ 3381cb0ef41Sopenharmony_ci V(binding_data_ctor_template, v8::FunctionTemplate) \ 3391cb0ef41Sopenharmony_ci V(blob_constructor_template, v8::FunctionTemplate) \ 3401cb0ef41Sopenharmony_ci V(blocklist_constructor_template, v8::FunctionTemplate) \ 3411cb0ef41Sopenharmony_ci V(contextify_global_template, v8::ObjectTemplate) \ 3421cb0ef41Sopenharmony_ci V(contextify_wrapper_template, v8::ObjectTemplate) \ 3431cb0ef41Sopenharmony_ci V(crypto_key_object_handle_constructor, v8::FunctionTemplate) \ 3441cb0ef41Sopenharmony_ci V(env_proxy_template, v8::ObjectTemplate) \ 3451cb0ef41Sopenharmony_ci V(env_proxy_ctor_template, v8::FunctionTemplate) \ 3461cb0ef41Sopenharmony_ci V(dir_instance_template, v8::ObjectTemplate) \ 3471cb0ef41Sopenharmony_ci V(fd_constructor_template, v8::ObjectTemplate) \ 3481cb0ef41Sopenharmony_ci V(fdclose_constructor_template, v8::ObjectTemplate) \ 3491cb0ef41Sopenharmony_ci V(filehandlereadwrap_template, v8::ObjectTemplate) \ 3501cb0ef41Sopenharmony_ci V(fsreqpromise_constructor_template, v8::ObjectTemplate) \ 3511cb0ef41Sopenharmony_ci V(handle_wrap_ctor_template, v8::FunctionTemplate) \ 3521cb0ef41Sopenharmony_ci V(histogram_ctor_template, v8::FunctionTemplate) \ 3531cb0ef41Sopenharmony_ci V(http2settings_constructor_template, v8::ObjectTemplate) \ 3541cb0ef41Sopenharmony_ci V(http2stream_constructor_template, v8::ObjectTemplate) \ 3551cb0ef41Sopenharmony_ci V(http2ping_constructor_template, v8::ObjectTemplate) \ 3561cb0ef41Sopenharmony_ci V(i18n_converter_template, v8::ObjectTemplate) \ 3571cb0ef41Sopenharmony_ci V(intervalhistogram_constructor_template, v8::FunctionTemplate) \ 3581cb0ef41Sopenharmony_ci V(libuv_stream_wrap_ctor_template, v8::FunctionTemplate) \ 3591cb0ef41Sopenharmony_ci V(message_port_constructor_template, v8::FunctionTemplate) \ 3601cb0ef41Sopenharmony_ci V(microtask_queue_ctor_template, v8::FunctionTemplate) \ 3611cb0ef41Sopenharmony_ci V(pipe_constructor_template, v8::FunctionTemplate) \ 3621cb0ef41Sopenharmony_ci V(promise_wrap_template, v8::ObjectTemplate) \ 3631cb0ef41Sopenharmony_ci V(sab_lifetimepartner_constructor_template, v8::FunctionTemplate) \ 3641cb0ef41Sopenharmony_ci V(script_context_constructor_template, v8::FunctionTemplate) \ 3651cb0ef41Sopenharmony_ci V(secure_context_constructor_template, v8::FunctionTemplate) \ 3661cb0ef41Sopenharmony_ci V(shutdown_wrap_template, v8::ObjectTemplate) \ 3671cb0ef41Sopenharmony_ci V(socketaddress_constructor_template, v8::FunctionTemplate) \ 3681cb0ef41Sopenharmony_ci V(streambaseoutputstream_constructor_template, v8::ObjectTemplate) \ 3691cb0ef41Sopenharmony_ci V(qlogoutputstream_constructor_template, v8::ObjectTemplate) \ 3701cb0ef41Sopenharmony_ci V(tcp_constructor_template, v8::FunctionTemplate) \ 3711cb0ef41Sopenharmony_ci V(tty_constructor_template, v8::FunctionTemplate) \ 3721cb0ef41Sopenharmony_ci V(write_wrap_template, v8::ObjectTemplate) \ 3731cb0ef41Sopenharmony_ci V(worker_heap_snapshot_taker_template, v8::ObjectTemplate) \ 3741cb0ef41Sopenharmony_ci V(x509_constructor_template, v8::FunctionTemplate) 3751cb0ef41Sopenharmony_ci 3761cb0ef41Sopenharmony_ci#define PER_REALM_STRONG_PERSISTENT_VALUES(V) \ 3771cb0ef41Sopenharmony_ci V(async_hooks_after_function, v8::Function) \ 3781cb0ef41Sopenharmony_ci V(async_hooks_before_function, v8::Function) \ 3791cb0ef41Sopenharmony_ci V(async_hooks_callback_trampoline, v8::Function) \ 3801cb0ef41Sopenharmony_ci V(async_hooks_binding, v8::Object) \ 3811cb0ef41Sopenharmony_ci V(async_hooks_destroy_function, v8::Function) \ 3821cb0ef41Sopenharmony_ci V(async_hooks_init_function, v8::Function) \ 3831cb0ef41Sopenharmony_ci V(async_hooks_promise_resolve_function, v8::Function) \ 3841cb0ef41Sopenharmony_ci V(buffer_prototype_object, v8::Object) \ 3851cb0ef41Sopenharmony_ci V(crypto_key_object_constructor, v8::Function) \ 3861cb0ef41Sopenharmony_ci V(crypto_key_object_private_constructor, v8::Function) \ 3871cb0ef41Sopenharmony_ci V(crypto_key_object_public_constructor, v8::Function) \ 3881cb0ef41Sopenharmony_ci V(crypto_key_object_secret_constructor, v8::Function) \ 3891cb0ef41Sopenharmony_ci V(domexception_function, v8::Function) \ 3901cb0ef41Sopenharmony_ci V(enhance_fatal_stack_after_inspector, v8::Function) \ 3911cb0ef41Sopenharmony_ci V(enhance_fatal_stack_before_inspector, v8::Function) \ 3921cb0ef41Sopenharmony_ci V(get_source_map_error_source, v8::Function) \ 3931cb0ef41Sopenharmony_ci V(host_import_module_dynamically_callback, v8::Function) \ 3941cb0ef41Sopenharmony_ci V(host_initialize_import_meta_object_callback, v8::Function) \ 3951cb0ef41Sopenharmony_ci V(http2session_on_altsvc_function, v8::Function) \ 3961cb0ef41Sopenharmony_ci V(http2session_on_error_function, v8::Function) \ 3971cb0ef41Sopenharmony_ci V(http2session_on_frame_error_function, v8::Function) \ 3981cb0ef41Sopenharmony_ci V(http2session_on_goaway_data_function, v8::Function) \ 3991cb0ef41Sopenharmony_ci V(http2session_on_headers_function, v8::Function) \ 4001cb0ef41Sopenharmony_ci V(http2session_on_origin_function, v8::Function) \ 4011cb0ef41Sopenharmony_ci V(http2session_on_ping_function, v8::Function) \ 4021cb0ef41Sopenharmony_ci V(http2session_on_priority_function, v8::Function) \ 4031cb0ef41Sopenharmony_ci V(http2session_on_settings_function, v8::Function) \ 4041cb0ef41Sopenharmony_ci V(http2session_on_stream_close_function, v8::Function) \ 4051cb0ef41Sopenharmony_ci V(http2session_on_stream_trailers_function, v8::Function) \ 4061cb0ef41Sopenharmony_ci V(internal_binding_loader, v8::Function) \ 4071cb0ef41Sopenharmony_ci V(immediate_callback_function, v8::Function) \ 4081cb0ef41Sopenharmony_ci V(inspector_console_extension_installer, v8::Function) \ 4091cb0ef41Sopenharmony_ci V(inspector_disable_async_hooks, v8::Function) \ 4101cb0ef41Sopenharmony_ci V(inspector_enable_async_hooks, v8::Function) \ 4111cb0ef41Sopenharmony_ci V(maybe_cache_generated_source_map, v8::Function) \ 4121cb0ef41Sopenharmony_ci V(messaging_deserialize_create_object, v8::Function) \ 4131cb0ef41Sopenharmony_ci V(message_port, v8::Object) \ 4141cb0ef41Sopenharmony_ci V(builtin_module_require, v8::Function) \ 4151cb0ef41Sopenharmony_ci V(performance_entry_callback, v8::Function) \ 4161cb0ef41Sopenharmony_ci V(performance_entry_template, v8::Function) \ 4171cb0ef41Sopenharmony_ci V(prepare_stack_trace_callback, v8::Function) \ 4181cb0ef41Sopenharmony_ci V(process_object, v8::Object) \ 4191cb0ef41Sopenharmony_ci V(primordials, v8::Object) \ 4201cb0ef41Sopenharmony_ci V(primordials_safe_map_prototype_object, v8::Object) \ 4211cb0ef41Sopenharmony_ci V(primordials_safe_set_prototype_object, v8::Object) \ 4221cb0ef41Sopenharmony_ci V(primordials_safe_weak_map_prototype_object, v8::Object) \ 4231cb0ef41Sopenharmony_ci V(primordials_safe_weak_set_prototype_object, v8::Object) \ 4241cb0ef41Sopenharmony_ci V(promise_hook_handler, v8::Function) \ 4251cb0ef41Sopenharmony_ci V(promise_reject_callback, v8::Function) \ 4261cb0ef41Sopenharmony_ci V(snapshot_serialize_callback, v8::Function) \ 4271cb0ef41Sopenharmony_ci V(snapshot_deserialize_callback, v8::Function) \ 4281cb0ef41Sopenharmony_ci V(snapshot_deserialize_main, v8::Function) \ 4291cb0ef41Sopenharmony_ci V(source_map_cache_getter, v8::Function) \ 4301cb0ef41Sopenharmony_ci V(tick_callback_function, v8::Function) \ 4311cb0ef41Sopenharmony_ci V(timers_callback_function, v8::Function) \ 4321cb0ef41Sopenharmony_ci V(tls_wrap_constructor_function, v8::Function) \ 4331cb0ef41Sopenharmony_ci V(trace_category_state_function, v8::Function) \ 4341cb0ef41Sopenharmony_ci V(udp_constructor_function, v8::Function) \ 4351cb0ef41Sopenharmony_ci V(url_constructor_function, v8::Function) \ 4361cb0ef41Sopenharmony_ci V(wasm_streaming_compilation_impl, v8::Function) \ 4371cb0ef41Sopenharmony_ci V(wasm_streaming_object_constructor, v8::Function) 4381cb0ef41Sopenharmony_ci 4391cb0ef41Sopenharmony_ci#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS 4401cb0ef41Sopenharmony_ci 4411cb0ef41Sopenharmony_ci#endif // SRC_ENV_PROPERTIES_H_ 442