fix test running

This commit is contained in:
Muki Kiboigo committed 2026-09-04 07:00:01 -07:00
1 parent 6002dfe587
commit 8a8bb3814f
7 files changed
+25 -3

No files matched your search

+1
View File
@@ -1516,6 +1516,7 @@ test "cdp: syncRequest short-circuits after disconnect" {
const transfer = try client.newRequest(.{
.method = .GET,
.url = "http://127.0.0.1:9582/",
.origin = null,
.credentials_mode = .omit,
.request_mode = .no_cors,
.resource_type = .fetch,
+4
View File
@@ -1177,6 +1177,7 @@ test "cdp.Network: setBlockedURLs blocks requests with inspector reason" {
.loader_id = 1,
.method = .GET,
.url = "https://blocked.test/script.js",
.origin = bc.security_origin,
.credentials_mode = .omit,
.request_mode = .no_cors,
.resource_type = .script,
@@ -1203,6 +1204,7 @@ test "cdp.Network: setBlockedURLs blocks requests with inspector reason" {
.loader_id = 1,
.method = .GET,
.url = "http://127.0.0.1:9582/redirect-no-fragment",
.origin = bc.security_origin,
.credentials_mode = .omit,
.request_mode = .no_cors,
.resource_type = .script,
@@ -1243,6 +1245,7 @@ test "cdp.Network: POST body exposed as postData" {
.loader_id = 1,
.method = .POST,
.url = "http://127.0.0.1:9582/echo_body",
.origin = bc.security_origin,
.body = body,
.credentials_mode = .omit,
.request_mode = .no_cors,
@@ -1510,6 +1513,7 @@ test "cdp.Network: redirect hop precedes Fetch pause and carries redirectRespons
.loader_id = 7,
.method = .GET,
.url = start_url,
.origin = bc.security_origin,
.credentials_mode = .omit,
.request_mode = .no_cors,
.resource_type = .script,