summaryrefslogtreecommitdiff
path: root/background
diff options
context:
space:
mode:
authorjahoti <jahoti@tilde.team>2021-07-21 00:00:00 +0000
committerWojtek Kosior <koszko@koszko.org>2021-07-26 11:09:57 +0200
commit57e4ed2b06d15747b20737bad14bcdd2d73fd8a6 (patch)
tree03219829cf07db1f5d3e695c2380384a17193c8f /background
parent081739e7dcaeed1e0655a49ebdebb02d653d9042 (diff)
downloadbrowser-extension-57e4ed2b06d15747b20737bad14bcdd2d73fd8a6.tar.gz
browser-extension-57e4ed2b06d15747b20737bad14bcdd2d73fd8a6.zip
Remove unnecessary imports of url_item and add a CSP header-parsing function
The parsing function isn't used yet; however, it will eventually be as a less destructive alternative to handling headers as indivisible units.
Diffstat (limited to 'background')
-rw-r--r--background/policy_injector.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/background/policy_injector.js b/background/policy_injector.js
index 01da094..9a994f8 100644
--- a/background/policy_injector.js
+++ b/background/policy_injector.js
@@ -16,7 +16,6 @@
* IMPORT gen_unique
* IMPORT gen_nonce
* IMPORT is_privileged_url
- * IMPORT url_item
* IMPORT url_extract_target
* IMPORT sign_policy
* IMPORT get_query_best