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 22 matching lines...) Expand all Loading... |
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 | 39 |
40 test(function() { | 40 test(function() { |
41 assert_false('createFor' in URL); | 41 assert_false('createFor' in URL); |
42 }, 'createFor method should not be supported'); | 42 }, 'createFor method should not be supported'); |
| 43 |
| 44 test(function() { |
| 45 var b = new Blob(); |
| 46 assert_false('close' in b, 'close in b'); |
| 47 assert_false('close' in Blob.prototype, 'close in Blob.prototype'); |
| 48 assert_false('isClosed' in b, 'isClosed in b'); |
| 49 assert_false('isClosed' in Blob.prototype, 'isClosed in Blob.prototype')
; |
| 50 }, 'Blob.close() should not be supported'); |
43 </script> | 51 </script> |
44 </body> | 52 </body> |
45 </html> | 53 </html> |
OLD | NEW |