Skip to content

Commit 30b52d1

Browse files
Jake ChampionJakeChampion
authored andcommitted
add missing immutable argument
1 parent f44e08e commit 30b52d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/js-compute-runtime/builtins/request-response.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ bool Request::clone(JSContext *cx, unsigned argc, JS::Value *vp) {
13951395
return false;
13961396

13971397
headers = builtins::Headers::create(cx, headersInstance, builtins::Headers::Mode::ProxyToRequest,
1398-
requestInstance, headers_obj);
1398+
requestInstance, headers_obj, false);
13991399

14001400
if (!headers) {
14011401
return false;
@@ -1832,7 +1832,7 @@ JSObject *Request::create(JSContext *cx, JS::HandleObject requestInstance, JS::H
18321832
return nullptr;
18331833

18341834
headers = builtins::Headers::create(
1835-
cx, headersInstance, builtins::Headers::Mode::ProxyToRequest, request, input_headers);
1835+
cx, headersInstance, builtins::Headers::Mode::ProxyToRequest, request, input_headers, false);
18361836
}
18371837

18381838
if (!headers) {

0 commit comments

Comments
 (0)