Skip to content

Commit

Permalink
Update builtins/web/fetch/headers.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Till Schneidereit <[email protected]>
  • Loading branch information
guybedford and tschneidereit authored Jul 24, 2024
1 parent a97d1da commit 04dbf3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builtins/web/fetch/headers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t>(Headers::Slots::Mode),
JS::Int32Value(static_cast<int32_t>(Headers::Mode::HostOnly)));
Expand Down

0 comments on commit 04dbf3b

Please sign in to comment.