| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div>This verifies File.size (for a file from FileSystem API) always returns the
fresh size even after the file is modified.</div> | 7 <div>This verifies File.size (for a file from FileSystem API) always returns the
fresh size even after the file is modified.</div> |
| 8 <div id='console'></div> | 8 <div id='console'></div> |
| 9 <script> | 9 <script> |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 { | 72 { |
| 73 if (fileEntryForCleanup) { | 73 if (fileEntryForCleanup) { |
| 74 fileEntryForCleanup.remove(endTest, endTest); | 74 fileEntryForCleanup.remove(endTest, endTest); |
| 75 return; | 75 return; |
| 76 } | 76 } |
| 77 endTest(); | 77 endTest(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 function endTest() | 80 function endTest() |
| 81 { | 81 { |
| 82 if (testRunner) | 82 if (window.testRunner) |
| 83 testRunner.notifyDone(); | 83 testRunner.notifyDone(); |
| 84 } | 84 } |
| 85 | 85 |
| 86 </script> | 86 </script> |
| 87 </body> | 87 </body> |
| 88 </html> | 88 </html> |
| OLD | NEW |