Skip to content

Commit

Permalink
Fetch: remove now-incorrect no-cors, non-empty integrity error test
Browse files Browse the repository at this point in the history
Since whatwg/fetch#584 was merged, no-cors, same-origin requests with
non-empty integrity values no longer throw a TypeError.
  • Loading branch information
Raphael Kubo da Costa authored and jakearchibald committed Nov 16, 2017
1 parent bb8bdf2 commit f5648ba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fetch/api/request/request-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ const badRequestArgTests = [
args: ["", { "mode": "no-cors", "method": "PUT" }],
testName: "RequestInit's mode is no-cors and method is not simple"
},
{
args: ["", { "mode": "no-cors", "integrity": "not an empty string" }],
testName: "RequestInit's mode is no-cors and integrity is not empty"
},
{
args: ["", { "mode": "cors", "cache": "only-if-cached" }],
testName: "RequestInit's cache mode is only-if-cached and mode is not same-origin"
Expand Down

0 comments on commit f5648ba

Please sign in to comment.