cloudflare / cloudflare/workerd
Response.json() should throw with top level value of function symbol undefined
Open
fetch
spec-compliance
wpt-conformance
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
```ts
function func() { }
let symb = Symbol("test");
let undef = undefined
let r1 = Response.json(symb); // should throw here
let r2 = Response.json(func); // should throw here
let r3 = Response.json(undef); // should throw here
```
currently these don't throw. read more: https://github.com/oven-sh/bun/issues/21257
Contributor guide
Assessment
This issue has not been assessed yet.