sailfishos / sailfish-browser

Sailfish Browser

Home Page:https://github.com/sailfishos/sailfish-browser/wiki/Sailfish-Browser-wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix JavaScript errors from EmbedLiteChromeManager.js

rainemak opened this issue · comments

Fix JavaScript errors from EmbedLiteChromeManager.js.

JavaScript error: file:///usr/lib64/mozembedlite/components/EmbedLiteChromeManager.js, line 213: NS_ERROR_FILE_NOT_FOUND:

Upstream changes mean the AboutCertViewerHandler service is now an actor-based RPM comprised of AboutCertViewerChild.jsm and AboutCertViewerParent.jsm to replace the previous AboutCertViewerHandler.jsm.

As a result of this it apparently doesn't require either init() or uninit() to be called (they've both been removed). See Bug 1646197 and the related changeset D80017.

I couldn't see anywhere else in the EmbedLite code where the service is used, so hopefully any other changes needed will already be part of the upstream gecko-dev changes.

As a result I've reverted embedlite-components commit b1510a7a which looks to be no longer necessary.

See commit b3a105be.