| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../js/resources/js-test-pre.js"></script> | 2 <script src="../../js/resources/js-test-pre.js"></script> |
| 3 <script> | 3 <script> |
| 4 window.jsTestIsAsync = true; | 4 window.jsTestIsAsync = true; |
| 5 var mutations; | 5 var mutations; |
| 6 | 6 |
| 7 function testFilesystem() { | 7 function testFilesystem() { |
| 8 var div; | 8 var div; |
| 9 var fileEntry; | 9 var fileEntry; |
| 10 var observer; | 10 var observer; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 observer.disconnect(); | 49 observer.disconnect(); |
| 50 debug(''); | 50 debug(''); |
| 51 finishJSTest(); | 51 finishJSTest(); |
| 52 } | 52 } |
| 53 | 53 |
| 54 start(); | 54 start(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 description('Test that Mutation Records are delivered following FileSystem callb
acks.'); | 57 description('Test that Mutation Records are delivered following FileSystem callb
acks.'); |
| 58 | 58 |
| 59 if (!window.webkitRequestFileSystem) { | 59 testFilesystem(); |
| 60 testFailed('This test requires ENABLE(FILE_SYSTEM)'); | |
| 61 finishJSTest(); | |
| 62 } else | |
| 63 testFilesystem(); | |
| 64 </script> | 60 </script> |
| 65 <script src="../../js/resources/js-test-post.js"></script> | 61 <script src="../../js/resources/js-test-post.js"></script> |
| OLD | NEW |