Skip to content

TypeError: securityInfo.certs[0] is undefined #76

@MaffooClock

Description

@MaffooClock

When using with a site having a security exception (e.g. allowing a self-signed certificate), the page is blank. Inspecting the addon's console reveals:

TypeError: e.certs[0] is undefined

...where e would be the minified alias to securityInfo in the render() function. The offending line is:

document.title = `${securityInfo.certs[0].subject.cn} (Certainly Something)`;

This behavior probably explains the problem in Issue #72.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions