kitesurf · WPT

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

Subtests

statussubtestmessage
FAILCheck response returned by static json() with init undefinedassert_equals: Response's statusText is "" expected "" but got "OK"
FAILCheck response returned by static json() with init {"status":400}assert_equals: Response's statusText is "" expected "" but got "Bad Request"
PASSCheck response returned by static json() with init {"statusText":"foo"}
FAILCheck response returned by static json() with init {"headers":{}}assert_equals: Response's statusText is "" expected "" but got "OK"
FAILCheck response returned by static json() with init {"headers":{"content-type":"foo/bar"}}assert_equals: Response's statusText is "" expected "" but got "OK"
FAILCheck response returned by static json() with init {"headers":{"x-foo":"bar"}}assert_equals: Response's statusText is "" expected "" but got "OK"
PASSThrows TypeError when calling static json() with a status of 204
PASSThrows TypeError when calling static json() with a status of 205
PASSThrows TypeError when calling static json() with a status of 304
PASSCheck static json() encodes JSON objects correctly
FAILCheck static json() throws when data is not encodableassert_throws_js: function "function () { Response.json(Symbol("foo")); }" did not throw
PASSCheck static json() throws when data is circular
PASSCheck static json() propagates JSON serializer errors
PASSCheck response returned by static json() with input 𝌆
PASSCheck response returned by static json() with input U+df06U+d834
PASSCheck response returned by static json() with input U+dead

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