|
Lines 91-96
a/LayoutTests/imported/w3c/web-platform-tests/fetch/api/request/request-consume.html_sec1
|
| 91 |
checkBlobResponseBody(blob, textData, "text", checkBodyText); |
91 |
checkBlobResponseBody(blob, textData, "text", checkBodyText); |
| 92 |
checkBlobResponseBody(blob, textData, "json", checkBodyJSON); |
92 |
checkBlobResponseBody(blob, textData, "json", checkBodyJSON); |
| 93 |
checkBlobResponseBody(blob, textData, "arrayBuffer", checkBodyArrayBuffer); |
93 |
checkBlobResponseBody(blob, textData, "arrayBuffer", checkBodyArrayBuffer); |
|
|
94 |
checkBlobResponseBody(new Blob([""]), "", "blob (empty blob as input)", checkBodyBlob); |
| 94 |
|
95 |
|
| 95 |
var goodJSONValues = ["null", "1", "true", "\"string\""]; |
96 |
var goodJSONValues = ["null", "1", "true", "\"string\""]; |
| 96 |
goodJSONValues.forEach(function(value) { |
97 |
goodJSONValues.forEach(function(value) { |