From 1ab2760b41b85d468ee29f7ec45cf6ebb89b6ec6 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Thu, 8 Dec 2016 16:35:27 -1000 Subject: [PATCH] Handle null and failure for Access-Control-Expose-Headers Fixes #433. --- fetch.bs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fetch.bs b/fetch.bs index e9485840e..f39fec672 100644 --- a/fetch.bs +++ b/fetch.bs @@ -2535,10 +2535,9 @@ with a CORS flag and recursive flag, run these steps: names in response's header list. -
  • Otherwise, if headerNames is not `*`, then set - response's - CORS-exposed header-name list - to headerNames. +

  • Otherwise, if headerNames is not null, failure, or `*`, then set + response's CORS-exposed header-name list to + headerNames.