xhr: implementation follow up

This commit is contained in:
Pierre Tachoire
2024-01-31 16:49:46 +01:00
parent 0693011ad3
commit 6f46d76c93
2 changed files with 83 additions and 21 deletions

View File

@@ -158,7 +158,7 @@ test "Window is a libdom event target" {
test "XMLHttpRequest.validMethod" {
// valid methods
for ([_][]const u8{ "get", "GET", "head", "HEAD" }) |tc| {
try xhr.XMLHttpRequest.validMethod(tc);
_ = try xhr.XMLHttpRequest.validMethod(tc);
}
// forbidden