From 04dbf3bb704afb17039bf5a2ce303f88c49c5c4b Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Wed, 24 Jul 2024 11:15:46 -0700 Subject: [PATCH] Update builtins/web/fetch/headers.cpp Co-authored-by: Till Schneidereit --- builtins/web/fetch/headers.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/builtins/web/fetch/headers.cpp b/builtins/web/fetch/headers.cpp index 7ef5a7b4..064f82fd 100644 --- a/builtins/web/fetch/headers.cpp +++ b/builtins/web/fetch/headers.cpp @@ -530,7 +530,6 @@ JSObject *Headers::create(JSContext *cx, host_api::HttpHeadersReadOnly *handle, return nullptr; } - MOZ_ASSERT(Headers::is_instance(self)); MOZ_ASSERT(Headers::mode(self) == Headers::Mode::Uninitialized); SetReservedSlot(self, static_cast(Headers::Slots::Mode), JS::Int32Value(static_cast(Headers::Mode::HostOnly)));