function policyBlocksInjection() {
    createTestTab('example.com', pass(function(tab) {
        chrome.tabs.executeScript(
            tab.id, {code: 'document.title = "success"'},
            callbackFail(
                'This page cannot be scripted due to ' +
                'an ExtensionsSettings policy.'));
        }));
   }
// Make sure we can't inject a script into a policy blocked host.
Make sure we can't inject a script into a policy blocked host.
Make sure we can ' t inject a script into a policy blocked host .
function policyBlocksInjection() {
    createTestTab('example.com', pass(function(tab) {
        chrome.tabs.executeScript(
            tab.id, {code: 'document.title = "success"'},
            callbackFail(
                'This page cannot be scripted due to ' +
                'an ExtensionsSettings policy.'));
        }));
   }
function policyBlocksInjection ( ) { createTestTab ( 'example.com' , pass ( function ( tab ) { chrome . tabs . executeScript ( tab . id , { code : 'document.title = "success"' } , callbackFail ( 'This page cannot be scripted due to ' + 'an ExtensionsSettings policy.' ) ) ; } ) ) ; }
Make sure we can't inject a script into a policy blocked host.
Make sure we can ' t inject a script into a policy blocked host .