| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset=utf-8> | 2 <meta charset=utf-8> |
| 3 <title>Blob slice</title> | 3 <title>Blob slice</title> |
| 4 <link rel=help href="https://w3c.github.io/FileAPI/#slice-method-algo"> | 4 <link rel=help href="https://w3c.github.io/FileAPI/#slice-method-algo"> |
| 5 <link rel=author title="Saurabh Anand" href="mailto:saurabhanandiit@gmail.com"> | 5 <link rel=author title="Saurabh Anand" href="mailto:saurabhanandiit@gmail.com"> |
| 6 <script src="../../../../resources/testharness.js"></script> | 6 <script src="../../../../resources/testharness.js"></script> |
| 7 <script src="../../../../resources/testharnessreport.js"></script> | 7 <script src="../../../../resources/testharnessreport.js"></script> |
| 8 <script src="../support/Blob.js"></script> | 8 <script src="../support/Blob.js"></script> |
| 9 <div id="log"></div> | 9 <div id="log"></div> |
| 10 <script> | 10 <script> |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 test_blob(function() { | 205 test_blob(function() { |
| 206 var blob = new Blob(["PASS"]); | 206 var blob = new Blob(["PASS"]); |
| 207 return blob.slice(0, 4, type); | 207 return blob.slice(0, 4, type); |
| 208 }, { | 208 }, { |
| 209 expected: "PASS", | 209 expected: "PASS", |
| 210 type: type.toLowerCase(), | 210 type: type.toLowerCase(), |
| 211 desc: "Valid contentType (" + format_value(type) + ")" | 211 desc: "Valid contentType (" + format_value(type) + ")" |
| 212 }); | 212 }); |
| 213 }); | 213 }); |
| 214 </script> | 214 </script> |
| OLD | NEW |