summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNew Tobin Paradigm <email@mattatobin.com>2018-04-11 02:29:33 -0400
committerGitHub <noreply@github.com>2018-04-11 02:29:33 -0400
commit55c72875536b9250d354f14a8bac50755151d01c (patch)
treec41e44be90d73a6b47754be3d7154a7839792df1
parentbe3bf22737e36fe8fdde7b6efc6e534efe17848a (diff)
parent9a381d423f448a106422f012e744bceb396ea7ed (diff)
downloadUXP-55c72875536b9250d354f14a8bac50755151d01c.tar
UXP-55c72875536b9250d354f14a8bac50755151d01c.tar.gz
UXP-55c72875536b9250d354f14a8bac50755151d01c.tar.lz
UXP-55c72875536b9250d354f14a8bac50755151d01c.tar.xz
UXP-55c72875536b9250d354f14a8bac50755151d01c.zip
Merge pull request #116 from janekptacijarabaci/pm_pageinfo_permissions_error_uri_1
[PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error
-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;