Skip to content

Commit

Permalink
Bug 1815862 [wpt PR 38431] - WebKit export of https://bugs.webkit.org…
Browse files Browse the repository at this point in the history
…/show_bug.cgi?id=251936, a=testonly

Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=251936 (#38431)

This adds a test that Headers objects with the "request-no-cors" guard
don't accept empty header values for non-safelisted header names.
--

wpt-commits: 0598a719081c98f88e6a044718dec2cb0f7c2682
wpt-pr: 38431
  • Loading branch information
andreubotella authored and moz-wptsync-bot committed Feb 20, 2023
1 parent 36e5196 commit c762c30
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ var invalidRequestNoCorsHeaders = [
["proxya", "KO"],
["sec", "KO"],
["secb", "KO"],
["Empty-Value", ""],
];

validRequestHeaders.forEach(function(header) {
Expand Down

0 comments on commit c762c30

Please sign in to comment.