summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/pageinfo/permissions.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-11 07:18:32 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-11 07:18:32 +0200
commit9a381d423f448a106422f012e744bceb396ea7ed (patch)
treeef4820a2b5fa39464912ab323ce6ec6d767db984 /application/palemoon/base/content/pageinfo/permissions.js
parente341862cac8414b6a5e921a877301c6246d2d6c0 (diff)
downloadUXP-9a381d423f448a106422f012e744bceb396ea7ed.tar
UXP-9a381d423f448a106422f012e744bceb396ea7ed.tar.gz
UXP-9a381d423f448a106422f012e744bceb396ea7ed.tar.lz
UXP-9a381d423f448a106422f012e744bceb396ea7ed.tar.xz
UXP-9a381d423f448a106422f012e744bceb396ea7ed.zip
[PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
Issue #112 Issue #57
Diffstat (limited to 'application/palemoon/base/content/pageinfo/permissions.js')
-rw-r--r--application/palemoon/base/content/pageinfo/permissions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/palemoon/base/content/pageinfo/permissions.js b/application/palemoon/base/content/pageinfo/permissions.js
index a152dcde1..2fa0cc303 100644
--- a/application/palemoon/base/content/pageinfo/permissions.js
+++ b/application/palemoon/base/content/pageinfo/permissions.js
@@ -264,7 +264,7 @@ function onIndexedDBUsageCallback(request)
{
let uri = request.principal.URI;
if (!uri.equals(gPermURI)) {
- throw new Error("Callback received for bad URI: " + uri);
+ throw new Error("Callback received for bad URI: " + uri.spec);
}
let usage = request.result.usage;