function testAlphaEnabled(testId, setOption, setValue, expectedValue) {
  var createOptions = { frame: 'none' };
  if (setOption)
    createOptions.alphaEnabled = setValue;

  chrome.app.window.create('index.html',
                           createOptions,
                           chrome.test.callbackPass(function(win) {
      chrome.test.assertEq(expectedValue, win.alphaEnabled());
  }));
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function testAlphaEnabled(testId, setOption, setValue, expectedValue) {
  var createOptions = { frame: 'none' };
  if (setOption)
    createOptions.alphaEnabled = setValue;
  chrome.app.window.create('index.html',
                           createOptions,
                           chrome.test.callbackPass(function(win) {
      chrome.test.assertEq(expectedValue, win.alphaEnabled());
  }));
}
function testAlphaEnabled ( testId , setOption , setValue , expectedValue ) { var createOptions = { frame : 'none' } ; if ( setOption ) createOptions . alphaEnabled = setValue ; chrome . app . window . create ( 'index.html' , createOptions , chrome . test . callbackPass ( function ( win ) { chrome . test . assertEq ( expectedValue , win . alphaEnabled ( ) ) ; } ) ) ; }
found in the LICENSE file.
found in the LICENSE file .