mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 23:23:28 +00:00
xhr: implementation follow up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user