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/headers.h | |
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/headers.h')
-rw-r--r-- | src/bun.js/bindings/headers.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index e631721f7..baefaf0b9 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -1,5 +1,5 @@ // clang-format off -//-- AUTOGENERATED FILE -- 1679048516 +//-- AUTOGENERATED FILE -- 1679083592 #pragma once #include <stddef.h> @@ -146,6 +146,9 @@ CPP_DECL JSC__JSValue ZigString__toErrorInstance(const ZigString* arg0, JSC__JSG CPP_DECL JSC__JSValue ZigString__toExternalU16(const uint16_t* arg0, size_t arg1, JSC__JSGlobalObject* arg2); CPP_DECL JSC__JSValue ZigString__toExternalValue(const ZigString* arg0, JSC__JSGlobalObject* arg1); CPP_DECL JSC__JSValue ZigString__toExternalValueWithCallback(const ZigString* arg0, JSC__JSGlobalObject* arg1, void(* ArgFn2)(void* arg0, void* arg1, size_t arg2)) __attribute__((nonnull (2))); +CPP_DECL JSC__JSValue ZigString__toRangeErrorInstance(const ZigString* arg0, JSC__JSGlobalObject* arg1); +CPP_DECL JSC__JSValue ZigString__toSyntaxErrorInstance(const ZigString* arg0, JSC__JSGlobalObject* arg1); +CPP_DECL JSC__JSValue ZigString__toTypeErrorInstance(const ZigString* arg0, JSC__JSGlobalObject* arg1); CPP_DECL JSC__JSValue ZigString__toValue(const ZigString* arg0, JSC__JSGlobalObject* arg1); CPP_DECL JSC__JSValue ZigString__toValueGC(const ZigString* arg0, JSC__JSGlobalObject* arg1); CPP_DECL WebCore__DOMURL* WebCore__DOMURL__cast_(JSC__JSValue JSValue0, JSC__VM* arg1); |