summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-02 14:59:24 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-03-02 14:59:24 +0100
commit71fd51a863171d9f462d1311749de717361406a6 (patch)
treeb071df1f04808b437eb3d8dac6017b42ab7b2950 /devtools/server/tests
parent43ddb9b8c08ac148a9b03f16f45ec2cb71243f81 (diff)
downloadUXP-71fd51a863171d9f462d1311749de717361406a6.tar
UXP-71fd51a863171d9f462d1311749de717361406a6.tar.gz
UXP-71fd51a863171d9f462d1311749de717361406a6.tar.lz
UXP-71fd51a863171d9f462d1311749de717361406a6.tar.xz
UXP-71fd51a863171d9f462d1311749de717361406a6.zip
Bug 1320362: Move indexedDb storage type in the storage inspector into a new column
Issue #31
Diffstat (limited to 'devtools/server/tests')
-rw-r--r--devtools/server/tests/browser/browser_storage_listings.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/devtools/server/tests/browser/browser_storage_listings.js b/devtools/server/tests/browser/browser_storage_listings.js
index 15e5ccd50..e47a320b8 100644
--- a/devtools/server/tests/browser/browser_storage_listings.js
+++ b/devtools/server/tests/browser/browser_storage_listings.js
@@ -470,17 +470,17 @@ var testIndexedDBs = Task.async(function* (index, hosts, indexedDBActor) {
for (let item of data.data) {
let found = false;
for (let toMatch of IDBValues.dbDetails[host]) {
- if (item.db == toMatch.db) {
+ if (item.uniqueKey == toMatch.db) {
found = true;
- ok(true, "Found indexed db " + item.db + " in response");
+ ok(true, "Found indexed db " + item.uniqueKey + " in response");
is(item.origin, toMatch.origin, "The origin matches.");
is(item.version, toMatch.version, "The version matches.");
is(item.objectStores, toMatch.objectStores,
- "The numebr of object stores matches.");
+ "The number of object stores matches.");
break;
}
}
- ok(found, "indexed db " + item.name + " should exist in response");
+ ok(found, "indexed db " + item.uniqueKey + " should exist in response");
}
};