diff options
author | 2023-03-17 17:14:39 -0700 | |
---|---|---|
committer | 2023-03-17 17:14:39 -0700 | |
commit | 1d4cc63154366dbdbdb87c8da43753cdac13d995 (patch) | |
tree | 55e1702c8f89b4f9c11d371a5e54bd80af2b2ac0 /src/bun.js/bindings/Process.cpp | |
parent | c5f2b4264993739440f73d166280c9ec74e27c1c (diff) | |
download | bun-1d4cc63154366dbdbdb87c8da43753cdac13d995.tar.gz bun-1d4cc63154366dbdbdb87c8da43753cdac13d995.tar.zst bun-1d4cc63154366dbdbdb87c8da43753cdac13d995.zip |
Fix various fetch/response/request tests (#2416)
* fix most fetch tests, skip a few
* fastGet, toValueGC, and invalid init
* bigint unreachable, range error, log process as process
* remove extra fetch_headers
* remove js_type parameter, check isObject()
* throw invalid mime type error, use enum literal
* switch back to promise rejection
* RangeError pascal case
Diffstat (limited to 'src/bun.js/bindings/Process.cpp')
-rw-r--r-- | src/bun.js/bindings/Process.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.js/bindings/Process.cpp b/src/bun.js/bindings/Process.cpp index 7b9154211..d336d5874 100644 --- a/src/bun.js/bindings/Process.cpp +++ b/src/bun.js/bindings/Process.cpp @@ -736,6 +736,8 @@ void Process::finishCreation(JSC::VM& vm) this->putDirectNativeFunction(vm, globalObject, JSC::Identifier::fromString(this->vm(), "binding"_s), 1, Process_functionBinding, ImplementationVisibility::Public, NoIntrinsic, PropertyAttribute::DontEnum | 0); + this->putDirect(vm, vm.propertyNames->toStringTagSymbol, jsString(vm, String("process"_s)), 0); + // target_defaults: // { cflags: [], // default_configuration: 'Release', |