Index: third_party/WebKit/LayoutTests/storage/quota/storagequota-request-persistent-quota.html |
diff --git a/third_party/WebKit/LayoutTests/storage/quota/storagequota-request-persistent-quota.html b/third_party/WebKit/LayoutTests/storage/quota/storagequota-request-persistent-quota.html |
index 942b349e866b9903b5046da5092d540917fbf55e..5b6453be9df0e9bb71f84eea8332e18cb66956a7 100644 |
--- a/third_party/WebKit/LayoutTests/storage/quota/storagequota-request-persistent-quota.html |
+++ b/third_party/WebKit/LayoutTests/storage/quota/storagequota-request-persistent-quota.html |
@@ -6,6 +6,7 @@ |
<script type="text/javascript"> |
description("This tests navigator.storageQuota.requestPersistentQuota."); |
+var info; |
var usage; |
var grantedQuota; |
@@ -19,6 +20,10 @@ function onrejected(error) { |
function runRequestQuotaTest() { |
debug("* Requesting persistent quota."); |
navigator.storageQuota.requestPersistentQuota(1024).then(function(storageInfo) { |
+ |
+ info = storageInfo; |
+ shouldBe("info.__proto__", "Object.prototype"); |
+ |
usage = storageInfo.usage; |
grantedQuota = storageInfo.quota; |
@@ -42,6 +47,9 @@ function runRequestQuotaWithMisingArgumentTest() { |
function runRequestQuotaWithNegativeValueTest() { |
debug("* Requesting persistent quota with negative value."); |
navigator.storageQuota.requestPersistentQuota(-1024).then(function(storageInfo) { |
+ info = storageInfo; |
+ shouldBe("info.__proto__", "Object.prototype"); |
+ |
usage = storageInfo.usage; |
grantedQuota = storageInfo.quota; |