From cb0d8ad9802940b5b3c7bacc100db2c2dd5bf158 Mon Sep 17 00:00:00 2001 From: Alexander Petros Date: Sun, 10 Nov 2024 23:18:05 -0500 Subject: [PATCH] Allow HTTP scheme fetches to make CORS preflight This allows navigations to make CORS preflight requests, if the navigation contains a request that is not safelisted. Navigation does not (yet) provide APIs for non-safelisted requests; this update to the fetch spec is a prerequisite for HTML spec changes that might add those APIs (i.e. PUT method support in forms). --- fetch.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch.bs b/fetch.bs index 6558d941..b4caf303 100644 --- a/fetch.bs +++ b/fetch.bs @@ -5106,7 +5106,7 @@ steps:

When in doubt, return a network error.

HTTP(S) scheme -

Return the result of running HTTP fetch given fetchParams. +

Return the result of running HTTP fetch given fetchParams and true if request's mode is navigate, and false otherwise.

  • Return a network error.