<!DOCTYPE html>
<html><head>
	<meta charset="UTF-8">
	<title>  setData and clipboardData.items   - cut event on document</title>
	<script src="_lib.js"></script>
	<script>
	
/** setData and clipboardData.items  */
/* Events: copy cut */

function test(e){
	e.clipboardData.setData('text/plain', 'modified text');
	var passed = e.clipboardData.items && e.clipboardData.items.length === 1;
	passed = passed && e.clipboardData.items[0].kind=='string' &&  e.clipboardData.items[0].type=='text/plain';
	return passed;
}

	</script>
</head>
<body>

	<p>FAILED (This TC requires JavaScript enabled)</p>
	

	<script>
	var dataToPaste="";
	var externalPassCondition=null;
	var eventTarget=document;
	var eventType='cut';
	window.onload=function(){
		setupTest( document, 'cut', dataToPaste, externalPassCondition );
	}
	</script>
</body></html>
