| OLD | NEW |
| 1 description("This tests webkitStorageInfo methods do not crash when they are not
given optional callbacks parameters."); | 1 description("This tests webkitStorageInfo methods do not crash when they are not
given optional callbacks parameters."); |
| 2 | 2 |
| 3 var testFinished = false; | 3 var testFinished = false; |
| 4 var numberOfExpectedCallbacks = 0; | 4 var numberOfExpectedCallbacks = 0; |
| 5 | 5 |
| 6 function callback() | 6 function callback() |
| 7 { | 7 { |
| 8 testPassed("storageInfo callback called."); | 8 testPassed("storageInfo callback called."); |
| 9 --numberOfExpectedCallbacks; | 9 --numberOfExpectedCallbacks; |
| 10 checkCompleted(); | 10 checkCompleted(); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 callStorageInfoMethodsWithFewerParameters(10); | 42 callStorageInfoMethodsWithFewerParameters(10); |
| 43 | 43 |
| 44 testFinished = true; | 44 testFinished = true; |
| 45 checkCompleted(); | 45 checkCompleted(); |
| 46 | 46 |
| 47 } else | 47 } else |
| 48 debug("This test requires window.webkitStorageInfo."); | 48 debug("This test requires window.webkitStorageInfo."); |
| 49 | 49 |
| 50 window.successfullyParsed = true; | 50 window.successfullyParsed = true; |
| 51 | 51 |
| OLD | NEW |