Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <meta charset="utf-8"> | |
| 3 <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.
| |
| 4 <body></body> | |
| 5 <script> | |
| 6 fetch('body-stream-with-invalid-chunk').then(resp => { | |
| 7 const reader = resp.body.getReader(); | |
| 8 return reader.read().then( | |
| 9 () => parent.done('FAIL: read() should be rejected'), | |
| 10 () => parent.done('Pass')); | |
|
tyoshino (SeeGerritForStatus)
2016/07/13 06:09:35
PASS?
yhirano
2016/07/13 10:35:56
Done.
| |
| 11 }).catch(e => parent.done('FAIL: ' + e)); | |
| 12 </script> | |
| OLD | NEW |