TypeError: securityInfo.certs[0] is undefined

#76 · open · 0 comments

View on GitHub ↗

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: ```text TypeError: e.certs[0] is undefined ``` ...where `e` would be the minified alias to `securityInfo` in the [`render()`](https://github.com/april/certainly-something/blob/511f5a5fefe2c328bd993a233c4332245cda8eee/src/viewer/js/render.js#L88-L111) function. The offending line is: https://github.com/april/certainly-something/blob/511f5a5fefe2c328bd993a233c4332245cda8eee/src/viewer/js/render.js#L92 This behavior probably explains the problem in Issue #72.

Comments