From af0b1b3db04cb3af31644b85cddad416f7c5a12d Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 5 Aug 2017 10:01:59 -0400 Subject: [PATCH] fix #2799 (uBO side), as per https://bugzilla.mozilla.org/show_bug.cgi?id=1383064#c4 --- platform/webext/bootstrap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/webext/bootstrap.js b/platform/webext/bootstrap.js index ebbbc0b78..3f770948e 100644 --- a/platform/webext/bootstrap.js +++ b/platform/webext/bootstrap.js @@ -29,8 +29,8 @@ const hostName = 'ublock0'; /******************************************************************************/ -function startup({ webExtension }) { - webExtension.startup().then(api => { +function startup({ webExtension }, reason) { + webExtension.startup(reason).then(api => { let { browser } = api, storageMigrator; let onMessage = function(message, sender, callback) {