mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 04:49:06 +00:00
safety: a lot more exception checker progress (#20956)
This commit is contained in:
@@ -1348,7 +1348,7 @@ JSC_DEFINE_HOST_FUNCTION(jsHTTPGetHeader, (JSGlobalObject * globalObject, CallFr
|
||||
const auto name = nameString->view(globalObject);
|
||||
RETURN_IF_EXCEPTION(scope, {});
|
||||
if (WTF::equalIgnoringASCIICase(name, "set-cookie"_s)) {
|
||||
return fetchHeadersGetSetCookie(globalObject, vm, impl);
|
||||
RELEASE_AND_RETURN(scope, fetchHeadersGetSetCookie(globalObject, vm, impl));
|
||||
}
|
||||
|
||||
WebCore::ExceptionOr<String> res = impl->get(name);
|
||||
|
||||
Reference in New Issue
Block a user