Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info.html

Issue 2585563002: Quota: StorageInfo should be a dictionary (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/storage/quota/storagequota-query-info-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698