Browse Source

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.
pull/2/head
Deathamns 10 years ago
committed by gorhill
parent
commit
97ae38c584
  1. 6
      platform/firefox/vapi-background.js

6
platform/firefox/vapi-background.js

@ -610,11 +610,11 @@ vAPI.tabs.injectScript = function(tabId, details, callback) {
return;
}
if ( details.file ) {
details.file = vAPI.getURL(details.file);
if ( typeof details.file !== 'string' ) {
return;
}
details.file = vAPI.getURL(details.file);
tab.linkedBrowser.messageManager.sendAsyncMessage(
location.host + ':broadcast',
JSON.stringify({

Loading…
Cancel
Save