From 1de1db3c29d11f49e130d44db359d1187f6c24a0 Mon Sep 17 00:00:00 2001 From: hackademix Date: Tue, 21 Aug 2018 23:54:04 +0200 Subject: Fixed possible surprises in background script message handling. --- src/content/PlaceHolder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content/PlaceHolder.js') diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index d8c422b..764b7bc 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -117,7 +117,7 @@ var PlaceHolder = (() => { async enable(replacement) { debug("Enabling %o", this.request, this.policyType); let ok = await browser.runtime.sendMessage({ - type: "enable", + action: "enable", url: this.request.url, policyType: this.policyType, documentUrl: document.URL -- cgit v1.2.3