OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title>FileAPI Test: filereader_readystate</title> | 5 <title>FileAPI Test: filereader_readystate</title> |
6 <link rel="author" title="Intel" href="http://www.intel.com"> | 6 <link rel="author" title="Intel" href="http://www.intel.com"> |
7 <link rel="help" href="http://dev.w3.org/2006/webapi/FileAPI/#blobreader-sta
te"> | 7 <link rel="help" href="http://dev.w3.org/2006/webapi/FileAPI/#blobreader-sta
te"> |
8 <script src="../../../../resources/testharness.js"></script> | 8 <script src="../../../../resources/testharness.js"></script> |
9 <script src="../../../../resources/testharnessreport.js"></script> | 9 <script src="../../../../resources/testharnessreport.js"></script> |
10 </head> | 10 </head> |
(...skipping 14 matching lines...) Expand all Loading... |
25 reader.onloadend = this.step_func(function(evt) { | 25 reader.onloadend = this.step_func(function(evt) { |
26 assert_equals(reader.readyState, reader.DONE); | 26 assert_equals(reader.readyState, reader.DONE); |
27 this.done(); | 27 this.done(); |
28 }); | 28 }); |
29 | 29 |
30 reader.readAsDataURL(blob); | 30 reader.readAsDataURL(blob); |
31 }); | 31 }); |
32 </script> | 32 </script> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |