From f3725b79aed051c2a443107411346b882f7b6f22 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Tue, 4 Aug 2020 09:29:42 +0300 Subject: [PATCH] Remove excess permissions --- CHANGELOG.md | 4 ++++ app/manifest.json | 3 +-- test/e2e/webdriver/index.js | 7 ------- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8304cbbb4..0e1649dd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Current Master +## 5.1.3 Tue Aug 04 2020 + +- [#407](https://github.com/poanetwork/nifty-wallet/pull/407) - Remove excess extension permissions + ## 5.1.2 Fri Jul 10 2020 - [#400](https://github.com/poanetwork/nifty-wallet/pull/400) - (Fix) Fix RNS resolving diff --git a/app/manifest.json b/app/manifest.json index 329bc7793..9369946f3 100644 --- a/app/manifest.json +++ b/app/manifest.json @@ -1,7 +1,7 @@ { "name": "__MSG_appName__", "short_name": "__MSG_appName__", - "version": "5.1.2", + "version": "5.1.3", "manifest_version": 2, "author": "POA Network", "description": "__MSG_appDescription__", @@ -69,7 +69,6 @@ "http://localhost:8545/", "https://*.infura.io/", "activeTab", - "webRequest", "*://*.eth/", "notifications" ], diff --git a/test/e2e/webdriver/index.js b/test/e2e/webdriver/index.js index 68c2d69ea..457b240d4 100644 --- a/test/e2e/webdriver/index.js +++ b/test/e2e/webdriver/index.js @@ -47,13 +47,6 @@ async function setupFetchMocking (driver) { } return window.origFetch(...args) } - if (window.chrome && window.chrome.webRequest) { - window.chrome.webRequest.onBeforeRequest.addListener(cancelInfuraRequest, { urls: ['https://*.infura.io/*'] }, ['blocking']) - } - function cancelInfuraRequest (requestDetails) { - console.log(`fetchMocking - Canceling request: "${requestDetails.url}"`) - return { cancel: true } - } function clone (obj) { return JSON.parse(JSON.stringify(obj)) }