WPT
wpt / fetch / api / response / response-static-json.any.worker.html
Spec: Fetch ↗
Runs: Chrome 155.0.8038.0 (wpt@05fffeacb, 2026-09-02) | Firefox 157.0a1 (wpt@7addae031, 2026-09-02) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-410b4 (wpt@ce41a9c47, 2026-09-02) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 16/16 | 16/16 | 16/16 | 16/16 | 16/16 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Check response returned by static json() with init undefined | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with init {"status":400} | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with init {"statusText":"foo"} | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with init {"headers":{}} | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with init {"headers":{"content-type":"foo/bar"}} | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with init {"headers":{"x-foo":"bar"}} | PASS | PASS | PASS | PASS | PASS | — |
| Throws TypeError when calling static json() with a status of 204 | PASS | PASS | PASS | PASS | PASS | — |
| Throws TypeError when calling static json() with a status of 205 | PASS | PASS | PASS | PASS | PASS | — |
| Throws TypeError when calling static json() with a status of 304 | PASS | PASS | PASS | PASS | PASS | — |
| Check static json() encodes JSON objects correctly | PASS | PASS | PASS | PASS | PASS | — |
| Check static json() throws when data is not encodable | PASS | PASS | PASS | PASS | PASS | — |
| Check static json() throws when data is circular | PASS | PASS | PASS | PASS | PASS | — |
| Check static json() propagates JSON serializer errors | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with input 𝌆 | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with input U+df06U+d834 | PASS | PASS | PASS | PASS | PASS | — |
| Check response returned by static json() with input U+dead | PASS | PASS | PASS | PASS | PASS | — |