message in error console during startup #226

Closed
opened 9 months ago by m-i-k-e-y · 1 comments

Thanks for this great addons.

I just found the following message in the error console right after starting Firefox (84.0.1 on Win 10 x64, latest version ov LocalCDN 2.5.13):

can't convert undefined to object main.js:37
_initializeSettings moz-extension://aa8cec2b-a9e6-4745-9dce-a553f9d9acae/core/main.js:37
apply self-hosted:2644
applySafeWithoutClone resource://gre/modules/ExtensionCommon.jsm:616
applySafe resource://gre/modules/ExtensionCommon.jsm:599
applySafe self-hosted:1161
wrapPromise resource://gre/modules/ExtensionCommon.jsm:829

This is the code causing the error:

    if (items.allowlistedDomains === 'undefined' || Object.keys(items.allowlistedDomains).length === 0) {

If the first part is TRUE then the second will generate the error found in the console.

Thanks for this great addons. I just found the following message in the error console right after starting Firefox (84.0.1 on Win 10 x64, latest version ov LocalCDN 2.5.13): > can't convert undefined to object main.js:37 > _initializeSettings moz-extension://aa8cec2b-a9e6-4745-9dce-a553f9d9acae/core/main.js:37 > apply self-hosted:2644 > applySafeWithoutClone resource://gre/modules/ExtensionCommon.jsm:616 > applySafe resource://gre/modules/ExtensionCommon.jsm:599 > applySafe self-hosted:1161 > wrapPromise resource://gre/modules/ExtensionCommon.jsm:829 This is the code causing the error: if (items.allowlistedDomains === 'undefined' || Object.keys(items.allowlistedDomains).length === 0) { If the first part is TRUE then the second will generate the error found in the console.
nobody added the
bug
label 9 months ago
nobody added this to the v2.6.0 milestone 9 months ago
Owner

Oops 😯 I have forgotten an important keyword...

Thank you very much for the hint 👍

Oops :hushed: I have forgotten an important keyword... Thank you very much for the hint 👍
nobody referenced this issue from a commit 9 months ago
nobody closed this issue 9 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.