Bug 1276339: Storage inspector doesn't work on chrome:// pages and web extensions

Issue #31
This commit is contained in:
janekptacijarabaci 2018-03-02 14:33:20 +01:00 committed by Roy Tam
commit d0ef0781ff
18 changed files with 361 additions and 129 deletions

View file

@ -121,24 +121,24 @@ const storeMap = {
const IDBValues = {
listStoresResponse: {
"http://test1.example.org": [
["idb1", "obj1"], ["idb1", "obj2"], ["idb2", "obj3"]
["idb1 (default)", "obj1"], ["idb1 (default)", "obj2"], ["idb2 (default)", "obj3"]
],
"http://sectest1.example.org": [
],
"https://sectest1.example.org": [
["idb-s1", "obj-s1"], ["idb-s2", "obj-s2"]
["idb-s1 (default)", "obj-s1"], ["idb-s2 (default)", "obj-s2"]
]
},
dbDetails : {
dbDetails: {
"http://test1.example.org": [
{
db: "idb1",
db: "idb1 (default)",
origin: "http://test1.example.org",
version: 1,
objectStores: 2
},
{
db: "idb2",
db: "idb2 (default)",
origin: "http://test1.example.org",
version: 1,
objectStores: 1
@ -148,13 +148,13 @@ const IDBValues = {
],
"https://sectest1.example.org": [
{
db: "idb-s1",
db: "idb-s1 (default)",
origin: "https://sectest1.example.org",
version: 1,
objectStores: 1
},
{
db: "idb-s2",
db: "idb-s2 (default)",
origin: "https://sectest1.example.org",
version: 1,
objectStores: 1
@ -163,7 +163,7 @@ const IDBValues = {
},
objectStoreDetails: {
"http://test1.example.org": {
idb1: [
"idb1 (default)": [
{
objectStore: "obj1",
keyPath: "id",
@ -190,7 +190,7 @@ const IDBValues = {
indexes: []
}
],
idb2: [
"idb2 (default)": [
{
objectStore: "obj3",
keyPath: "id3",
@ -208,7 +208,7 @@ const IDBValues = {
},
"http://sectest1.example.org" : {},
"https://sectest1.example.org": {
"idb-s1": [
"idb-s1 (default)": [
{
objectStore: "obj-s1",
keyPath: "id",
@ -216,7 +216,7 @@ const IDBValues = {
indexes: []
},
],
"idb-s2": [
"idb-s2 (default)": [
{
objectStore: "obj-s2",
keyPath: "id3",
@ -236,7 +236,7 @@ const IDBValues = {
},
entries: {
"http://test1.example.org": {
"idb1#obj1": [
"idb1 (default)#obj1": [
{
name: 1,
value: {
@ -262,7 +262,7 @@ const IDBValues = {
}
}
],
"idb1#obj2": [
"idb1 (default)#obj2": [
{
name: 1,
value: {
@ -273,11 +273,11 @@ const IDBValues = {
}
}
],
"idb2#obj3": []
"idb2 (default)#obj3": []
},
"http://sectest1.example.org" : {},
"https://sectest1.example.org": {
"idb-s1#obj-s1": [
"idb-s1 (default)#obj-s1": [
{
name: 6,
value: {
@ -295,7 +295,7 @@ const IDBValues = {
}
}
],
"idb-s2#obj-s2": [
"idb-s2 (default)#obj-s2": [
{
name: 13,
value: {