# HG changeset patch # User Agi Sferro # Date 1602608252 0 # Tue Oct 13 16:57:32 2020 +0000 # Node ID 1aa2dc4b280e4ac1d5d5742e1923d5d39c04c102 # Parent 943130e5f28ed6ee3e6b8bbf0f9c9f60fb5a7053 Bug 1667179 - Initialize OneCRL when GeckoView starts. r=snorp,jcj Differential Revision: https://phabricator.services.mozilla.com/D93250 diff -r 943130e5f28e -r 1aa2dc4b280e mobile/android/chrome/geckoview/geckoview.js --- a/mobile/android/chrome/geckoview/geckoview.js Tue Oct 13 16:59:30 2020 +0000 +++ b/mobile/android/chrome/geckoview/geckoview.js Tue Oct 13 16:57:32 2020 +0000 @@ -18,6 +18,8 @@ GeckoViewSettings: "resource://gre/modules/GeckoViewSettings.jsm", GeckoViewUtils: "resource://gre/modules/GeckoViewUtils.jsm", HistogramStopwatch: "resource://gre/modules/GeckoViewTelemetry.jsm", + RemoteSecuritySettings: + "resource://gre/modules/psm/RemoteSecuritySettings.jsm", }); XPCOMUtils.defineLazyGetter(this, "WindowEventDispatcher", () => @@ -610,6 +612,10 @@ Services.obs.notifyObservers(window, "extensions-late-startup"); }); + InitLater(() => { + RemoteSecuritySettings.init(); + }); + // This should always go last, since the idle tasks (except for the ones with // timeouts) should execute in order. Note that this observer notification is // not guaranteed to fire, since the window could close before we get here.