WICG / turtledove

TURTLEDOVE
https://wicg.github.io/turtledove/
Other
538 stars 237 forks source link

Spec: split up response validation into two stages, and fix a bug in it #1175

Closed morlovich closed 5 months ago

morlovich commented 6 months ago

We will need to do checking in two stages for script bodies to get the proper cross-site seller signals behavior.

While at it, make sure we actually check that the response is a 2xx; we are not supposed to be trying to use error pages. Also fix the charset check, we accept very few.

Make the WASM path go through this, too, so it actually checks its mimetype, and gets the status check as well.


Preview | Diff

morlovich commented 5 months ago

Ping @qingxinwu?