| Index: LayoutTests/storage/quota/durability.html
 | 
| diff --git a/LayoutTests/storage/quota/durability.html b/LayoutTests/storage/quota/durability.html
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..8a21396257676d6204507cdb5267e4bad76a9970
 | 
| --- /dev/null
 | 
| +++ b/LayoutTests/storage/quota/durability.html
 | 
| @@ -0,0 +1,33 @@
 | 
| +<html>
 | 
| +<head>
 | 
| +<script src="../../resources/js-test.js"></script>
 | 
| +</head>
 | 
| +<body>
 | 
| +<script type="text/javascript">
 | 
| +description("This tests durability.");
 | 
| +
 | 
| +var usage;
 | 
| +var grantedQuota;
 | 
| +
 | 
| +function onrejected(error) {
 | 
| +    testFailed(error.name + ": " + error.message);
 | 
| +    finishJSTest();
 | 
| +}
 | 
| +
 | 
| +function runTest() {
 | 
| +    debug("calling requestDurability");
 | 
| +    navigator.storageQuota.requestDurability().then(function(storageInfo) {
 | 
| +      testPassed("then got called");
 | 
| +      finishJSTest();
 | 
| +    }, onrejected);
 | 
| +}
 | 
| +
 | 
| +if (navigator.storageQuota) {
 | 
| +    window.jsTestIsAsync = true;
 | 
| +    runTest();
 | 
| +} else {
 | 
| +    testFailed("This test requires navigator.storageQuota.");
 | 
| +}
 | 
| +</script>
 | 
| +</body>
 | 
| +</html>
 | 
| 
 |