From fd0320419a97743582846306ce631fdecf8ec0f8 Mon Sep 17 00:00:00 2001 From: JustOff Date: Sat, 11 Nov 2017 22:51:42 +0200 Subject: [PATCH] Add e10s warning --- bootstrap.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap.js b/bootstrap.js index 193f6ba..10183ab 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -131,6 +131,10 @@ let caaIn = function (w) { b = null; }, run : function () { + if (Services.ppmm.childCount > 1) { + Services.prompt.alert(null, "Classic Add-ons Archive", "Multi-process mode is not supported now,\nplease disable it and restart the browser."); + return; + } let isOpen = false; let winenu = Services.wm.getEnumerator("navigator:browser"); loop: while (winenu.hasMoreElements()) {