diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-02 14:59:24 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-02 14:59:24 +0100 |
commit | 71fd51a863171d9f462d1311749de717361406a6 (patch) | |
tree | b071df1f04808b437eb3d8dac6017b42ab7b2950 /devtools/server/actors | |
parent | 43ddb9b8c08ac148a9b03f16f45ec2cb71243f81 (diff) | |
download | UXP-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/actors')
-rw-r--r-- | devtools/server/actors/storage.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/devtools/server/actors/storage.js b/devtools/server/actors/storage.js index 22f4eaabe..f4fbbd8c3 100644 --- a/devtools/server/actors/storage.js +++ b/devtools/server/actors/storage.js @@ -1463,7 +1463,9 @@ DatabaseMetadata.prototype = { toObject() { return { - name: `${this._name} (${this.storage})`, + uniqueKey: `${this._name}${SEPARATOR_GUID}${this.storage}`, + name: this._name, + storage: this.storage, origin: this._origin, version: this._version, objectStores: this._objectStores.size @@ -1671,7 +1673,9 @@ StorageActors.createActor({ if ("objectStores" in item) { // DB meta data return { + uniqueKey: `${item.name} (${item.storage})`, db: item.name, + storage: item.storage, origin: item.origin, version: item.version, objectStores: item.objectStores @@ -1813,7 +1817,9 @@ StorageActors.createActor({ // Detail of indexedDB for one origin default: return [ + { name: "uniqueKey", editable: false, private: true }, { name: "db", editable: false }, + { name: "storage", editable: false }, { name: "origin", editable: false }, { name: "version", editable: false }, { name: "objectStores", editable: false }, |