From 9a381d423f448a106422f012e744bceb396ea7ed Mon Sep 17 00:00:00 2001 From: janekptacijarabaci Date: Wed, 11 Apr 2018 07:18:32 +0200 Subject: [PALEMOON] "Page Info" - "Permissions" - use uri.spec instead of uri in a new Error Issue #112 Issue #57 --- application/palemoon/base/content/pageinfo/permissions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/palemoon/base/content/pageinfo') 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; -- cgit v1.2.3