Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <meta charset="utf-8"> | |
| 3 <title>request-body-blob-iframe</title> | |
| 4 <body></body> | |
| 5 <script> | |
| 6 // Make a big blob to force async construction. | |
| 7 var blob = new Blob(['it\'s me the blob', | |
| 8 new Float64Array(2*1024*1024), | |
| 9 'and more blob!']); | |
| 10 fetch('resources/simple.html?post-with-blob-body', | |
| 11 { method: 'POST', body: blob }) | |
| 12 .then(resp => resp.text()) | |
| 13 .then(text => { parent.done(text); }) | |
| 14 .catch(error => { parent.done(error); }); | |
| 15 </script> | |
| OLD | NEW |