Repo metadata and code to match dataleak -> jestr rename
This commit is contained in:
Родитель
45edb67dbb
Коммит
ff83e7d1c1
|
@ -1,4 +1,4 @@
|
|||
# Dataleak Pioneer Shield Study
|
||||
# JESTr Pioneer Shield Study
|
||||
|
||||
[![CircleCI badge](https://img.shields.io/circleci/project/github/motin/jestr-pioneer-shield-study/master.svg?label=CircleCI)](https://circleci.com/gh/motin/jestr-pioneer-shield-study/)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/motin/jestr-pioneer-shield-study/badge.svg)](https://coveralls.io/github/motin/jestr-pioneer-shield-study)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import idb from "idb";
|
||||
|
||||
const dbName = "dataleakPioneerShieldStudy";
|
||||
const dbName = "jestrPioneerShieldStudy";
|
||||
|
||||
let db;
|
||||
|
||||
|
@ -10,7 +10,7 @@ export async function initDb() {
|
|||
upgradeDB.createObjectStore("studyLog", {
|
||||
autoIncrement: true,
|
||||
});
|
||||
upgradeDB.createObjectStore("dataLeaks", {
|
||||
upgradeDB.createObjectStore("navigations", {
|
||||
autoIncrement: true,
|
||||
});
|
||||
});
|
||||
|
@ -37,8 +37,8 @@ export async function dumpDbContents() {
|
|||
|
||||
const studyLogDbContents = await getAllData("studyLog");
|
||||
console.log("studyLogDbContents", studyLogDbContents);
|
||||
const dataLeaksDbContents = await getAllData("dataLeaks");
|
||||
console.log("dataLeaksDbContents", dataLeaksDbContents);
|
||||
const navigationsDbContents = await getAllData("navigations");
|
||||
console.log("navigationsDbContents", navigationsDbContents);
|
||||
|
||||
console.log("=========================");
|
||||
console.log("Dumping Database Contents - Done");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "jestr-pioneer-shield-study",
|
||||
"description": "Data Leak Pioneer Shield Study",
|
||||
"description": "JESTr Pioneer Shield Study",
|
||||
"version": "0.3.0",
|
||||
"author": "Fredrik Wollsén <fwollsen@mozilla.org>",
|
||||
"bugs": {
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"extensionName": {
|
||||
"message": "Data Leak Pioneer Shield Study",
|
||||
"message": "JESTr Pioneer Shield Study",
|
||||
"description": "Name of the extension"
|
||||
},
|
||||
"extensionDescription": {
|
||||
"message": "Data Leak Pioneer Shield Study",
|
||||
"message": "JESTr Pioneer Shield Study",
|
||||
"description": "Description of the extension."
|
||||
},
|
||||
"buttonTitle": {
|
||||
"message":
|
||||
"Data Leak Pioneer Shield Study Debug (Click and check Browser Console)",
|
||||
"JESTr Pioneer Shield Study Debug (Click and check Browser Console)",
|
||||
"description":
|
||||
"Description shown on the toolbar when hovered. DO NOT localise 'Mozilla'."
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ function handleHidden() {
|
|||
Create a panel, and add listeners for panel show/hide events.
|
||||
*/
|
||||
browser.devtools.panels
|
||||
.create("Dataleaks", "/icons/star.png", "/devtools/panel/panel.html")
|
||||
.create("JESTr Debug", "/icons/star.png", "/devtools/panel/panel.html")
|
||||
.then(newPanel => {
|
||||
newPanel.onShown.addListener(handleShown);
|
||||
newPanel.onHidden.addListener(handleHidden);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "Data Leak Pioneer Shield Study",
|
||||
"name": "JESTr Pioneer Shield Study",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"manifest_version": 2,
|
||||
"applications": {
|
||||
"gecko": {
|
||||
|
|
|
@ -54,7 +54,7 @@ describe("ui button (browserAction)", function() {
|
|||
const text = await button.getAttribute("tooltiptext");
|
||||
return assert.equal(
|
||||
text,
|
||||
"Data Leak Pioneer Shield Study Debug (Click and check Browser Console)",
|
||||
"JESTr Pioneer Shield Study Debug (Click and check Browser Console)",
|
||||
);
|
||||
});
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче