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>Historical features</title> | 5 <title>Historical features</title> |
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 </head> | 8 </head> |
9 <body> | 9 <body> |
10 <div id="log"></div> | 10 <div id="log"></div> |
(...skipping 18 matching lines...) Expand all Loading... |
29 assert_false(prefixes[i]+'Slice' in Blob.prototype, "'"+prefixes[i]+
"Slice in Blob.prototype"); | 29 assert_false(prefixes[i]+'Slice' in Blob.prototype, "'"+prefixes[i]+
"Slice in Blob.prototype"); |
30 } | 30 } |
31 }, 'Blob should not support slice prefixed'); | 31 }, 'Blob should not support slice prefixed'); |
32 | 32 |
33 test(function() { | 33 test(function() { |
34 var prefixes = ['', 'O', 'Moz', 'WebKit', 'MS']; | 34 var prefixes = ['', 'O', 'Moz', 'WebKit', 'MS']; |
35 for (var i = 0; i < prefixes.length; ++i) { | 35 for (var i = 0; i < prefixes.length; ++i) { |
36 assert_false(prefixes[i]+'BlobBuilder' in window, prefixes[i]+'BlobB
uilder'); | 36 assert_false(prefixes[i]+'BlobBuilder' in window, prefixes[i]+'BlobB
uilder'); |
37 } | 37 } |
38 }, 'BlobBuilder should not be supported.'); | 38 }, 'BlobBuilder should not be supported.'); |
39 | |
40 test(function() { | |
41 var reader = new FileReader(); | |
42 assert_false('readAsBinaryString' in reader, 'should not be in reader'); | |
43 assert_equals(reader.readAsBinaryString, undefined, | |
44 'should be undefined on getting') | |
45 }, 'FileReader should not support readAsBinaryString'); | |
46 </script> | 39 </script> |
47 </body> | 40 </body> |
48 </html> | 41 </html> |
OLD | NEW |