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.
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