Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b42872624249b0284db3b8d722ffa4cb90a2c094 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/respond-with-response-body-with-invalid-chunk-iframe.html |
| @@ -0,0 +1,12 @@ |
| +<!DOCTYPE html> |
| +<meta charset="utf-8"> |
| +<title>respond-with-response-stream-with-invalid-chunk</title> |
|
tyoshino (SeeGerritForStatus)
2016/07/13 06:09:35
stream -> body?
or use stream for there and the f
yhirano
2016/07/13 10:35:56
Done.
|
| +<body></body> |
| +<script> |
| +fetch('body-stream-with-invalid-chunk').then(resp => { |
| + const reader = resp.body.getReader(); |
| + return reader.read().then( |
| + () => parent.done('FAIL: read() should be rejected'), |
| + () => parent.done('Pass')); |
|
tyoshino (SeeGerritForStatus)
2016/07/13 06:09:35
PASS?
yhirano
2016/07/13 10:35:56
Done.
|
| + }).catch(e => parent.done('FAIL: ' + e)); |
| +</script> |