kitesurf · WPT

FAIL
expected FAIL · 1349 ms
▶ run in kitesurf
Test
/fetch/api/headers/headers-errors.any.html
Actual
FAIL
Expected
FAIL
Unexpected
no
Duration
1349 ms
Harness
OK
Counts
Reason
Run
https://kitesurf.rendering.cfdata.org/?url=http%3A%2F%2Fwpt.live%2Ffetch%2Fapi%2Fheaders%2Fheaders-errors.any.html ↗
Upstream
view on github.com/web-platform-tests/wpt ↗

Subtests

statussubtestmessage
PASSCreate headers giving an array having one string as init argument
PASSCreate headers giving an array having three strings as init argument
FAILCreate headers giving bad header name as init argumentassert_throws_js: function "function() { new Headers([["invalidĀ", "Value1"]]); }" did not throw
FAILCreate headers giving bad header value as init argumentassert_throws_js: function "function() { new Headers([["name", "invalidValueĀ"]]); }" did not throw
FAILCheck headers get with an invalid name invalidĀassert_throws_js: function "function() { headers.get(name); }" did not throw
PASSCheck headers get with an invalid name [object Object]
FAILCheck headers delete with an invalid name invalidĀassert_throws_js: function "function() { headers.delete(name); }" did not throw
PASSCheck headers delete with an invalid name [object Object]
FAILCheck headers has with an invalid name invalidĀassert_throws_js: function "function() { headers.has(name); }" did not throw
PASSCheck headers has with an invalid name [object Object]
FAILCheck headers set with an invalid name invalidĀassert_throws_js: function "function() { headers.set(name, "Value1"); }" did not throw
PASSCheck headers set with an invalid name [object Object]
FAILCheck headers set with an invalid value invalidĀassert_throws_js: function "function() { headers.set("name", value); }" did not throw
FAILCheck headers append with an invalid name invalidĀassert_throws_js: function "function() { headers.append("invalidĀ", "Value1"); }" did not throw
FAILCheck headers append with an invalid name [object Object]assert_throws_js: function "function() { headers.append("invalidĀ", "Value1"); }" did not throw
FAILCheck headers append with an invalid value invalidĀassert_throws_js: function "function() { headers.append("name", value); }" did not throw
PASSHeaders forEach throws if argument is not callable
PASSHeaders forEach loop should stop if callback is throwing exception

bundle built 2026-07-16T07:16:48.063Z