Index: third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html |
diff --git a/third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html b/third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html |
index 983ee4d7c5446755188536b4980b8de3b8f20fae..16ef58182e0b78d4b85cf9fab6788c210163e268 100644 |
--- a/third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html |
+++ b/third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html |
@@ -6,6 +6,7 @@ |
<script type="text/javascript"> |
description("This tests navigator.storageQuota.queryInfo."); |
+var info; |
var usage; |
var quota; |
@@ -19,6 +20,9 @@ function onrejected(error) { |
function runQueryTemporaryTest() { |
debug("* Querying about temporary storage."); |
navigator.storageQuota.queryInfo("temporary").then(function(storageInfo) { |
+ info = storageInfo; |
+ shouldBe("info.__proto__", "Object.prototype"); |
+ |
usage = storageInfo.usage; |
quota = storageInfo.quota; |
@@ -33,6 +37,9 @@ function runQueryTemporaryTest() { |
function runQueryPersistentTest() { |
debug("* Querying about persistent storage."); |
navigator.storageQuota.queryInfo("persistent").then(function(storageInfo) { |
+ info = storageInfo; |
+ shouldBe("info.__proto__", "Object.prototype"); |
+ |
usage = storageInfo.usage; |
quota = storageInfo.quota; |