| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../fast/js/resources/js-test-pre.js"></script> | 3 <script src="../fast/js/resources/js-test-pre.js"></script> |
| 4 </head> | 4 </head> |
| 5 <body> | 5 <body> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 description("This tests requesting a quota using Quota API."); | 8 description("This tests requesting a quota using Quota API."); |
| 9 | 9 |
| 10 function errorCallback(error) | 10 function errorCallback(error) |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 if (navigator.webkitTemporaryStorage) { | 27 if (navigator.webkitTemporaryStorage) { |
| 28 window.jsTestIsAsync = true; | 28 window.jsTestIsAsync = true; |
| 29 | 29 |
| 30 // Requesting '0' quota for testing (this request must be almost always gran
ted without showing any platform specific notification UI). | 30 // Requesting '0' quota for testing (this request must be almost always gran
ted without showing any platform specific notification UI). |
| 31 navigator.webkitTemporaryStorage.requestQuota(0, quotaCallback, errorCallbac
k); | 31 navigator.webkitTemporaryStorage.requestQuota(0, quotaCallback, errorCallbac
k); |
| 32 } | 32 } |
| 33 | 33 |
| 34 window.successfullyParsed = true; | 34 window.successfullyParsed = true; |
| 35 | 35 |
| 36 </script> | 36 </script> |
| 37 <script src="../fast/js/resources/js-test-post.js"></script> | |
| 38 </body> | 37 </body> |
| 39 </html> | 38 </html> |
| OLD | NEW |