OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | 4 <script> |
5 function log(message) | 5 function log(message) |
6 { | 6 { |
7 document.getElementById('console').appendChild(document.createTextNode(messa
ge + "\n")); | 7 document.getElementById('console').appendChild(document.createTextNode(messa
ge + "\n")); |
8 } | 8 } |
9 | 9 |
10 function test() | 10 function test() |
11 { | 11 { |
12 log("Test that createBlobURL with no argument should not cause crash."); | 12 log("Test that createBlobURL with no argument should not cause crash."); |
13 var url = createBlobURL(); | 13 var url = createBlobURL(); |
14 log(url == undefined ? "PASS" : "FAIL"); | 14 log(url == undefined ? "PASS" : "FAIL"); |
15 | 15 |
16 log("DONE"); | 16 log("DONE"); |
17 } | 17 } |
18 | 18 |
19 if (window.layoutTestController) | 19 if (window.layoutTestController) |
20 layoutTestController.dumpAsText(); | 20 layoutTestController.dumpAsText(); |
21 </script> | 21 </script> |
22 </head> | 22 </head> |
23 <body onload="test()"> | 23 <body onload="test()"> |
24 <pre id='console'></pre> | 24 <pre id='console'></pre> |
25 </body> | 25 </body> |
26 </html> | 26 </html> |
27 | 27 |
OLD | NEW |