function testDomCopy() {
  if (document.execCommand('copy'))
    chrome.test.succeed();
  else
    chrome.test.fail('execCommand("copy") failed');
}
// TODO(kalman): Consolidate this test script with the other clipboard tests.
Consolidate this test script with the other clipboard tests.
Consolidate this test script with the other clipboard tests .
function testDomCopy() {
  if (document.execCommand('copy'))
    chrome.test.succeed();
  else
    chrome.test.fail('execCommand("copy") failed');
}
function testDomCopy ( ) { if ( document . execCommand ( 'copy' ) ) chrome . test . succeed ( ) ; else chrome . test . fail ( 'execCommand("copy") failed' ) ; }
TODO(kalman): Consolidate this test script with the other clipboard tests.
TODO ( kalman ) : Consolidate this test script with the other clipboard tests .