From 4b3d6716ff767eb8841e0a7b184f93a150b2912c Mon Sep 17 00:00:00 2001 From: Deathamns Date: Tue, 27 Jan 2015 13:31:17 +0100 Subject: [PATCH] Firefox: remove evalInSandbox Probably we won't eval plain text code, which makes it unnecessary, also this way the validator on AMO won't complain about it. --- platform/firefox/vapi-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-client.js b/platform/firefox/vapi-client.js index d11a84f..58bb110 100644 --- a/platform/firefox/vapi-client.js +++ b/platform/firefox/vapi-client.js @@ -96,7 +96,7 @@ vAPI.messaging = { return; } - self.injectScript(details.file || details.code, !details.file); + self.injectScript(details.file); } }; },